com.jxcell
Class FormControlShape

java.lang.Object
  extended by com.jxcell.ShapeObj
      extended by com.jxcell.FormControlShape

public class FormControlShape
extends ShapeObj

This class represents a Form control object. Types: 20-ComBox 11-CheckBox 18-ListBox


Field Summary
static short CheckBox
           
static short CombBox
           
static short ListBox
           
 
Method Summary
 java.lang.String getText()
          lable text.
 void setCellLink(java.lang.String link)
          set the link cell of the control
 void setCellRange(java.lang.String source)
          set the source range link to the control
 void seText(java.lang.String text)
          set the lable of the control
 
Methods inherited from class com.jxcell.ShapeObj
getBottom, getFormat, getLeft, getName, getNextShapeObj, getPos, getRight, getShapeObjFromGRObject, getTop, setFormat, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CheckBox

public static final short CheckBox
See Also:
Constant Field Values

CombBox

public static final short CombBox
See Also:
Constant Field Values

ListBox

public static final short ListBox
See Also:
Constant Field Values
Method Detail

setCellRange

public void setCellRange(java.lang.String source)
set the source range link to the control

Parameters:
source - range source

setCellLink

public void setCellLink(java.lang.String link)
set the link cell of the control

Parameters:
link - the link cell

getText

public java.lang.String getText()
lable text.

Returns:
lable text.

seText

public void seText(java.lang.String text)
set the lable of the control

Parameters:
text - control lable.