|
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.Container | +--javax.swing.JComponent | +--javax.swing.text.JTextComponent | +--javax.swing.JTextField | +--com.sssw.rt.jform.AgcJTextField | +--com.sssw.rt.jform.AgcJValueField | +--com.sssw.rt.jform.AgcJBigDecimalField
A lightweight component that displays a BigDecimal value and accepts numeric input from the user. It can be bound to a database column.
SilverStream associates the PlainDocument model with AgcJBigDecimalField.
To create a BigDecimal field in the Form Designer, insert a text field component. Then, on its property sheet, set the data type to BigDecimal.
Patterns and styles are not currently supported for BigDecimals. For information on display patterns and styles, see Formatting Patterns and Styles in the online General Reference.
Inner classes inherited from class javax.swing.JTextField |
JTextField.AccessibleJTextField |
Inner classes inherited from class javax.swing.text.JTextComponent |
JTextComponent.AccessibleJTextComponent,
JTextComponent.KeyBinding |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Fields inherited from class com.sssw.rt.jform.AgcJTextField |
NO_LIMIT |
Fields inherited from class javax.swing.JTextField |
notifyAction |
Fields inherited from class javax.swing.text.JTextComponent |
DEFAULT_KEYMAP,
FOCUS_ACCELERATOR_KEY |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
AgcJBigDecimalField()
Creates an empty field that accepts numeric input. |
Method Summary | |
BigDecimal |
getValue()
Gets the field value as a BigDecimal object. |
void |
setValue(BigDecimal n)
Sets the field value. |
Methods inherited from class com.sssw.rt.jform.AgcJValueField |
format,
getDisplayPattern,
getDisplayStyle,
parse,
setDisplayPattern,
setDisplayStyle |
Methods inherited from class com.sssw.rt.jform.AgcJTextField |
getEmptyStringIsNull,
getMaxLength,
getMinLength,
setEmptyStringIsNull,
setMaxLength,
setMinLength |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
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.AgiHelpInfo |
getHelpInfo,
setHelpInfo |
Constructor Detail |
public AgcJBigDecimalField()
Method Detail |
public BigDecimal getValue()
public void setValue(BigDecimal n)
n
- a BigDecimal object whose value you want to display in the
control
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |