public class GUISlider extends GUIelement
CHECKBOX, READOUT, SELECTBOX, SLIDER
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGUIelementName() |
void |
increaseValue(boolean forward,
boolean fast)
Deprecated.
|
void |
increaseValue(float step)
Increase the current value by the step provided.
|
void |
paint(javafx.scene.canvas.GraphicsContext gc,
double x,
double y)
Paint this
GUIelement on some place on the
GraphicsContext provided, on position, determined by the x and y
arguments. |
void |
setGUITab(GUITab gut)
Set the respective
GUITab this GUIelement is on to the
one provided. |
void |
setValue(int value) |
java.lang.String |
shortDesc() |
addElementTypeMapping, addFloatProperty, addGlobalElementMapping, addIntegerProperty, addMapping, addProperty, addStringProperty, addTags, copyPropertiesTo, getColor1, getColor2, getColor3, getColor4, getContextDependantName, getElementTypeMappingManager, getGlobalElementMappingManager, getGUIPanel, getHeight, getId2NameMap, getId2PropertyMap, getLastPositionDrawnTo, getMax, getMenu, getMin, getModuleGUIID, getName, getName2IdMap, getProperty2idMap, getPropertyById, getPropertyByName, getRegister, getTags, getThisInstanceMappingManager, getUniqueName, getValue, getWidth, hasTag, isDeleted, isEnabled, isFocused, isSelected, isVisible, isWithinBounds, makeCopy, notifyAboutKeyPress, recalculateUniqueName, recompileEvents, removeAllTags, removeTags, requestRepaint, setDeleted, setEnabled, setFloatProperty, setFocused, setGUIPanel, setId2NameMap, setId2PropertyMap, setIntegerProperty, setMenu, setModuleGUIID, setName, setName2IdMap, setProperty2idMap, setRegister, setSelected, setStringProperty, setValue, setVisible, update
public GUISlider()
public GUISlider(GUITab gut)
public void setValue(int value)
public java.lang.String shortDesc()
shortDesc
in class GUIelement
public void setGUITab(GUITab gut)
GUIelement
GUITab
this GUIelement
is on to the
one provided.setGUITab
in class GUIelement
public void increaseValue(float step)
step
- How much to increase the value by (can be a negative number)@Deprecated public void increaseValue(boolean forward, boolean fast)
public java.lang.String getGUIelementName()
getGUIelementName
in class GUIelement
GUIelement
.public void paint(javafx.scene.canvas.GraphicsContext gc, double x, double y)
GUIelement
GUIelement
on some place on the
GraphicsContext
provided, on position, determined by the x and y
arguments.paint
in class GUIelement
gc
- the GraphicsContext
to draw tox
- the x position to draw toy
- the y position to draw to