public class CockpitDesign extends java.lang.Object implements java.lang.Iterable<CockpitControl>
Cockpit object.| Modifier | Constructor and Description |
|---|---|
protected |
CockpitDesign(com.uc4.util.XMLDocument doc) |
| Modifier and Type | Method and Description |
|---|---|
CockpitControl |
getControl(int id)
Return the
CockpitControl with the specified id. |
int |
getHeight()
Returns the height of the cockpit form.
|
int |
getWidth()
Returns the width of the cockpit form.
|
java.util.Iterator<CockpitControl> |
iterator() |
int |
size()
Returns the number of
CockpitControl objects. |
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request) |
protected void store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request)
public java.util.Iterator<CockpitControl> iterator()
iterator in interface java.lang.Iterable<CockpitControl>public int size()
CockpitControl objects.
CockpitControl elements inside a CockpitFrame are not considered.public CockpitControl getControl(int id)
CockpitControl with the specified id.id - Id of controlnull if the control with the given id doesn't exists.public int getHeight()
public int getWidth()