|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.attribute.CustomAttributeEditorEnvironment
This class provides information used by the CustomAttributeEditor to configure the component or dialog returned for editing.
| Nested Class Summary | |
static interface |
CustomAttributeEditorEnvironment.Callback
Callback for the CustomAttributeEditor to stop or cancel the editing in the AttributeEditorComponent |
static class |
CustomAttributeEditorEnvironment.EditorRegion
A simple structure to hold the region of the editor |
| Constructor Summary | |
CustomAttributeEditorEnvironment(CustomAttributeEditorEnvironment.Callback cb)
Constructor |
|
| Method Summary | |
void |
cancelEditing()
Cancel the editing in the attribute editor |
java.lang.Object |
getAttributeEditorComponent()
Returns the attribute editor component of this environment |
java.lang.Object |
getParentFrame()
Returns the parent frame to use for dialogs |
CustomAttributeEditorEnvironment.EditorRegion |
getRegion()
Returns the region of the edited cell component in the attribute editor |
java.lang.Object |
getUIManager()
Returns the UIManager to use for resources |
boolean |
isEditing()
Returns true, if the attribute editor is editing |
void |
setAttributeEditorComponent(java.lang.Object attributeEditorComponent)
Sets the attribute editor component of this environment |
void |
setParentFrame(java.lang.Object parentFrame)
Sets the parent frame to use for dialogs |
void |
setRegion(CustomAttributeEditorEnvironment.EditorRegion region)
Sets the region of the edited cell component in the attribute editor |
void |
setUIManager(java.lang.Object uiManager)
Sets the UIManager to use for resources |
void |
stopEditing()
Stops the editing in the attribute editor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CustomAttributeEditorEnvironment(CustomAttributeEditorEnvironment.Callback cb)
cb - The callback to use when editing has to be canceled or stopped| Method Detail |
public java.lang.Object getAttributeEditorComponent()
public void setAttributeEditorComponent(java.lang.Object attributeEditorComponent)
attributeEditorComponent - the attribute editor component to setpublic java.lang.Object getParentFrame()
public void setParentFrame(java.lang.Object parentFrame)
parentFrame - the parent frame to use for dialogspublic CustomAttributeEditorEnvironment.EditorRegion getRegion()
public void setRegion(CustomAttributeEditorEnvironment.EditorRegion region)
region - the region of the edited cell component in the attribute editorpublic void stopEditing()
public void cancelEditing()
public boolean isEditing()
public java.lang.Object getUIManager()
public void setUIManager(java.lang.Object uiManager)
uiManager - the UIManager to use for resources
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||