public abstract class ControlContainer extends ControlSwingElement
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector |
children |
protected java.util.Vector |
radioButtons |
ACTION_OFF, ACTION_ON, ACTION_PRESS, BACKGROUND, ENABLED, FONT, FOREGROUND, myVisual, NAME, PARENT, POSITION, SIZE, TOOLTIP, VISIBLEACTION, isUnderEjs, METHOD_FOR_VARIABLE, METHOD_TRIGGER, myGroup, myObject, myPropertiesTable, VARIABLE_CHANGED| Constructor and Description |
|---|
ControlContainer(java.lang.Object _visual) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ControlElement _child)
adds a child control
|
void |
adjustSize() |
java.util.Vector |
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. |
createVisual, getComponent, getIcon, getPropertyList, getValue, getVisual, parseConstant, setDefaultValue, setValueaddAction, addAction, addAction, destroy, getGroup, getObject, getProperty, getSimulation, implementsProperty, initialize, invokeActions, invokeActions, isActive, propertyIsTypeOf, propertyType, removeAction, removeAction, reset, setActive, setGroup, setProperties, toString, variableChanged, variableChangedDoNotUpdate, variablePropertiesClear, variablesChangedprotected java.util.Vector radioButtons
protected java.util.Vector children
public java.awt.Container getContainer()
public void add(ControlElement _child)
_child - the child controlpublic void adjustSize()
public java.util.Vector 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