Package com.uc4.api.objects
Class CockpitControl
- java.lang.Object
-
- com.uc4.api.objects.CockpitControl
-
- Direct Known Subclasses:
CockpitFrame,CockpitValueControl
public abstract class CockpitControl extends java.lang.ObjectCockpitControl.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCockpitControl()protectedCockpitControl(com.uc4.util.XMLDocument doc, org.w3c.dom.Element control)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCaption()Return the caption.intgetHeight()Returns 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(java.lang.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 voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element cpit)
-
-
-
Method Detail
-
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element cpit)
-
getCaption
public java.lang.String getCaption()
Return the caption.- Returns:
- Caption
-
setCaption
public void setCaption(java.lang.String caption)
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
-
-