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.Object
CockpitControl.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CockpitControl()
protected
CockpitControl(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.String
getCaption()
Return the caption.int
getHeight()
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(java.lang.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
store(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 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
-
-