Package com.simsilica.lemur.component
Class AbstractGuiComponent
java.lang.Object
com.simsilica.lemur.component.AbstractGuiComponent
- All Implemented Interfaces:
GuiComponent
- Direct Known Subclasses:
BorderLayout
,BoxLayout
,IconComponent
,InsetsComponent
,QuadBackgroundComponent
,SpringGridLayout
,TbtQuadBackgroundComponent
,TextComponent
,TextEntryComponent
Base implementation of a stackable GuiComponent.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
attach
(GuiControl parent) clone()
void
detach
(GuiControl parent) protected Node
getNode()
protected void
boolean
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.simsilica.lemur.core.GuiComponent
calculatePreferredSize, reshape
-
Constructor Details
-
AbstractGuiComponent
public AbstractGuiComponent()
-
-
Method Details
-
invalidate
protected void invalidate() -
attach
- Specified by:
attach
in interfaceGuiComponent
-
detach
- Specified by:
detach
in interfaceGuiComponent
-
isAttached
public boolean isAttached()- Specified by:
isAttached
in interfaceGuiComponent
-
getGuiControl
- Specified by:
getGuiControl
in interfaceGuiComponent
-
clone
- Specified by:
clone
in interfaceGuiComponent
- Overrides:
clone
in classObject
-
getNode
-