|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface OptionProperties
Base interface for all UI components dynamically created from XML descriptors.
| Method Summary | |
|---|---|
String |
getComponentConstraints()
Get the Mig layout constraints for a component. |
ValueChangeListener |
getFinalizer()
Get the action to fire immediately when the page is disposed. |
String |
getIconPath()
Get the path to an eventual icon displayed in the button. |
ValueChangeListener |
getInitializer()
Get the action to fire immediately after the page is built, allowing to perform initializations before the page is displayed and used. |
String |
getLabel()
Get the title of this element. |
String |
getLayoutConstraints()
Get the Mig layout constraints for the entire layout. |
String |
getName()
Get the name of this options page. |
OptionProperties |
getRoot()
Get the root of the option tree this option belongs to. |
List<OptionDescriptor.ScriptDescriptor> |
getScripts()
Get the scripts used by this option or its children. |
String |
getToolTipText()
The tooltip text displayed with the UI component. |
JComponent |
getUIComponent()
Get the UI component for this option. |
boolean |
isBordered()
Determine whether this page has a border around it. |
boolean |
isEventsEnabled()
Determine whether the events firing in this option and/or its children are enabled. |
boolean |
isScrollable()
Determine whether this page should be enclosed within a scroll pane. |
void |
setComponentConstraints(String componentConstraints)
Set the Mig layout constraints for a component. |
void |
setEditable(boolean editable)
Enable or disable this option. |
void |
setEnabled(boolean enabled)
Enable or disable this option. |
void |
setEventsEnabled(boolean enabled)
Enable or disable the events firing in this option and/or its children. |
void |
setLayoutConstraints(String layoutConstraints)
Set the Mig layout constraints for the entire layout. |
| Method Detail |
|---|
String getName()
String getLabel()
OptionProperties getRoot()
OptionElement instance.String getToolTipText()
void setEnabled(boolean enabled)
enabled - true to enable this option, false to disable it.void setEditable(boolean editable)
editable - true to make this option editable, false otherwise.boolean isEventsEnabled()
void setEventsEnabled(boolean enabled)
enabled - true to enable the events, false to disable them.boolean isScrollable()
boolean isBordered()
JComponent getUIComponent()
JComponent instance.List<OptionDescriptor.ScriptDescriptor> getScripts()
ScriptDescriptor instances.ValueChangeListener getInitializer()
ValueChangeListener getFinalizer()
String getIconPath()
String getLayoutConstraints()
void setLayoutConstraints(String layoutConstraints)
layoutConstraints - the constraints as a string.String getComponentConstraints()
void setComponentConstraints(String componentConstraints)
componentConstraints - the constraints as a string.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||