| java.lang.Object org.openlaszlo.iv.flash.api.FlashItem org.openlaszlo.iv.flash.api.FlashObject org.openlaszlo.iv.flash.api.FlashDef org.openlaszlo.iv.flash.api.text.TextField
TextField | final public class TextField extends FlashDef (Code) | | Text field.
author: Dmitry Skavish |
BORDER | final public static int BORDER(Code) | | |
HASFONT | final public static int HASFONT(Code) | | |
HASLAYOUT | final public static int HASLAYOUT(Code) | | |
HASMAXLENGTH | final public static int HASMAXLENGTH(Code) | | |
HASTEXT | final public static int HASTEXT(Code) | | |
HASTEXTCOLOR | final public static int HASTEXTCOLOR(Code) | | |
HTML | final public static int HTML(Code) | | |
MULTILINE | final public static int MULTILINE(Code) | | |
NOSELECT | final public static int NOSELECT(Code) | | |
PASSWORD | final public static int PASSWORD(Code) | | |
READONLY | final public static int READONLY(Code) | | |
USEOUTLINES | final public static int USEOUTLINES(Code) | | |
WORDWRAP | final public static int WORDWRAP(Code) | | |
TextField | public TextField()(Code) | | |
TextField | public TextField(String initText, String varName, Font font, int height, AlphaColor color)(Code) | | Creates TextField
Parameters: initText - initial text (optional) Parameters: varName - variable name Parameters: font - font of the field (optional) Parameters: height - height of the font in twixels Parameters: color - color of the text field (optional) |
_isConstant | protected boolean _isConstant()(Code) | | |
addFlags | public int addFlags(int flags)(Code) | | Adds specified flags to this text field flags
Parameters: flags - additional flags new flags |
getAlign | public int getAlign()(Code) | | |
getBounds | public Rectangle2D getBounds()(Code) | | Returns bounds of this text field
bounds |
getFlags | public int getFlags()(Code) | | Returns current flags of this text field
current flags |
getFont | public Font getFont()(Code) | | Returns font
this textfield font |
getHeight | public int getHeight()(Code) | | Returns font height
font height |
getIndent | public int getIndent()(Code) | | |
getInitText | public String getInitText()(Code) | | Returns initial text
inittial text |
getLeading | public int getLeading()(Code) | | |
getLeftMargin | public int getLeftMargin()(Code) | | |
getMaxLength | public int getMaxLength()(Code) | | Returns maximum length of this text field
maximum length |
getRightMargin | public int getRightMargin()(Code) | | |
getTag | public int getTag()(Code) | | |
getVarName | public String getVarName()(Code) | | Returns variable name
variable name |
removeFlags | public int removeFlags(int flags)(Code) | | Removes specified flags
Parameters: flags - flags to be removed new flags |
setBounds | public void setBounds(Rectangle2D bounds)(Code) | | Sets bounds to this text field
Parameters: bounds - text field bounds |
setColor | public void setColor(AlphaColor color)(Code) | | Sets color
Parameters: color - text color |
setFlags | public void setFlags(int flags)(Code) | | Sets new flags to this text field
Parameters: flags - new flags to be set |
setFont | public void setFont(Font font, int height)(Code) | | Sets new font and height
Parameters: font - new font to be set Parameters: height - fonts height in twixels |
setInitText | public void setInitText(String initText)(Code) | | Sets new initial text to this text field
Parameters: initText - new initial text |
setLayout | public void setLayout(int align, int leftmargin, int rightmargin, int indent, int leading)(Code) | | Sets layout of the text in this text field
Parameters: align - alignment (0-left,1-right,2-center,3-justify) Parameters: leftmargin - left margin in twixels Parameters: rightmargin - right margin in twixels Parameters: indent - indentation in twixels Parameters: leading - leading in twixels |
setMaxLength | public void setMaxLength(int maxlength)(Code) | | Sets new maximum length to this text field
Parameters: maxLenth - new maximum length |
setVarName | public void setVarName(String varName)(Code) | | Sets new variable name
Parameters: varName - new variable name |
|
|