Package com.uc4.api.objects
Class CockpitControl
java.lang.Object
com.uc4.api.objects.CockpitControl
- Direct Known Subclasses:
CockpitFrame,CockpitValueControl
CockpitControl.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedCockpitControl(com.uc4.util.XMLDocument doc, Element control) -
Method Summary
Modifier and TypeMethodDescriptionReturn the caption.intReturns the height of theCockpitControl.intgetId()Returns the Id of theCockpitControlelement.intgetLeft()Returns the distance to the left.intgetTop()Returns the distance to the top.intgetWidth()Returns the width of theCockpitControl.voidsetCaption(String caption) Sets the caption.voidsetHeight(int height) Sets the height of theCockpitControl.voidsetLeft(int left) Sets the distance to the left.voidsetTop(int top) Sets the distance to the top.voidsetWidth(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 theCockpitControlelement.- 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
-