|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.KeyAdapter
org.stellarium.ui.components.StellariumComponent
org.stellarium.ui.components.CallbackComponent
org.stellarium.ui.components.StelContainer
org.stellarium.ui.components.IntIncDec
public class IntIncDec
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.stellarium.ui.components.StellariumComponent |
---|
StellariumComponent.S_GUI_VALUE |
Field Summary | |
---|---|
(package private) TexturedButton
|
btless
|
(package private) TexturedButton
|
btmore
|
(package private) int |
inc
|
(package private) StelLabel
|
label
|
(package private) int |
max
|
(package private) int |
min
|
(package private) int |
value
|
Fields inherited from class org.stellarium.ui.components.StelContainer |
---|
childs |
Fields inherited from class org.stellarium.ui.components.CallbackComponent |
---|
isMouseOver, onMouseInOutCallback,
onPressCallback
|
Fields inherited from class org.stellarium.ui.components.StellariumComponent |
---|
active, defaultPainter, desktop, focus, focusing, guiBaseColor, guiColorSchemeMember,
guiTextColor, moveToFront, needNewTopEdit, painter, pos, scissor, size, type, visible |
Constructor Summary | |
---|---|
IntIncDec(SFontIfc someFont, STexture texUp, STexture texDown, int someMin, int someMax, int initValue,
int someInc)
|
Method Summary | |
---|---|
(package private) void |
decValue()
|
void |
draw()
|
float |
getValue()
|
protected void |
incValue()
|
void |
setValue(int v)
|
Methods inherited from class org.stellarium.ui.components.StelContainer |
---|
addComponent,
Filleddraw, keyPressed,
mouseClicked,
mouseMoved,
removeAllComponents,
removeComponent,
setColorScheme,
setFocus |
Methods inherited from class org.stellarium.ui.components.CallbackComponent |
---|
callbackOnClic,
callbackOnMove,
getActive, getFocus, getIsMouseOver, getPos, getPosx, getPosy, getSize, getSizeX, getSizeY, getVisible, setActive, setFont,
setOnMouseInOutCallback,
setOnPressCallback,
setPos, setPos,
setPosx, setPosy, setSize, setSize,
setSizeX, setSizey, setTexture,
setVisible
|
Methods inherited from class org.stellarium.ui.components.StellariumComponent |
---|
deleteScissor, disableScissor, enableScissor, getFont, getNeedNewEdit, getType, inFront, initScissor, isIn, mouseDragged,
mouseEntered,
mouseExited,
mousePressed,
mouseReleased,
mouseWheelMoved,
reshape,
reshape,
setBaseColor,
setDefaultPainter,
setGUIColorSchemeMember,
setInFront, setNeedNewEdit,
setOpaque, setPainter,
setTextColor
|
Methods inherited from class java.awt.event.KeyAdapter |
---|
keyReleased, keyTyped |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int value
int min
int max
int inc
TexturedButton btmore
TexturedButton btless
StelLabel label
Constructor Detail |
---|
public IntIncDec(SFontIfc someFont, STexture texUp, STexture texDown, int someMin, int someMax, int initValue, int someInc)
Method Detail |
---|
public void draw()
draw
in class
StelContainer
public float getValue()
public void setValue(int v)
protected void incValue()
void decValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |