org.colos.ejs.library.control.swing
Class ControlContainer
java.lang.Object
org.colos.ejs.library.control.ControlElement
org.colos.ejs.library.control.swing.ControlSwingElement
org.colos.ejs.library.control.swing.ControlContainer
- Direct Known Subclasses:
- ControlMenu, ControlMenuBar, ControlPanel, ControlRootPane, ControlSplitPanel, ControlTabbedPanel, ControlToolBar, ControlWindow
public abstract class ControlContainer
- extends ControlSwingElement
A configurable Container
Fields inherited from class org.colos.ejs.library.control.swing.ControlSwingElement |
ACTION_IMMEDIATE, ACTION_OFF, ACTION_ON, ACTION_PRESS, AXIS_DRAGGED_ACTION, BACKGROUND, ENABLED, FONT, FOREGROUND, KEY_ACTION, MENU_NAME, MOUSE_ENTERED_ACTION, MOUSE_EXITED_ACTION, MOUSE_MOVED_ACTION, PARENT, POSITION, PRINT_TARGET, SIZE, SWING_ELEMENT_NAME, TOOLTIP, VISIBLE |
Methods inherited from class org.colos.ejs.library.control.swing.ControlSwingElement |
changeVisual, getComponent, getControlWindow, getDefaultValueString, getMenuNameEntry, getPropertyInfo, getPropertyList, getTopWindow, getValue, getVisual, parseConstant, setControlWindow, setDefaultValue, setValue, toStringValue |
Methods inherited from class org.colos.ejs.library.control.ControlElement |
addAction, addAction, addAction, addMenuEntries, destroy, editorIsReading, flush, getGroup, getObject, getObject, getObjectClassname, getProperty, getPropertyCommonName, getSimulation, getValue, implementsProperty, indexOf, initialize, invokeActions, invokeActions, isActive, onExit, propertyIndex, propertyIsTypeOf, propertyType, removeAction, removeAction, replaceVisual, reset, setActive, setFieldListValue, setFieldListValues, setGroup, setProperties, setProperty, setPropertyEditor, setVariableEditor, toString, variableChanged, variableChangedDoNotUpdate, variableExtraChanged, variablePropertiesClear, variablesChanged |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ControlContainer
public ControlContainer()
getContainer
public java.awt.Container getContainer()
acceptsChild
public boolean acceptsChild(ControlElement _child)
- Description copied from class:
ControlElement
- Whether this element can have children of the given type
- Overrides:
acceptsChild
in class ControlElement
- Parameters:
_child
- ControlElement
- Returns:
- boolean
add
public void add(ControlElement _child)
- adds a child control
- Parameters:
_child
- the child control
adjustSize
public void adjustSize()
getChildren
public java.util.Vector<ControlElement> getChildren()
- Returns the vector of children
remove
public void remove(ControlElement _child)
- removes a child control
- Parameters:
_child
- the child control
informRadioGroup
public void informRadioGroup(RadioButtonInterface _source,
boolean _state)
setProperty
public ControlElement setProperty(java.lang.String _property,
java.lang.String _value,
boolean _store)
- Description copied from class:
ControlElement
- Same as setProperty (String, String) but only stores the value if _storeIt is true.
This is to be used by propagateProperty() of ControlContainer only.
- Overrides:
setProperty
in class ControlElement
- Parameters:
_property
- String_value
- String_store
- boolean
- Returns:
- ControlElement