|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.basic.BasicIncrement
de.uni_paderborn.fujaba.fsa.FSAObject
FSAObject is the Controller in the MVC UMLUnparseInterface-FSAObject-JComponent. It has an association to a JComponent that visualises (a part of) a UMLUnparseInterface. It can update the JComponent through the appropriate get- and set-Methods of the UMLUnparseInterface, which are specified by the propertyName-Attribute Additionally it has several wrapper methods which simply call the according methods of the jComponent. the several listener methods of FSAObject allow "persistent" handling of listeners. This means, that in case the jComponent changes, the listeners are removed from the old component and added to the new one UMLClass: 'FSAObject'
Field Summary | |
static java.awt.Color |
COLOR_BACKGROUND
No comment provided by developer, please add a comment to improve documentation. |
static java.awt.Color |
COLOR_FOCUSED
No comment provided by developer, please add a comment to improve documentation. |
static java.awt.Color |
COLOR_FOREGROUND
No comment provided by developer, please add a comment to improve documentation. |
static java.awt.Color |
COLOR_SELECTED
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
DIMENSION
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
JCOMPONENT_CLIENT_PROPERTY
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
LOCATION
No comment provided by developer, please add a comment to improve documentation. |
static boolean |
TRANSIENT_PROPERTIES_DEFAULT
default setting: do not save properties |
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement |
dontUseAccessMethodsInThisClass |
Constructor Summary | |
FSAObject()
Constructor for class FSAObject |
|
FSAObject(LogicUnparseInterface incr,
java.lang.String propName)
Constructor for class FSAObject |
|
FSAObject(LogicUnparseInterface incr,
java.lang.String propName,
javax.swing.JComponent parent)
Constructor for class FSAObject This is the typical constructor for creating a new FSA instance. |
|
FSAObject(LogicUnparseInterface incr,
java.lang.String propName,
javax.swing.JComponent parent,
boolean transientProperties)
Constructor for class FSAObject Use this constructor, if you want transient properties to be disabled right at creation time. |
|
FSAObject(LogicUnparseInterface incr,
java.lang.String propName,
javax.swing.JComponent parent,
javax.swing.JComponent myJComponent)
Constructor for class FSAObject |
Method Summary | |
void |
addAncestorListener(javax.swing.event.AncestorListener listener)
Access method for an one to n association. |
void |
addComponentListener(java.awt.event.ComponentListener listener)
Access method for an one to n association. |
void |
addDimensionToUnparseInformation(java.lang.String property,
java.awt.Dimension value)
Access method for an one to n association. |
void |
addFocusListener(java.awt.event.FocusListener listener)
Access method for an one to n association. |
void |
addInputMethodListener(java.awt.event.InputMethodListener listener)
Access method for an one to n association. |
void |
addKeyListener(java.awt.event.KeyListener listener)
Access method for an one to n association. |
void |
addMouseListener(java.awt.event.MouseListener listener)
Access method for an one to n association. |
void |
addMouseMotionListener(java.awt.event.MouseMotionListener listener)
Access method for an one to n association. |
void |
addParentListener(ParentListener listener)
Access method for an one to n association. |
void |
addPointToUnparseInformation(java.lang.String property,
java.awt.Point value)
Adds data of a Point object (x and y coordinate) to unparse information. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
add propertychanngelistener for events on this fsaObject and its jComponent The events of the jComponent will have it as source, the events from the fsaObject will have the fsaObject itself. |
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Access method for an one to n association. |
boolean |
addToUpdater(AbstractUpdater value)
Access method for an one to n association. |
void |
addUnparseInformation(java.lang.String property,
java.lang.String value)
Store textual information in this FSAObject. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Access method for an one to n association. |
protected void |
applyProperties()
Read formerly saved properties from logic and apply them to the GUI. |
AbstractUpdater |
createDefaultUpdater()
creates an instance of the defaultUpdaterClass, configured with umlIncr, propertyName and the default fsaAttrName. |
protected abstract javax.swing.JComponent |
createJComponent()
creates a standard JComponent for this FSAObject UMLMethod: '+ createJComponent () : Void' |
void |
dragByDelta(int deltaX,
int deltaY)
Drags the JComponent by an offset of x/y, removes the transient-flag and saves the new location. |
void |
dragTo(int newX,
int newY)
Drags the JComponent to an absolute position, removes the transient-flag and saves the new location. |
FSAObject |
findChildForProperty(java.lang.String property)
No comment provided by developer, please add a comment to improve documentation. |
static FSAObject |
findFSAObjectFromJComponent(javax.swing.JComponent comp)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.beans.PropertyChangeEvent e)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.lang.String name,
boolean oldValue,
boolean newValue)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.lang.String name,
double oldValue,
double newValue)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.lang.String name,
int oldValue,
int newValue)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)
No comment provided by developer, please add a comment to improve documentation. |
ASGInformation |
getASGInformation()
Get the ASGInformation for the FSAObject |
ASGInformation |
getASGInformation(boolean create)
Get the ASGInformation for the FSAObject |
java.awt.Color |
getBackground()
Get the background attribute of the FSAObject object |
java.lang.String |
getDefaultAttrName()
the default name used in createDefaultUpdater for fsaAttrName of the Updater |
java.lang.Class |
getDefaultUpdaterClass()
class of the AbstractUpdater that usually fits best the jComponent |
FSALayeredPane |
getDiagramRoot()
|
java.awt.Dimension |
getDimensionFromUnparseInformation(java.lang.String property)
Get the dimensionFromUnparseInformation attribute of the FSAObject object |
java.awt.Font |
getFont()
Get the font attribute of the FSAObject object |
java.awt.Color |
getForeground()
Get the foreground attribute of the FSAObject object |
FSAInterface |
getFSAInterface()
|
static FSAObject |
getFSAObjectFromJComponent(javax.swing.JComponent comp)
Get the fSAObjectFromJComponent attribute of the FSAObject class |
ASGElement |
getFSAQualifier()
Get the fSAQualifier attribute of the FSAObject object This function will search this FSAObject objects parents. |
static java.lang.String |
getID(FSAObject object)
Get the iD attribute of the FSAObject class |
javax.swing.JComponent |
getJComponent()
UMLMethod: '+ getJComponent () : Void' |
static javax.swing.JComponent |
getJComponent(FSAObject object)
Get the jComponent attribute of the FSAObject class |
java.awt.Point |
getLocation()
|
java.awt.Point |
getLocation(java.awt.Point point)
Get the location attribute of the FSAObject object |
LogicUnparseInterface |
getLogic()
|
LogicUnparseInterface |
getLogic(boolean recursive)
Get the logic attribute of the FSAObject object |
static LogicUnparseInterface |
getLogicFromJComponent(javax.swing.JComponent comp)
Get the logicFromJComponent attribute of the FSAObject class |
java.awt.Dimension |
getMaximumSize()
Get the maximumSize attribute of the FSAObject object |
java.awt.Dimension |
getMinimumSize()
Get the minimumSize attribute of the FSAObject object |
FSAContainer |
getParent()
get the parent of this FSAObject. |
java.lang.String |
getParentID()
Get the parentID attribute of the FSAObject object |
java.awt.Container |
getParentOfJComponent()
Get the Object in the JComponent hierarchy where the JComponent for this Object should be connected to If the JComponent of this instance is non-null the parent of that JComponent is returned. |
java.awt.Point |
getPointFromUnparseInformation(java.lang.String property)
Get the pointFromUnparseInformation attribute of the FSAObject object |
java.awt.Dimension |
getPreferredSize()
Get the preferredSize attribute of the FSAObject object |
java.lang.String |
getPropertyName()
The name of the property in the LogicUnparseInterface that is visualized by this Object's JComponent. |
java.lang.String |
getQualifiedName()
Get the qualifiedName attribute of the FSAObject object |
static java.lang.String |
getQualifiedName(FSAObject parent,
java.lang.String name)
Get the qualifiedName attribute of the FSAObject class |
java.awt.Dimension |
getSize()
|
java.lang.String |
getUnparseInformation(java.lang.String property)
Get the unparseInformation attribute of the FSAObject object |
boolean |
hasInUpdater(AbstractUpdater value)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
initFSAProperties()
Initializes properties stored in qualifying ASGElement and applies them to this FSAObject. |
protected void |
initLocation()
Set the FSAObject to an initial location. |
void |
invalidate()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
isBold()
returns true if the component has set to bold. |
boolean |
isDelegated()
|
boolean |
isFocused()
|
boolean |
isItalic()
returns true if the component has set to italic. |
boolean |
isSelected()
|
boolean |
isTransientProperties()
Get the transientProperties attribute of the FSAObject object |
boolean |
isUnderlined()
Get the underlined attribute of the FSAObject object |
boolean |
isVisible()
Get the visible attribute of the FSAObject object |
java.util.Iterator |
iteratorOfAncestorListeners()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfComponentListeners()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfFocusListeners()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfInputMethodListeners()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfKeyListeners()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfMouseListeners()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfMouseMotionListeners()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfPropertyChangeListeners()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfPropertyChangeListeners(java.lang.String property)
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfUpdater()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfVetoableChangeListeners()
No comment provided by developer, please add a comment to improve documentation. |
void |
parentChanged(ParentEvent evt)
No comment provided by developer, please add a comment to improve documentation. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
forward event to the FujabaPropertyChangeSupport |
void |
removeAllFromUpdater()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllUnparseInformation()
Remove all information stored in this FSAObject. |
void |
removeAncestorListener(javax.swing.event.AncestorListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeComponentListener(java.awt.event.ComponentListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeFocusListener(java.awt.event.FocusListener listener)
No cRomment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromUnparseInformation(java.lang.String property)
Remove information from this FSAObject stored under the specified key. |
boolean |
removeFromUpdater(AbstractUpdater value)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeInputMethodListener(java.awt.event.InputMethodListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeKeyListener(java.awt.event.KeyListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeMouseListener(java.awt.event.MouseListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeMouseMotionListener(java.awt.event.MouseMotionListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeParentListener(ParentListener listener)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removePointFromUnparseInformation(java.lang.String property)
Removes data of a point specified by property from
unparse information. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeYou()
UMLMethod: '+ removeYou () : Void' |
protected void |
saveAdditionalFSAProperties()
Part of 'Template Method'-design pattern for saving FSA-properties. |
void |
saveDimension()
Stores dimension of this FSAObject in associated unparse information. |
void |
saveFSAProperties()
Part of 'Template Method'-design pattern for saving FSA-properties. |
void |
saveLocation()
Stores location of this FSAObject in associated unparse information. |
void |
setBackground(java.awt.Color color)
Sets the background attribute of the FSAObject object |
void |
setBold(boolean bold)
set the italic flag for this component. |
protected void |
setDefaultProperties()
This methods sets the default properties for new FSAObjects. |
void |
setFocused(boolean focus)
set this Object focused If this Object is selectable by means of the SelectionManager (SelectionManager.get().isSelectable(this) returns true), it is set as the focused Object in the SelectionManager and the previously focused Object is unfocused. |
void |
setFont(java.awt.Font newFont)
Sets the font attribute of the FSAObject object |
void |
setForeground(java.awt.Color color)
Sets the foreground attribute of the FSAObject object |
void |
setFSAInterface(FSAInterface elem)
|
protected static void |
setFSAObjectFromJComponent(javax.swing.JComponent jComp,
FSAObject fsaComp)
Sets the fSAObjectFromJComponent attribute of the FSAObject class |
void |
setItalic(boolean italic)
set the italic flag for this component. |
void |
setLocation(int x,
int y)
Sets the Location of the JComponent to x,y |
void |
setLocation(java.awt.Point location)
Sets the Location of the JComponent to location |
void |
setLogic(LogicUnparseInterface elem)
0..1 swingAdapter 0..1 ---------------- FSAObject ----------------------------| propertyName | LogicUnparseInterface fsaObjects logic ---------------- |
void |
setOpaque(boolean opaque)
Sets the JComponent's opaque property |
void |
setParentOfJComponent(java.awt.Container comp)
Set the Object in the JComponent hierarchy that the JComponent for this Object should be connected to If the JComponent is non-null, it is connected to that parent. |
void |
setPreferredSize(java.awt.Dimension newDimension)
Sets the preferredSize attribute of the FSAObject object |
java.lang.String |
setPropertyName(java.lang.String propertyName)
The Name of the property in the LogicUnparseInterface The appropriate get- and set-methods for this property are derived from the UMLIncr and are used for the set/getPropertyValue methods and the current propertyValue is cached for use by getPropertyValue () |
void |
setSelected(boolean selected)
Set this object selected Equals to setSelected (selected, false) |
void |
setTransientProperties(boolean enabled)
Sets the transientProperties attribute of the FSAObject object. |
void |
setUnderlined(boolean newUnderlined)
Sets the underlined attribute of the FSAObject object |
void |
setVisible(boolean vis)
Sets the visible attribute of the FSAObject object |
int |
sizeOfUpdater()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
toString()
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String JCOMPONENT_CLIENT_PROPERTY
public static final java.awt.Color COLOR_FOREGROUND
public static final java.awt.Color COLOR_BACKGROUND
public static final java.awt.Color COLOR_FOCUSED
public static final java.awt.Color COLOR_SELECTED
public static final java.lang.String LOCATION
public static final java.lang.String DIMENSION
public static transient boolean TRANSIENT_PROPERTIES_DEFAULT
Constructor Detail |
public FSAObject()
public FSAObject(LogicUnparseInterface incr, java.lang.String propName)
incr
- No description providedpropName
- No description providedpublic FSAObject(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent)
incr
- No description providedpropName
- No description providedparent
- No description providedpublic FSAObject(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent, boolean transientProperties)
incr
- Defines the logic for this FSAObject.propName
- No description providedparent
- Parent of this FSAObject.transientProperties
- Should properties of this FSAObject be transient?public FSAObject(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent, javax.swing.JComponent myJComponent)
incr
- No description providedpropName
- No description providedparent
- No description providedmyJComponent
- No description providedMethod Detail |
public ASGElement getFSAQualifier()
This function will search this FSAObject objects parents. The first parent which is a ASGDiagram will be returned. If this FSAObject has no ASGDiagram-parent the first ASGElement contained in this FSAObject objects parent-chain will be returned. If none of the former described objects exist, null is returned.
public ASGInformation getASGInformation()
public ASGInformation getASGInformation(boolean create)
create
- create the ASGInformation if it does not exist
public java.lang.String getUnparseInformation(java.lang.String property)
property
- No description provided
public void addUnparseInformation(java.lang.String property, java.lang.String value)
property
- Key under which information is stored.value
- The String object to be added.public boolean removeFromUnparseInformation(java.lang.String property)
property
- Key under which information is stored.
public void removeAllUnparseInformation()
public void addPointToUnparseInformation(java.lang.String property, java.awt.Point value)
property
- Key for the point to be added.value
- The Point object whose data should be stored.removePointFromUnparseInformation(String)
public boolean removePointFromUnparseInformation(java.lang.String property)
property
from
unparse information.
property
- The key for the point to be removed.
addPointToUnparseInformation(String, Point)
public java.awt.Point getPointFromUnparseInformation(java.lang.String property)
property
- No description provided
public void addDimensionToUnparseInformation(java.lang.String property, java.awt.Dimension value)
property
- The object added.value
- The object added.public java.awt.Dimension getDimensionFromUnparseInformation(java.lang.String property)
property
- No description provided
protected void initFSAProperties()
protected void setDefaultProperties()
protected void initLocation()
protected void applyProperties()
NOTE: If information changes in logic, ASGInformationListener will call 'applyProperties()' to adjust this graphical instance. So don't override 'initFSAProperties()', because this method won't be called when information changes in logic. Instead override 'applyProperties()', so e.g. an 'undo'-call will result in applying undo-properties to child-classes instead of just applying properties to FSAObject.
saveAdditionalFSAProperties()
public boolean isTransientProperties()
public void setTransientProperties(boolean enabled)
Note that properties must be saved by an explicit call to 'saveFSAProperties()' or another finegranular 'save'-call.
enabled
- The new transientProperties valuepublic void saveFSAProperties()
saveAdditionalFSAProperties()
,
applyProperties()
public void saveLocation()
public void saveDimension()
protected void saveAdditionalFSAProperties()
saveFSAProperties()
,
applyProperties()
public java.lang.Class getDefaultUpdaterClass()
public AbstractUpdater createDefaultUpdater()
public java.lang.String getDefaultAttrName()
public java.lang.String getPropertyName()
public java.lang.String setPropertyName(java.lang.String propertyName)
propertyName
- The new propertyName value
getPropertyName()
public java.lang.String getParentID()
public static java.lang.String getID(FSAObject object)
object
- No description provided
public java.lang.String getQualifiedName()
public static java.lang.String getQualifiedName(FSAObject parent, java.lang.String name)
parent
- No description providedname
- No description provided
protected abstract javax.swing.JComponent createJComponent()
public javax.swing.JComponent getJComponent()
public static javax.swing.JComponent getJComponent(FSAObject object)
object
- No description provided
public java.awt.Container getParentOfJComponent()
setParentOfJComponent(java.awt.Container)
public void setParentOfJComponent(java.awt.Container comp)
comp
- The new parentOfJComponent valuegetParentOfJComponent()
public static LogicUnparseInterface getLogicFromJComponent(javax.swing.JComponent comp)
comp
- No description provided
public static FSAObject findFSAObjectFromJComponent(javax.swing.JComponent comp)
comp
- No description provided
public static FSAObject getFSAObjectFromJComponent(javax.swing.JComponent comp)
comp
- No description provided
protected static void setFSAObjectFromJComponent(javax.swing.JComponent jComp, FSAObject fsaComp)
jComp
- The new fSAObjectFromJComponent valuefsaComp
- The new fSAObjectFromJComponent valuepublic FSAObject findChildForProperty(java.lang.String property)
property
- No description provided
public FSALayeredPane getDiagramRoot()
public FSAContainer getParent()
public java.awt.Dimension getPreferredSize()
public void setPreferredSize(java.awt.Dimension newDimension)
newDimension
- The new preferredSize valuepublic java.awt.Dimension getMinimumSize()
public java.awt.Dimension getMaximumSize()
public void setSelected(boolean selected)
selected
- The new selected valuepublic boolean isSelected()
(boolean)
public void setFocused(boolean focus)
focus
- The new focused valueSelectionManager
,
(boolean)
,
()
public boolean isFocused()
(boolean)
public void setFSAInterface(FSAInterface elem)
elem
- The new fSAInterface valuepublic FSAInterface getFSAInterface()
public void setLogic(LogicUnparseInterface elem)
0..1 swingAdapter 0..1 ---------------- FSAObject ----------------------------| propertyName | LogicUnparseInterface fsaObjects logic ----------------
elem
- The new logic valuepublic LogicUnparseInterface getLogic()
public LogicUnparseInterface getLogic(boolean recursive)
recursive
- No description provided
public boolean addToUpdater(AbstractUpdater value)
value
- The object added.
public boolean hasInUpdater(AbstractUpdater value)
value
- No description provided
public java.util.Iterator iteratorOfUpdater()
public int sizeOfUpdater()
public boolean removeFromUpdater(AbstractUpdater value)
value
- No description provided
public void removeAllFromUpdater()
public void removeYou()
removeYou
in class BasicIncrement
public boolean isDelegated()
public void addParentListener(ParentListener listener)
listener
- The object added.public void removeParentListener(ParentListener listener)
listener
- No description providedpublic void parentChanged(ParentEvent evt)
parentChanged
in interface ParentListener
evt
- No description providedpublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The object added.public void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
propertyName
- The object added.listener
- The object added.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- No description providedpublic void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
propertyName
- No description providedlistener
- No description providedpublic java.util.Iterator iteratorOfPropertyChangeListeners()
public java.util.Iterator iteratorOfPropertyChangeListeners(java.lang.String property)
property
- No description provided
protected void firePropertyChange(java.beans.PropertyChangeEvent e)
e
- No description providedprotected void firePropertyChange(java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue)
name
- No description providedoldValue
- No description providednewValue
- No description providedprotected void firePropertyChange(java.lang.String name, boolean oldValue, boolean newValue)
name
- No description providedoldValue
- No description providednewValue
- No description providedprotected void firePropertyChange(java.lang.String name, int oldValue, int newValue)
name
- No description providedoldValue
- No description providednewValue
- No description providedprotected void firePropertyChange(java.lang.String name, double oldValue, double newValue)
name
- No description providedoldValue
- No description providednewValue
- No description providedpublic void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
event
- No description providedpublic void addAncestorListener(javax.swing.event.AncestorListener listener)
listener
- The object added.public void removeAncestorListener(javax.swing.event.AncestorListener listener)
listener
- No description providedpublic java.util.Iterator iteratorOfAncestorListeners()
public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The object added.public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- No description providedpublic java.util.Iterator iteratorOfVetoableChangeListeners()
public void addComponentListener(java.awt.event.ComponentListener listener)
listener
- The object added.public void removeComponentListener(java.awt.event.ComponentListener listener)
listener
- No description providedpublic java.util.Iterator iteratorOfComponentListeners()
public void addFocusListener(java.awt.event.FocusListener listener)
listener
- The object added.public void removeFocusListener(java.awt.event.FocusListener listener)
listener
- No description providedpublic java.util.Iterator iteratorOfFocusListeners()
public void addInputMethodListener(java.awt.event.InputMethodListener listener)
listener
- The object added.public void removeInputMethodListener(java.awt.event.InputMethodListener listener)
listener
- No description providedpublic java.util.Iterator iteratorOfInputMethodListeners()
public void addKeyListener(java.awt.event.KeyListener listener)
listener
- The object added.public void removeKeyListener(java.awt.event.KeyListener listener)
listener
- No description providedpublic java.util.Iterator iteratorOfKeyListeners()
public void addMouseListener(java.awt.event.MouseListener listener)
listener
- The object added.public void removeMouseListener(java.awt.event.MouseListener listener)
listener
- No description providedpublic java.util.Iterator iteratorOfMouseListeners()
public void addMouseMotionListener(java.awt.event.MouseMotionListener listener)
listener
- The object added.public void removeMouseMotionListener(java.awt.event.MouseMotionListener listener)
listener
- No description providedpublic java.util.Iterator iteratorOfMouseMotionListeners()
public void setVisible(boolean vis)
vis
- The new visible valuepublic boolean isVisible()
public void setForeground(java.awt.Color color)
color
- The new foreground valuepublic java.awt.Color getForeground()
public void setBackground(java.awt.Color color)
color
- The new background valuepublic java.awt.Color getBackground()
public void invalidate()
public final void setLocation(java.awt.Point location)
location
- The new location valuepublic void setLocation(int x, int y)
x
- The new location valuey
- The new location valuepublic java.awt.Point getLocation()
public java.awt.Dimension getSize()
public java.awt.Point getLocation(java.awt.Point point)
point
- No description provided
public void dragTo(int newX, int newY)
newX
- No description providednewY
- No description providedpublic void dragByDelta(int deltaX, int deltaY)
deltaX
- No description provideddeltaY
- No description providedpublic void setOpaque(boolean opaque)
opaque
- The new opaque valuepublic void setFont(java.awt.Font newFont)
newFont
- The new font valuepublic java.awt.Font getFont()
public void setItalic(boolean italic)
italic
- the flag.public boolean isItalic()
public void setBold(boolean bold)
bold
- The new bold valuepublic boolean isBold()
public boolean isUnderlined()
public void setUnderlined(boolean newUnderlined)
newUnderlined
- The new underlined valuepublic java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |