|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--planetj.gui.CMPanelJ | +--planetj.gui.CMIncreaserDecreaser
This is basically a spinner that can increase a value or decrease a value of its related text field Creation date: (6/5/00 5:23:02 PM)
Field Summary |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, 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 |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
CMIncreaserDecreaser()
CMIncreaserDecreaser constructor comment. |
|
CMIncreaserDecreaser(boolean isDoubleBuffered)
CMIncreaserDecreaser constructor comment. |
|
CMIncreaserDecreaser(LayoutManager layout)
CMIncreaserDecreaser constructor comment. |
|
CMIncreaserDecreaser(LayoutManager layout,
boolean isDoubleBuffered)
CMIncreaserDecreaser constructor comment. |
Method Summary | |
void |
decreaseAttribute()
decreaseAttribute will decrease the value of the related text field by 1. |
CMNumberField |
getRelatedTextField()
This will return the related NumberField Creation date: (6/5/00 6:51:13 PM) |
void |
increaseAttribute()
increaseAttribute increases the value of the related text field by 1 |
static void |
main(String[] args)
main entrypoint - starts the part when it is run as an application |
void |
setRelatedTextField(CMNumberField newRelatedTextField)
Sets the related text field. |
Methods inherited from class planetj.gui.CMPanelJ |
showBusyCursor, showDefaultCursor, showException, showException, showException |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CMIncreaserDecreaser()
public CMIncreaserDecreaser(LayoutManager layout)
layout
- java.awt.LayoutManagerpublic CMIncreaserDecreaser(LayoutManager layout, boolean isDoubleBuffered)
layout
- java.awt.LayoutManagerisDoubleBuffered
- booleanpublic CMIncreaserDecreaser(boolean isDoubleBuffered)
isDoubleBuffered
- booleanMethod Detail |
public void decreaseAttribute()
public CMNumberField getRelatedTextField()
public void increaseAttribute()
public static void main(String[] args)
args
- java.lang.String[]public void setRelatedTextField(CMNumberField newRelatedTextField)
newRelatedTextField
- planetj.gui.CMNumberField
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |