|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cbse.jeasy.JEObject
de.cbse.jeasy.JEComponent
de.cbse.jeasy.JESpinner
public class JESpinner
Implements a JSpinner.
See a demonstration in the program JEasyExample tab "Components".
Properties :
| Field Summary |
|---|
| Fields inherited from class de.cbse.jeasy.JEComponent |
|---|
animated, backup, buttonBehind, caretPosition, component, endMarkPosition, enterPressed, isPressed, jeButtonBehind, label, labelBehind, labelText, parentId, scrollPane, tree, treeNode, window |
| Constructor Summary | |
|---|---|
JESpinner(JELocaleProperties hm)
Reads the properties from a HashMap |
|
JESpinner(JENode jen)
Constructor based on a XML file parsed to a TreeNode. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the JTextfield |
int |
getColumns()
Gets the maximal width of the textfield in characters. |
java.lang.String |
getLastValidText()
|
java.lang.String |
getText()
Gets the text of the JSpinner |
javax.swing.JFormattedTextField |
getTextField()
Return the formatted text field used by the editor, or null if the editor doesn't descend from JSpinner.DefaultEditor. |
java.lang.String |
getValue()
Gets the object of the JSpinner |
protected void |
init()
Initialization of the SWING objects. |
boolean |
isEditable()
Gets whether the component is editable or not |
void |
setEditable(boolean b)
Makes the component editable or not |
void |
setupComponent()
Set the property values to the component. |
void |
setValue(java.lang.String obj)
Sets the object of the JSpinner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JESpinner(JELocaleProperties hm)
hm - HashMappublic JESpinner(JENode jen)
jen - JESaxParser| Method Detail |
|---|
public void setEditable(boolean b)
public boolean isEditable()
isEditable in class JEComponentpublic void clear()
public java.lang.String getLastValidText()
public int getColumns()
getColumns in class JEComponentpublic javax.swing.JFormattedTextField getTextField()
protected void init()
init in class JEComponentpublic void setupComponent()
setupComponent in class JEComponentpublic java.lang.String getText()
public java.lang.String getValue()
getValue in class JEComponentpublic void setValue(java.lang.String obj)
setValue in class JEComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||