public class CockpitDesign extends Object implements 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.
|
Iterator<CockpitControl> |
iterator() |
int |
size()
Returns the number of
CockpitControl objects. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Iterator<CockpitControl> iterator()
iterator in interface 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()
Copyright © 2021. All rights reserved.