Class TSliderWidget.Flat
java.lang.Object
com.thecsdev.common.scene.Node<TElement>
com.thecsdev.commonmc.api.client.gui.TElement
com.thecsdev.commonmc.api.client.gui.widget.TClickableWidget
com.thecsdev.commonmc.api.client.gui.widget.TButtonWidget
com.thecsdev.commonmc.api.client.gui.widget.TSliderWidget
com.thecsdev.commonmc.api.client.gui.widget.TSliderWidget.Flat
- All Implemented Interfaces:
INode<TElement>, INodeBounded<TElement,Bounds2i>, INodeRenderable<TElement, TGuiGraphics>, Iterable<TElement>, Collection<TElement>
- Enclosing class:
TSliderWidget
TSliderWidget whose visual appearance is more flat and does not
use the vanilla button texture.-
Nested Class Summary
Nested classes/interfaces inherited from class TSliderWidget
TSliderWidget.FlatNested classes/interfaces inherited from class TButtonWidget
TButtonWidget.Paintable, TButtonWidget.Transparent -
Field Summary
Fields inherited from class TButtonWidget
LBL_PAD_X, LBL_PAD_YFields inherited from class TClickableWidget
eClicked, ONCLICK_SOUNDFields inherited from class TElement
eInitialized -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidrenderBackground(@NotNull TGuiGraphics pencil) Renders the background of thisTSliderWidget.final voidrenderKnob(@NotNull TGuiGraphics pencil, @NotNull Bounds2i kbb) Renders the knob of thisTSliderWidget.Methods inherited from class TSliderWidget
inputCallback, knobSizeProperty, postRenderCallback, refreshKnobQuietly, renderCallback, valuePropertyMethods inherited from class TButtonWidget
getLabel, initCallbackMethods inherited from class TClickableWidget
click, clickCallback, dragEndCallback, dragStartCallback, enabledProperty, focusLostCallback, getCursor, hoverGainedCallback, isFocusable, pressedPropertyMethods inherited from class TElement
addRel, boundsProperty, clearAndInit, clipsDescendantsProperty, contextMenuProperty, findElementAt, focusableProperty, focusGainedCallback, forEachVisible, getBaseType, getBounds, getClient, getContentBounds, getSelf, getTooltip, hoverableProperty, hoverLostCallback, invalidateTooltipCache, isFocused, isHoverable, isHovered, isHoveredOrFocused, isVisible, move, moveChildren, moveTo, removeRel, screenProperty, setBounds, setBounds, setBounds, showContextMenu, tickCallback, tooltipProperty, toString, visiblePropertyMethods inherited from class Node
add, addAll, childAddedCallback, childRemovedCallback, clear, contains, containsAll, equals, findChild, findParent, findSibling, forEach, get, getFirst, getLast, getParent, hashCode, indexOf, isEmpty, iterator, parentProperty, remove, remove, remove, removeAll, retainAll, rootProperty, size, toArray, toArray
-
Constructor Details
-
Flat
public Flat()
-
-
Method Details
-
renderBackground
Description copied from class:TSliderWidgetRenders the background of thisTSliderWidget.- Overrides:
renderBackgroundin classTSliderWidget
-
renderKnob
Description copied from class:TSliderWidgetRenders the knob of thisTSliderWidget.- Overrides:
renderKnobin classTSliderWidget
-