Class Group
-
-
Field Summary
-
Method Summary
Modifier and Type Method Description BooleangetRenders()Whether this component should be rendered. UnitsetRenders(Boolean renders)-
Methods inherited from class org.polyfrost.polyui.component.Drawable
clone, debugDraw, draw, get, getAlpha, getColor, getColorOrNull, getFramebuffer, getPalette, getRenderer, getRotation, getScaleX, getScaleY, getSkewX, getSkewY, needsRedraw, rescale0, setAlpha, setColor, setColorInternal, setNeedsRedraw, setPalette, setRotation, setScaleX, setScaleY, setSkewX, setSkewY, setup, toString -
Methods inherited from class org.polyfrost.polyui.component.Scrollable
accept, fixVisibleSize, getHasVisibleSize, getShouldScroll, getVisibleSize, isScrolling, isScrollingX, isScrollingY, popScroll, pushScroll, recalculate, resetScroll, screenAt, setHasVisibleSize, setShouldScroll, setVisibleSize, tryMakeScrolling -
Methods inherited from class org.polyfrost.polyui.component.Inputtable
acceptsInput, addEventhandler, clearHandlers, getInputState, hasListenersFor, hasListenersFor, isEnabled, isFocusable, isFocused, on, setAcceptsInput, setEnabled, setInputState -
Methods inherited from class org.polyfrost.polyui.component.Component
addChild, addChild, addOperation, addOperation, at, calculateSize, clipChildren, contains, contains, createdWithSetPosition, createdWithSetSize, debugString, get, get, getAlignment, getAt, getChildren, getHeight, getInitialized, getLayoutFlags, getName, getOperations, getPadding, getParent, getParentOrNull, getPolyUI, getSize, getWidth, getX, getY, intersects, isInside, isLayoutIgnored, isOperating, isPositioned, isRawResize, isSizeValid, position, remove, removeChild, removeChild, removeOperation, rescale, set, set, setAt, setHeight, setLayoutFlags, setLayoutIgnored, setName, setPadding, setParent, setRawResize, setSize, setWidth, setX, setY, set_parent, size -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getRenders
Boolean getRenders()
Whether this component should be rendered.
This is controlled by clipChildren to save resources by not drawing components which cannot be seen.
- Since:
0.21.4
-
setRenders
Unit setRenders(Boolean renders)
-
-
-
-