All Packages Class Hierarchy This Package Previous Next Index
Class fr.l2f.gui.Spinner
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----fr.l2f.gui.Spinner
- public abstract class Spinner
- extends Panel
-
current
-
-
increment
-
-
max
-
-
min
-
-
ORIENTATION_DEFAULT
-
-
ORIENTATION_HORIZONTAL
-
-
ORIENTATION_VERTICAL
-
-
text
-
-
textField
-
-
textWidth
-
-
Spinner()
- Construct an empty Spinner
-
addNotify()
- Called when the Spinner is added to the Container setup
-
getCurrent()
-
-
getCurrentText()
-
-
getEditable()
- Is the Spinner's TextField editable?
-
getMax()
-
-
getMin()
-
-
getOrientation()
-
-
getWrappable()
-
-
processKeyEvent(KeyEvent)
-
-
scrollDown()
-
-
scrollUp()
-
-
setCurrent(int)
-
-
setEditable(boolean)
- Allow/Disallow editing of the Spinner's TextField
-
setLayout(LayoutManager)
-
-
setMax(int)
-
-
setMin(int)
-
-
setOrientation(int)
-
-
setWrappable(boolean)
-
-
updateText()
-
ORIENTATION_VERTICAL
public final int ORIENTATION_VERTICAL
ORIENTATION_HORIZONTAL
public final int ORIENTATION_HORIZONTAL
ORIENTATION_DEFAULT
public final int ORIENTATION_DEFAULT
min
protected int min
max
protected int max
current
protected int current
text
protected String text
textWidth
protected int textWidth
textField
protected TextField textField
increment
protected int increment
Spinner
protected Spinner()
- Construct an empty Spinner
setEditable
public void setEditable(boolean f)
- Allow/Disallow editing of the Spinner's TextField
- Parameters:
- boolean - f true = allow editing;
false = disallow editing
getEditable
public boolean getEditable()
- Is the Spinner's TextField editable?
- Returns:
- boolean true = TextField can be edited;
false = TextField cannot be edited
setWrappable
public void setWrappable(boolean f)
getWrappable
public boolean getWrappable()
setMin
public void setMin(int i)
getMin
public int getMin()
setMax
public void setMax(int i)
getMax
public int getMax()
setCurrent
public void setCurrent(int i)
getCurrent
public int getCurrent()
setOrientation
public void setOrientation(int o)
getOrientation
public int getOrientation()
processKeyEvent
public void processKeyEvent(KeyEvent e)
- Overrides:
- processKeyEvent in class Component
addNotify
public void addNotify()
- Called when the Spinner is added to the Container setup
- Overrides:
- addNotify in class Panel
scrollUp
protected void scrollUp()
scrollDown
protected void scrollDown()
updateText
protected void updateText()
getCurrentText
protected abstract String getCurrentText()
setLayout
public void setLayout(LayoutManager lm)
- Overrides:
- setLayout in class Container
All Packages Class Hierarchy This Package Previous Next Index