public class CockpitDesign extends java.lang.Object implements java.lang.Iterable<CockpitControl>
Cockpit
object.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. |
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()