Package com.simsilica.lemur.core
Interface GuiComponent
- All Known Implementing Classes:
AbstractGuiComponent
,BorderLayout
,BoxLayout
,DynamicInsetsComponent
,IconComponent
,InsetsComponent
,NAspectPreservingQuadBackground
,NSVGIcon
,QuadBackgroundComponent
,SpringGridLayout
,TbtQuadBackgroundComponent
,TextComponent
,TextEntryComponent
public interface GuiComponent
A member of a component stack that provides sizing or
rendering as part of that stack. A GuiControl manages a stack
of GuiComponents. Each component can contribute
to the overall preferred size of the stack/control and each component
can adjust the position of the next layer in the stack.
Most GuiComponent implementations will manage actual scene graph elements. Some may simply provide extra sizing adjustments like the InsetsComponent.
See package com.simsilica.lemur.component for base GuiComponent implementations.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attach
(GuiControl parent) void
clone()
void
detach
(GuiControl parent) boolean
void
-
Method Details
-
calculatePreferredSize
-
reshape
-
attach
-
detach
-
isAttached
boolean isAttached() -
getGuiControl
GuiControl getGuiControl() -
clone
GuiComponent clone()
-