|
SilverStream Application Server 3.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.TextComponent
|
+--java.awt.TextField
|
+--com.sssw.rt.atlas.AtTextField
|
+--com.sssw.rt.form.AgcTextField
Displays data to, or accepts input from, the user. Can also be bound to a database column. The data type of the TextField control can be customized with the Type property.
The available TextField controls include:
AgcTextField
AgcIntegerField
AgcFloatingPointField
AgcDateField
AgcTimeField
AgcTimestampField
AgcPasswordField
| Field Summary | |
static int |
NO_LIMIT
Used to remove a limit on the allowed number of characters. |
| Fields inherited from class com.sssw.rt.atlas.AtTextField |
ENFORCE_CASE_LOWER,
ENFORCE_CASE_NONE,
ENFORCE_CASE_UPPER |
| Fields inherited from class java.awt.TextComponent |
textListener |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Fields inherited from interface com.sssw.rt.form.AgiControl |
IMAGE_MODE_CENTERED,
IMAGE_MODE_NORMAL,
IMAGE_MODE_STRETCH,
IMAGE_MODE_TILED |
| Constructor Summary | |
AgcTextField()
|
|
| Method Summary | |
Color |
getBackgroundColor()
Deprecated. use Component.getBackground(). |
boolean |
getEditable()
Deprecated. use TextComponent.isEditable(). |
boolean |
getEmptyStringIsNull()
Returns true if the "value" of any empty text control should be null, instead of the empty String. |
AgoFontIdentifier |
getFontIdentifier()
(AgiControl) Get the control's FontIdentifier. |
int |
getMaxLength()
Returns the maximum length as an integer. |
int |
getMinLength()
Returns the minimum length as an integer. |
Color |
getTextColor()
Deprecated. use Component.getBackground(). |
void |
setBackgroundColor(Color backgroundcolor)
Deprecated. use Component.setBackground(Color). |
void |
setEmptyStringIsNull(boolean b)
If set to true, then the value of an empty text control is null, instead of the empty String. |
void |
setFontIdentifier(AgoFontIdentifier fontidentifier)
(AgiControl) Set the control's FontIdentifier. |
void |
setMaxLength(int length)
Set the maximum length. |
void |
setMinLength(int length)
Set the minimum length. |
void |
setTextColor(Color color)
Deprecated. use Component.setForeground(Color). |
| Methods inherited from class com.sssw.rt.atlas.AtTextField |
deliverMouseEvent,
deliverMouseMoveEvent,
doAtCommand,
enableAtCommands,
getEnforceCase,
getHelper,
getToolTipText,
getToolTipText,
grabFocus,
grabTabstopFocus,
isFocusTraversable,
isRequestFocusEnabled,
preprocessKeyEvent,
processEvent,
requestFocus,
setEnforceCase,
setRequestFocusEnabled,
setToolTipText |
| Methods inherited from class java.awt.TextField |
addActionListener,
addNotify,
echoCharIsSet,
getColumns,
getEchoChar,
getMinimumSize,
getMinimumSize,
getPreferredSize,
getPreferredSize,
minimumSize,
minimumSize,
paramString,
preferredSize,
preferredSize,
processActionEvent,
removeActionListener,
setColumns,
setEchoChar,
setEchoCharacter,
setText |
| Methods inherited from class java.awt.TextComponent |
addTextListener,
getCaretPosition,
getSelectedText,
getSelectionEnd,
getSelectionStart,
getText,
isEditable,
processTextEvent,
removeNotify,
removeTextListener,
select,
selectAll,
setCaretPosition,
setEditable,
setSelectionEnd,
setSelectionStart |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Methods implemented from interface com.sssw.rt.form.AgiControl |
getBackgroundImage,
getBackgroundImageMode,
getComponent,
getHelpInfo,
setBackgroundImage,
setBackgroundImageMode,
setHelpInfo |
| Field Detail |
public static final int NO_LIMIT
AgcTextField.setMaxLength(int),
AgcTextField.setMinLength(int)| Constructor Detail |
public AgcTextField()
| Method Detail |
public boolean getEmptyStringIsNull()
public void setEmptyStringIsNull(boolean b)
public int getMaxLength()
public int getMinLength()
public void setMaxLength(int length)
AgcTextField.NO_LIMIT to disable the limit.This code sets the maximum number of characters allowed in the text field to 8.
ControlName1.setMaxLength(8);
AgcTextField.setMinLength(int)public void setMinLength(int length)
AgcTextField.NO_LIMIT to disable the limit.length - This code sets the minimum number of characters allowed in the text field to 2.
ControlName1.setMinLength(2);
AgcTextField.setMaxLength(int)public AgoFontIdentifier getFontIdentifier()
public void setFontIdentifier(AgoFontIdentifier fontidentifier)
public Color getBackgroundColor()
Component.getBackground().
public void setBackgroundColor(Color backgroundcolor)
Component.setBackground(Color).
public boolean getEditable()
TextComponent.isEditable().
public Color getTextColor()
Component.getBackground().
public void setTextColor(Color color)
Component.setForeground(Color).
|
SilverStream Application Server 3.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||