Class Group
-
-
Field Summary
-
Method Summary
Modifier and Type Method Description BooleangetClipped()Whether this component should be rendered. UnitsetClipped(Boolean clipped)-
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, 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, createdWithSetPosition, createdWithSetSize, debugString, get, get, getAlignment, getAt, getChildren, getHeight, getInitialized, getLayoutFlags, getName, getPadding, getParent, getParentOrNull, getPolyUI, getSize, getWidth, getX, getY, intersects, isInside, isLayoutIgnored, isOperating, isPositioned, isRawResize, isSizeValid, position, 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
-
getClipped
Boolean getClipped()
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
-
setClipped
Unit setClipped(Boolean clipped)
-
-
-
-