org.jesktop.frimble
Class JFrimble

java.lang.Object
  extended byorg.jesktop.frimble.JFrimble
All Implemented Interfaces:
Frimble
Direct Known Subclasses:
FrimbleDemo2

public class JFrimble
extends java.lang.Object
implements Frimble

Version:
1.0
Author:
Paul Hammant Paul_Hammant@yahoo.com

Constructor Summary
JFrimble()
          Constructor JFrimble
JFrimble(java.lang.String title)
          Constructor JFrimble
 
Method Summary
 void addFrimbleListener(FrimbleListener fl)
          Method addFrimbleListener
 void addKeyListener(java.awt.event.KeyListener l)
          Method addKeyListener
 void dispose()
          Method dispose
 java.awt.Rectangle getBounds()
          Method getBounds
 java.awt.Container getContentPane()
          Method getContentPane
 int getDefaultCloseOperation()
          Method getDefaultCloseOperation
 java.awt.Component getFocusOwner()
          Method getFocusOwner
 Frimble getFrimble()
          Method getFrimble
 java.awt.Component getFrimbleContained()
          Method getFrimbleContained
 java.awt.Component getGlassPane()
          Method getGlassPane
 int getHeight()
          Method getHeight
 javax.swing.JMenuBar getJMenuBar()
          Method getJMenuBar
 javax.swing.JLayeredPane getLayeredPane()
          Method getLayeredPane
 java.awt.Point getLocation()
          Method getLocation
 java.awt.Frame getOwnerFrame()
          Method getOwnerFrame
 java.awt.Dimension getPreferredSize()
          Method getPreferredSize
 javax.swing.JRootPane getRootPane()
          Method getRootPane
 java.awt.Dimension getSize()
          Method getSize
 java.lang.String getTitle()
          Method getTitle
 int getWidth()
          Method getWidth
 boolean isResizable()
          Method isResizable
 boolean isVisible()
          Method isVisible
 Frimble makeFrimble(FrimbleAware frimbleAwareComponent)
          Method makeFrimble
 void pack()
          Method pack
 void registerFrimbleCallback(FrimbleCallback fcb)
          Method registerFrimbleCallback
 void removeFrimbleListener(FrimbleListener fl)
          Method removeFrimbleListener
 void setBackground(java.awt.Color col)
          Method setBackground
 void setClosed(boolean b)
          Method setClosed
 void setContentPane(java.awt.Container contentPane)
          Method setContentPane
 void setDefaultCloseOperation(int operation)
          Method setDefaultCloseOperation
 void setFrameIcon(javax.swing.ImageIcon imageIcon)
          Method setFrameIcon
static void setFrimbleFactory(FrimbleFactory frimbleFactory)
          Method setFrimbleFactory
 void setGlassPane(java.awt.Component glassPane)
          Method setGlassPane
 void setIconImage(java.awt.Image image)
          Method setIconImage
 void setJMenuBar(javax.swing.JMenuBar m)
          Method setJMenuBar allows the menu bar to be set for the frimble.
 void setLayeredPane(javax.swing.JLayeredPane layeredPane)
          Method setLayeredPane
 void setLocation(int x, int y)
          Method setLocation
 void setResizable(boolean resizable)
          Method setResizable
 void setSize(java.awt.Dimension dim)
          Method setSize
 void setSize(int width, int height)
          Method setSize
 void setTitle(java.lang.String t)
          Method setTitle
 void setVisible(boolean yesOrNo)
          Method setVisible
 void show()
          Method show
 int showOpenDialog(javax.swing.JFileChooser chooser)
          Method showOpenDialog
 int showSaveDialog(javax.swing.JFileChooser chooser)
          Method showSaveDialog
 void toBack()
          Method toBack
 void toFront()
          Method toFront
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFrimble

public JFrimble()
Constructor JFrimble


JFrimble

public JFrimble(java.lang.String title)
Constructor JFrimble

Parameters:
title -
Method Detail

getFrimble

public Frimble getFrimble()
Method getFrimble

Returns:

setFrimbleFactory

public static void setFrimbleFactory(FrimbleFactory frimbleFactory)
Method setFrimbleFactory

Parameters:
frimbleFactory -

addFrimbleListener

public void addFrimbleListener(FrimbleListener fl)
Method addFrimbleListener

Specified by:
addFrimbleListener in interface Frimble
Parameters:
fl -

removeFrimbleListener

public void removeFrimbleListener(FrimbleListener fl)
Method removeFrimbleListener

Specified by:
removeFrimbleListener in interface Frimble
Parameters:
fl -

setJMenuBar

public final void setJMenuBar(javax.swing.JMenuBar m)
Description copied from interface: Frimble
Method setJMenuBar allows the menu bar to be set for the frimble.

Specified by:
setJMenuBar in interface Frimble

getJMenuBar

public final javax.swing.JMenuBar getJMenuBar()
Method getJMenuBar

Specified by:
getJMenuBar in interface Frimble
Returns:

setTitle

public final void setTitle(java.lang.String t)
Method setTitle

Specified by:
setTitle in interface Frimble
Parameters:
t -

getTitle

public final java.lang.String getTitle()
Method getTitle

Specified by:
getTitle in interface Frimble
Returns:

pack

public final void pack()
Method pack

Specified by:
pack in interface Frimble

setVisible

public final void setVisible(boolean yesOrNo)
Method setVisible

Specified by:
setVisible in interface Frimble
Parameters:
yesOrNo -

getFocusOwner

public final java.awt.Component getFocusOwner()
Method getFocusOwner

Specified by:
getFocusOwner in interface Frimble
Returns:

getGlassPane

public final java.awt.Component getGlassPane()
Method getGlassPane

Specified by:
getGlassPane in interface Frimble
Returns:

getContentPane

public final java.awt.Container getContentPane()
Method getContentPane

Specified by:
getContentPane in interface Frimble
Returns:

getLayeredPane

public final javax.swing.JLayeredPane getLayeredPane()
Method getLayeredPane

Specified by:
getLayeredPane in interface Frimble
Returns:

getRootPane

public final javax.swing.JRootPane getRootPane()
Method getRootPane

Specified by:
getRootPane in interface Frimble
Returns:

isResizable

public final boolean isResizable()
Method isResizable

Specified by:
isResizable in interface Frimble
Returns:

getDefaultCloseOperation

public final int getDefaultCloseOperation()
Method getDefaultCloseOperation

Specified by:
getDefaultCloseOperation in interface Frimble
Returns:

dispose

public final void dispose()
Method dispose

Specified by:
dispose in interface Frimble

setContentPane

public final void setContentPane(java.awt.Container contentPane)
Method setContentPane

Specified by:
setContentPane in interface Frimble
Parameters:
contentPane -

setDefaultCloseOperation

public final void setDefaultCloseOperation(int operation)
Method setDefaultCloseOperation

Specified by:
setDefaultCloseOperation in interface Frimble
Parameters:
operation -

setGlassPane

public final void setGlassPane(java.awt.Component glassPane)
Method setGlassPane

Specified by:
setGlassPane in interface Frimble
Parameters:
glassPane -

setLayeredPane

public final void setLayeredPane(javax.swing.JLayeredPane layeredPane)
Method setLayeredPane

Specified by:
setLayeredPane in interface Frimble
Parameters:
layeredPane -

setResizable

public final void setResizable(boolean resizable)
Method setResizable

Specified by:
setResizable in interface Frimble
Parameters:
resizable -

show

public final void show()
Method show

Specified by:
show in interface Frimble

toBack

public final void toBack()
Method toBack

Specified by:
toBack in interface Frimble

toFront

public final void toFront()
Method toFront

Specified by:
toFront in interface Frimble

showOpenDialog

public final int showOpenDialog(javax.swing.JFileChooser chooser)
Method showOpenDialog

Specified by:
showOpenDialog in interface Frimble
Parameters:
chooser -
Returns:

showSaveDialog

public final int showSaveDialog(javax.swing.JFileChooser chooser)
Method showSaveDialog

Specified by:
showSaveDialog in interface Frimble
Parameters:
chooser -
Returns:

setClosed

public final void setClosed(boolean b)
                     throws java.beans.PropertyVetoException
Method setClosed

Specified by:
setClosed in interface Frimble
Parameters:
b -
Throws:
java.beans.PropertyVetoException

getFrimbleContained

public final java.awt.Component getFrimbleContained()
Method getFrimbleContained

Specified by:
getFrimbleContained in interface Frimble
Returns:

getOwnerFrame

public final java.awt.Frame getOwnerFrame()
Method getOwnerFrame

Specified by:
getOwnerFrame in interface Frimble
Returns:

getSize

public final java.awt.Dimension getSize()
Method getSize

Specified by:
getSize in interface Frimble
Returns:

setSize

public final void setSize(java.awt.Dimension dim)
Method setSize

Specified by:
setSize in interface Frimble
Parameters:
dim -

setIconImage

public final void setIconImage(java.awt.Image image)
Method setIconImage

Specified by:
setIconImage in interface Frimble
Parameters:
image -

setBackground

public final void setBackground(java.awt.Color col)
Method setBackground

Specified by:
setBackground in interface Frimble
Parameters:
col -

setFrameIcon

public final void setFrameIcon(javax.swing.ImageIcon imageIcon)
Method setFrameIcon

Specified by:
setFrameIcon in interface Frimble
Parameters:
imageIcon -

makeFrimble

public final Frimble makeFrimble(FrimbleAware frimbleAwareComponent)
Method makeFrimble

Specified by:
makeFrimble in interface Frimble
Parameters:
frimbleAwareComponent -
Returns:

registerFrimbleCallback

public final void registerFrimbleCallback(FrimbleCallback fcb)
Method registerFrimbleCallback

Specified by:
registerFrimbleCallback in interface Frimble
Parameters:
fcb -

validate

public final void validate()
Method validate

Specified by:
validate in interface Frimble

getPreferredSize

public final java.awt.Dimension getPreferredSize()
Method getPreferredSize

Specified by:
getPreferredSize in interface Frimble
Returns:

getLocation

public final java.awt.Point getLocation()
Method getLocation

Specified by:
getLocation in interface Frimble
Returns:

setLocation

public final void setLocation(int x,
                              int y)
Method setLocation

Specified by:
setLocation in interface Frimble
Parameters:
x -
y -

addKeyListener

public final void addKeyListener(java.awt.event.KeyListener l)
Method addKeyListener

Specified by:
addKeyListener in interface Frimble
Parameters:
l -

getWidth

public final int getWidth()
Method getWidth

Specified by:
getWidth in interface Frimble
Returns:

getHeight

public final int getHeight()
Method getHeight

Specified by:
getHeight in interface Frimble
Returns:

getBounds

public final java.awt.Rectangle getBounds()
Method getBounds

Specified by:
getBounds in interface Frimble
Returns:

setSize

public final void setSize(int width,
                          int height)
Method setSize

Parameters:
width -
height -

isVisible

public final boolean isVisible()
Method isVisible

Specified by:
isVisible in interface Frimble
Returns:


Copyright © 2004 Jesktop Project. All Rights Reserved.