|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--UniVista.support.screens.ScreenObject
holds position information about a displayed object and basic display functions
Field Summary | |
protected java.awt.Rectangle |
boundsRect
|
protected boolean |
isDesigning
|
protected boolean |
isPropertyEditorUI
|
protected boolean |
isReadOnly
|
MouseDragger |
myDragger
we need to keep a reference to the MouseDragger around in order to not have it garbage collected...so we hack around it by holding a temporary reference to any attached MouseDragger for a screen object here |
protected javax.swing.JFrame |
propertyFrame
|
Constructor Summary | |
ScreenObject()
create a ScreenObject |
Method Summary | |
void |
accept()
called when any changes are to be accepted |
void |
acceptPEUI()
accept any changes from the property editor ui |
void |
addActionListener(java.awt.event.ActionListener a)
|
java.lang.Object |
clone()
clone a ScreenObject |
void |
destroyUI()
destroy the UI |
void |
duplicate(ScreenObject toDup)
duplicate the values from another screen object |
protected void |
finalize()
|
void |
fireActionEvent(java.awt.event.ActionEvent evt)
|
java.awt.Rectangle |
getBounds()
get the bounds rectangle of the object |
boolean |
getDesignMode()
return the design mode of the object |
java.awt.Rectangle |
getPreferredBounds()
suggest a desired bounds |
boolean |
getReadOnly()
return whether or not the screen object is read only |
javax.swing.JComponent |
getUI()
retrieve the display component |
boolean |
implementsPropertyEditorUI()
return the boolean used to indicate if this object implements the propertyEditorUI |
void |
insertPEUI(java.awt.Container cont)
insert any editing components into the passed container |
void |
rejectPEUI()
reject any changes from the property editor UI and revert the display back to the original values |
void |
removePEUI()
If the system demands the shutdown of the customizer, simply call this method to delegate the message. |
void |
revert()
called when any changes are to be rejected |
void |
setBounds(java.awt.Rectangle r)
set the bounds rectangle of the object |
void |
setDesignMode(boolean designMode)
indicate to the object if it's in design mode |
void |
setReadOnly(boolean readOnlyMode)
indicate to the object if it should be read only |
void |
setupPEUI()
Create the parentless customizer upon request. |
javax.swing.JComponent |
setupUI()
create the UI using the bounds that were set using setBounds() |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.awt.Rectangle boundsRect
protected boolean isPropertyEditorUI
protected boolean isDesigning
protected boolean isReadOnly
protected transient javax.swing.JFrame propertyFrame
public transient MouseDragger myDragger
Constructor Detail |
public ScreenObject()
Method Detail |
public void accept()
public java.lang.Object clone()
clone
in class java.lang.Object
public void destroyUI()
public void duplicate(ScreenObject toDup)
public java.awt.Rectangle getBounds()
public boolean getDesignMode()
public java.awt.Rectangle getPreferredBounds()
public boolean getReadOnly()
public javax.swing.JComponent getUI()
public boolean implementsPropertyEditorUI()
public void revert()
public void setBounds(java.awt.Rectangle r)
public void setDesignMode(boolean designMode)
public void setReadOnly(boolean readOnlyMode)
public javax.swing.JComponent setupUI()
public void setupPEUI()
setupPEUI
in interface PropertyEditorUI
UniVista.support.PropertyEditorUI
public void removePEUI()
removePEUI
in interface PropertyEditorUI
protected void finalize()
finalize
in class java.lang.Object
public void acceptPEUI()
PropertyEditorUI
acceptPEUI
in interface PropertyEditorUI
public void insertPEUI(java.awt.Container cont)
PropertyEditorUI
insertPEUI
in interface PropertyEditorUI
public void rejectPEUI()
PropertyEditorUI
rejectPEUI
in interface PropertyEditorUI
public void addActionListener(java.awt.event.ActionListener a)
public void fireActionEvent(java.awt.event.ActionEvent evt)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |