Package com.uc4.api.objects
Class CockpitControl
java.lang.Object
com.uc4.api.objects.CockpitControl
- Direct Known Subclasses:
CockpitFrame
,CockpitValueControl
CockpitControl.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
CockpitControl
(com.uc4.util.XMLDocument doc, Element control) -
Method Summary
Modifier and TypeMethodDescriptionReturn the caption.int
Returns the height of theCockpitControl
.int
getId()
Returns the Id of theCockpitControl
element.int
getLeft()
Returns the distance to the left.int
getTop()
Returns the distance to the top.int
getWidth()
Returns the width of theCockpitControl
.void
setCaption
(String caption) Sets the caption.void
setHeight
(int height) Sets the height of theCockpitControl
.void
setLeft
(int left) Sets the distance to the left.void
setTop
(int top) Sets the distance to the top.void
setWidth
(int width) Sets the width of theCockpitControl
.protected void
-
Constructor Details
-
CockpitControl
protected CockpitControl() -
CockpitControl
-
-
Method Details
-
store
-
getCaption
Return the caption.- Returns:
- Caption
-
setCaption
Sets the caption.- Parameters:
caption
- Caption
-
getId
public int getId()Returns the Id of theCockpitControl
element.- Returns:
- Id
-
getHeight
public int getHeight()Returns the height of theCockpitControl
.- Returns:
- Height
-
setHeight
public void setHeight(int height) Sets the height of theCockpitControl
.- Parameters:
height
- Height
-
getLeft
public int getLeft()Returns the distance to the left.- Returns:
- Left Distance
-
setLeft
public void setLeft(int left) Sets the distance to the left.- Parameters:
left
- Distance
-
getTop
public int getTop()Returns the distance to the top.- Returns:
- Distance
-
setTop
public void setTop(int top) Sets the distance to the top.- Parameters:
top
- Distance
-
setWidth
public void setWidth(int width) Sets the width of theCockpitControl
.- Parameters:
width
- Width
-
getWidth
public int getWidth()Returns the width of theCockpitControl
.- Returns:
- Width
-