Widget.NotifyEvent| Constructor and Description |
|---|
Slider() |
add, find, find, getLayout, getNumWidgets, getWidget, getWidget, isAccurateMouseOver, isOver, isOverlappingRendering, keyPressed, keyReleased, mouseDragged, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, remove, removeAll, setAccurateMouseOver, setLayout, setOverlappingRendering, updateaddAnimator, addFocusListener, addKeyListener, addMouseFocusListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, focusTraversal, forceSize, getBackground, getBackgroundBorder, getBackgroundColor, getBackgroundFocus, getBackgroundOver, getBackgroundPress, getBorderSize, getConstraint, getDisableFade, getHeight, getHeightOnScreen, getInsets, getInsetsBottom, getInsetsHeight, getInsetsLeft, getInsetsRight, getInsetsTop, getInsetsWidth, getLocation, getLocationAnchor, getLocationOnScreen, getLocationRef, getLocationRef2, getLocationRefAnchor, getLocationX, getLocationXOnScreen, getLocationY, getLocationYOnScreen, getMaxHeight, getMaxWidth, getMenuPopup, getMinHeight, getMinHeightWidget, getMinWidth, getMinWidthWidget, getName, getOpacity, getParent, getPopup, getRoot, getStyle, getTooltip, getViewport, getViewportInternal, getWidth, getWidthOnScreen, hasFocus, isAutoPackHeight, isAutoPackWidth, isEnabled, isEnabledHerited, isEventsOnExternalDrag, isExternalDrag, isFocusable, isMouseDown, isMouseOver, isMouseOverOrDown, isVisible, isVisibleAndEnabledHerited, isVisibleHerited, mouseClicked, mouseEntered, mouseExited, refreshFocus, removeAnimator, removeFocusListener, removeKeyListener, removeMouseFocusListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, render, requestFocus, setAutoPack, setAutoPackHeight, setAutoPackWidth, setBackground, setBackgroundBorder, setBackgroundColor, setBackgroundFocus, setBackgroundOver, setBackgroundPress, setBorderSize, setCatchAllEvents, setEnabled, setEventsOnExternalDrag, setExternalDrag, setFocusable, setFocusOwner, setInsets, setInsets, setLocation, setLocation, setLocationAnchor, setLocationAndAnchorInViewport, setLocationRef, setLocationRef2, setLocationRefAnchor, setMaxSize, setMaxSize, setMenuPopup, setMinSize, setMinSize, setName, setOpacity, setPopup, setSize, setSize, setStyle, setTooltip, setVisible, toString, uiFireActionpublic void setOrientation(Orientation orientation)
public final Orientation getOrientation()
public final float getPercent()
public final void setPercent(float newPercent)
newPercent - set value in range [0;1]public final float getValue()
getMaxValue()public final void setValue(float newValueInt)
public final void setMinValue(int minValue)
minValue - maximum integer valuepublic final int getMinValue()
public final void setMaxValue(int maxValue)
maxValue - maximum integer valuepublic final int getMaxValue()
public final void setStep(int step)
step - when pressing buttonpublic final int getStep()
public final boolean isValueAdjusting()
public final void setLockOnAdjusting(boolean lockOnAdjusting)
lockOnAdjusting - true to lock external value set when user is adjustingpublic final boolean getLockOnAdjusting()
setLockOnAdjusting(boolean)public final void setUseAdjustableButton(boolean useAdjustableButton)
useAdjustableButton - true to show adjustable buttonpublic final boolean isUseAdjustableButton()
setUseAdjustableButton(boolean)public final void setEditable(boolean editable)
public final boolean isEditable()
public final Sprite getSlideBackground()
public final void setSlideBackground(Sprite slideBackground)
slideBackground - public final Sprite getSlideBackgroundPress()
public final void setSlideBackgroundPress(Sprite slideBackgroundPress)
slideBackgroundPress - public final Sprite getSlideBackgroundFocus()
public final void setSlideBackgroundFocus(Sprite slideBackgroundFocus)
slideBackgroundFocus - public void setDisableFade(float disableFade)
setDisableFade in class WidgetdisableFade - set the fade value when this Widget is disabledpublic final Sprite getSlide()
public final void setSlide(Sprite slide)
slide - public final Sprite getSlideOver()
public final void setSlideOver(Sprite slideOver)
slideOver - public final Sprite getSlideFocus()
public final void setSlideFocus(Sprite slideFocus)
slideFocus - public final Sprite getSlideExtra()
public final void setSlideExtra(Sprite slideExtra)
slideExtra - public final boolean addChangeListener(ChangeListener l)
l - listener to register to this widgetpublic final boolean removeChangeListener(ChangeListener listener)
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com