Package com.simsilica.lemur.component
Class InsetsComponent
java.lang.Object
com.simsilica.lemur.component.AbstractGuiComponent
com.simsilica.lemur.component.InsetsComponent
- All Implemented Interfaces:
GuiComponent
,Cloneable
- Direct Known Subclasses:
DynamicInsetsComponent
-
Constructor Summary
ConstructorsConstructorDescriptionInsetsComponent
(float top, float left, float bottom, float right) InsetsComponent
(float top, float left, float bottom, float right, float front, float back) InsetsComponent
(Insets3f insets) -
Method Summary
Methods inherited from class com.simsilica.lemur.component.AbstractGuiComponent
attach, detach, getGuiControl, getNode, invalidate, isAttached
-
Constructor Details
-
InsetsComponent
public InsetsComponent(float top, float left, float bottom, float right) -
InsetsComponent
public InsetsComponent(float top, float left, float bottom, float right, float front, float back) -
InsetsComponent
-
-
Method Details
-
setInsets
-
getInsets
-
clone
- Specified by:
clone
in interfaceGuiComponent
- Overrides:
clone
in classAbstractGuiComponent
-
calculatePreferredSize
- Specified by:
calculatePreferredSize
in interfaceGuiComponent
-
reshape
- Specified by:
reshape
in interfaceGuiComponent
-