public class ConfiguredComposite extends ConfiguredControl
Constructor and Description |
---|
ConfiguredComposite(java.lang.String id, org.eclipse.swt.widgets.Composite composite, java.util.Map properties)
Constructs a new instance of this class given its ID and the constructed composite.
|
Modifier and Type | Method and Description |
---|---|
void | addChild(ConfiguredControl child)
Add a new child to this configured composite.
|
ConfiguredControl | getChild(org.eclipse.swt.widgets.Control control)
Returns the child configured control that matches the specified control instance.
|
ConfiguredControl | getChild(java.lang.String childId)
Returns the child control with the specified ID.
|
ConfiguredControl | getChild(java.lang.String namespace, java.lang.String childId)
Returns the child control with the specified ID.
|
java.util.Iterator | getChildren()
Returns an iterator of this composite's children.
|
boolean | getChildrenHaveRequiredInput()
Returns true if all of the composite's children have their required input.
|
org.eclipse.swt.widgets.Composite | getComposite()
Returns the composite.
|
ConfiguredControl | getDescendant(java.lang.String descendantId)
Returns the descendant control with the specified ID.
|
ConfiguredControl | getTopChild()
Returns the top child for this configured composite.
|
void | refreshLayout()
If the layout is invalid, then it is recalculated.
|
void | setComposite(org.eclipse.swt.widgets.Composite composite)
Set the composite instance.
|
void | setLayoutInvalid()
The method will mark the composite layout as invalid.
|
public ConfiguredComposite(java.lang.String id, org.eclipse.swt.widgets.Composite composite, java.util.Map properties)
public org.eclipse.swt.widgets.Composite getComposite()
public void setComposite(org.eclipse.swt.widgets.Composite composite)
public java.util.Iterator getChildren()
public void addChild(ConfiguredControl child)
public ConfiguredControl getChild(java.lang.String childId)
public ConfiguredControl getChild(java.lang.String namespace, java.lang.String childId)
public ConfiguredControl getChild(org.eclipse.swt.widgets.Control control)
public ConfiguredControl getDescendant(java.lang.String descendantId)
public ConfiguredControl getTopChild()
public void setLayoutInvalid()
public void refreshLayout()
public boolean getChildrenHaveRequiredInput()