ControlPanel, ControlSplitPanel, ControlTabbedPanel, ControlWindowpublic abstract class ControlContainer extends ControlSwingElement
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Vector<ControlElement> |
children |
|
protected java.util.Vector<ControlElement> |
radioButtons |
ACTION, isUnderEjs, METHOD_FOR_VARIABLE, METHOD_TRIGGER, myGroup, myObject, myPropertiesTable, VARIABLE_CHANGEDACTION_OFF, ACTION_ON, ACTION_PRESS, BACKGROUND, ENABLED, FONT, FOREGROUND, myVisual, NAME, PARENT, POSITION, SIZE, TOOLTIP, VISIBLE| Constructor | Description |
|---|---|
ControlContainer(java.lang.Object _visual) |
Constructor ControlContainer
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(ControlElement _child) |
adds a child control
|
void |
adjustSize() |
|
java.util.Vector<ControlElement> |
getChildren() |
Returns the vector of children
|
java.awt.Container |
getContainer() |
|
java.lang.String |
getPropertyInfo(java.lang.String _property) |
Returns information about a given property.
|
void |
informRadioGroup(ControlRadioButton _source,
boolean _state) |
|
void |
remove(ControlElement _child) |
removes a child control
|
ControlElement |
setProperty(java.lang.String _property,
java.lang.String _value) |
Sets a property for this
ControlElement. |
addAction, addAction, addAction, destroy, getGroup, getObject, getProperty, getSimulation, implementsProperty, initialize, invokeActions, invokeActions, isActive, propertyIsTypeOf, propertyType, removeAction, removeAction, reset, setActive, setGroup, setProperties, toString, variableChanged, variableChangedDoNotUpdate, variablePropertiesClear, variablesChangedcreateVisual, getComponent, getIcon, getPropertyList, getValue, getVisual, parseConstant, setDefaultValue, setValueprotected java.util.Vector<ControlElement> radioButtons
protected java.util.Vector<ControlElement> children
public ControlContainer(java.lang.Object _visual)
_visual - public java.awt.Container getContainer()
public void add(ControlElement _child)
_child - the child controlpublic void adjustSize()
public java.util.Vector<ControlElement> getChildren()
public void remove(ControlElement _child)
_child - the child controlpublic void informRadioGroup(ControlRadioButton _source, boolean _state)
public java.lang.String getPropertyInfo(java.lang.String _property)
ControlSwingElementgetPropertyInfo in class ControlSwingElementpublic ControlElement setProperty(java.lang.String _property, java.lang.String _value)
ControlElementControlElement. Implementing
classes are responsible of deciding (by declaring them in the
getPropertyList() method) what properties turn into visual
changes, or different behaviour, of the ControlElement.
However, every propery is accepted, even if it is not meaningful for a particular implementation of this interface. This can serve as a repository of information for future use.
Implementing classes should make sure that the following
requirements are met:
setProperty in class ControlElementsetPropertyGroupControl