Class Group
-
-
Field Summary
Fields Modifier and Type Field Description private Booleanrendersprivate Vec2visibleSizeprivate final Rendererrendererprivate final Framebufferframebufferprivate PolyColor_colorprivate PolyColorcolorprivate Colors.Palette_paletteprivate Colors.Palettepaletteprivate BooleanneedsRedrawprivate Doublerotationprivate DoubleskewXprivate DoubleskewYprivate FloatscaleXprivate FloatscaleYprivate Floatalphaprivate BooleanhasVisibleSizeprivate final Booleanscrollingprivate final BooleanscrollingXprivate final BooleanscrollingYprivate BooleanshouldScrollprivate final Vec2screenAtprivate BooleanacceptsInputprivate BooleanisEnabledprivate ByteinputStateprivate final Booleanfocusedprivate final Booleanfocusableprivate Stringnameprivate final PolyUIpolyUIprivate final <Error class: unknown class>initializedprivate final <Error class: unknown class><Component>childrenprivate Component_parentprivate Componentparentprivate Alignalignmentprivate Floatxprivate Floatyprivate Vec2atprivate Floatwidthprivate Floatheightprivate Vec2sizeprivate final BooleansizeValidprivate Vec4paddingprivate BytelayoutFlagsprivate BooleanrawResizeprivate BooleanlayoutIgnoredprivate final BooleancreatedWithSetPositionprivate final BooleancreatedWithSetSizeprivate final Booleanpositionedprivate Booleanclippedprivate final <Error class: unknown class><ComponentOp>operationsprivate final <Error class: unknown class>isOperating
-
Method Summary
Modifier and Type Method Description BooleangetRenders()UnitsetRenders(Boolean renders)Whether this component should be rendered. -
Methods inherited from class org.polyfrost.polyui.component.Drawable
clone, debugDraw, draw, get, getAlpha, getColor, getColorOrNull, getColorOrNull, getFramebuffer, getPalette, getRenderer, getRotation, getScaleX, getScaleY, getSkewX, getSkewY, getVisibleSize, isInside, needsRedraw, position, rescale0, setAlpha, setColor, setColorInternal, setColorInternal, setNeedsRedraw, setPalette, setRotation, setScaleX, setScaleY, setSkewX, setSkewY, setVisibleSize, setup -
Methods inherited from class org.polyfrost.polyui.component.Scrollable
accept, fixVisibleSize, getHasVisibleSize, getShouldScroll, isScrolling, isScrollingX, isScrollingY, popScroll, pushScroll, recalculate, resetScroll, screenAt, setHasVisibleSize, setShouldScroll, 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, extraToString, get, get, getAlignment, getAt, getChildren, getHeight, getInitialized, getLayoutFlags, getName, getOperations, getPadding, getParent, getParentOrNull, getPolyUI, getSize, getWidth, getX, getY, intersects, isClipped, isLayoutIgnored, isOperating, isPositioned, isRawResize, isSizeValid, remove, removeChild, removeChild, removeOperation, rescale, set, set, setAlignment, setAt, setClipped, 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()
-
setRenders
Unit setRenders(Boolean renders)
Whether this component should be rendered.
Note: (revised 1.7.385) also returns
falseif the size of this component is invalid. (revised 1.8.1) also returnsfalseif clipped is true.- Since:
0.21.4
-
-
-
-