public class Slider extends Panel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DOWN_ID |
static java.lang.String |
ELEMENT_ID |
static java.lang.String |
LEFT_ID |
static java.lang.String |
RANGE_ID |
static java.lang.String |
RIGHT_ID |
static java.lang.String |
THUMB_ID |
static java.lang.String |
UP_ID |
EFFECT_CLOSE, EFFECT_OPEN, LAYER_BACKGROUND, LAYER_BORDER, LAYER_INSETS
batchHint, controls, cullHint, frustrumIntersects, key, localLights, localOverrides, localTransform, name, parent, queueBucket, queueDistance, refreshFlags, RF_BOUND, RF_CHILD_LIGHTLIST, RF_LIGHTLIST, RF_MATPARAM_OVERRIDE, RF_TRANSFORM, shadowMode, userData, worldBound, worldLights, worldOverrides, worldTransform
Modifier | Constructor and Description |
---|---|
|
Slider() |
|
Slider(Axis axis) |
|
Slider(Axis axis,
ElementId elementId,
java.lang.String style) |
|
Slider(Axis axis,
java.lang.String style) |
|
Slider(ElementId elementId,
java.lang.String style) |
|
Slider(RangedValueModel model) |
|
Slider(RangedValueModel model,
Axis axis) |
protected |
Slider(RangedValueModel model,
Axis axis,
boolean applyStyles,
ElementId elementId,
java.lang.String style) |
|
Slider(RangedValueModel model,
Axis axis,
ElementId elementId,
java.lang.String style) |
|
Slider(RangedValueModel model,
Axis axis,
java.lang.String style) |
|
Slider(RangedValueModel model,
ElementId elementId) |
|
Slider(RangedValueModel model,
java.lang.String style) |
|
Slider(java.lang.String style) |
Modifier and Type | Method and Description |
---|---|
Button |
getDecrementButton() |
double |
getDelta() |
Button |
getIncrementButton() |
RangedValueModel |
getModel() |
Panel |
getRangePanel() |
Button |
getThumbButton() |
double |
getValueForLocation(com.jme3.math.Vector3f loc)
Returns the slider range value for the specified location
in the slider's local coordinate system.
|
static void |
initializeDefaultStyles(Styles styles,
Attributes attrs) |
protected void |
resetStateView() |
void |
setDelta(double delta) |
void |
setModel(RangedValueModel model) |
protected void |
setupCommands() |
void |
updateLogicalState(float tpf) |
addEffect, addMouseListener, getAlpha, getBackground, getBorder, getEffectControl, getEffects, getElementId, getInsets, getInsetsComponent, getPreferredSize, getSize, getStyle, hasEffect, initializeDefaultStyles, removeEffect, removeMouseListener, runEffect, setAlpha, setAlpha, setBackground, setBorder, setChildAlpha, setEffects, setInsets, setInsetsComponent, setPreferredSize, setSize, toString
attachChild, attachChildAt, breadthFirstTraversal, clone, cloneFields, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, oldDeepClone, read, setLightListRefresh, setLodLevel, setMaterial, setMatParamOverrideRefresh, setModelBound, setParent, setTransformRefresh, swapChildren, updateGeometricState, updateModelBound, updateWorldBound, write
addControl, addLight, addMatParamOverride, breadthFirstTraversal, center, checkCulling, clearMatParamOverrides, clone, forceRefresh, getBatchHint, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalBatchHint, getLocalCullHint, getLocalLightList, getLocalMatParamOverrides, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldMatParamOverrides, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, jmeClone, localToWorld, lookAt, matches, move, move, oldClone, removeControl, removeControl, removeFromParent, removeLight, removeMatParamOverride, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setBatchHint, setBoundRefresh, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setRequiresUpdates, setShadowMode, setUserData, updateMatParamOverrides, updateWorldLightList, updateWorldTransforms, worldToLocal
public static final java.lang.String ELEMENT_ID
public static final java.lang.String UP_ID
public static final java.lang.String DOWN_ID
public static final java.lang.String LEFT_ID
public static final java.lang.String RIGHT_ID
public static final java.lang.String THUMB_ID
public static final java.lang.String RANGE_ID
public Slider()
public Slider(Axis axis)
public Slider(RangedValueModel model)
public Slider(RangedValueModel model, Axis axis)
public Slider(java.lang.String style)
public Slider(ElementId elementId, java.lang.String style)
public Slider(Axis axis, java.lang.String style)
public Slider(RangedValueModel model, java.lang.String style)
public Slider(RangedValueModel model, ElementId elementId)
public Slider(RangedValueModel model, Axis axis, java.lang.String style)
public Slider(RangedValueModel model, Axis axis, ElementId elementId, java.lang.String style)
protected Slider(RangedValueModel model, Axis axis, boolean applyStyles, ElementId elementId, java.lang.String style)
protected final void setupCommands()
public static void initializeDefaultStyles(Styles styles, Attributes attrs)
public void setModel(RangedValueModel model)
public RangedValueModel getModel()
public void setDelta(double delta)
public double getDelta()
public Button getIncrementButton()
public Button getDecrementButton()
public Panel getRangePanel()
public Button getThumbButton()
public double getValueForLocation(com.jme3.math.Vector3f loc)
public void updateLogicalState(float tpf)
updateLogicalState
in class com.jme3.scene.Node
protected void resetStateView()