Package lu.kbra.modelizer_next.layout
Class DockedTabGroupState
java.lang.Object
lu.kbra.modelizer_next.layout.DockedTabGroupState
Persistent state of one docked tab group and the panels it contains.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DockedTabGroupStateCreates a default.doubleReturns the height.getId()Returns the ID.Returns the selected tab.getTabs()Returns the tabs.doublegetWidth()Returns the width.doublegetX()Returns the x.doublegetY()Returns the y.voidsetHeight(double height) Sets the height.voidSets the ID.voidsetSelectedTab(PanelType selectedTab) Sets the selected tab.voidSets the tabs.voidsetWidth(double width) Sets the width.voidsetX(double x) Sets the x.voidsetY(double y) Sets the y.toString()Builds a debug string for this docked tab group state.
-
Constructor Details
-
DockedTabGroupState
public DockedTabGroupState()Creates a docked tab group state instance.
-
-
Method Details
-
createDefault
Creates a default.- Returns:
- the created default
-
getHeight
public double getHeight()Returns the height.- Returns:
- the height
-
getId
Returns the ID.- Returns:
- the ID
-
getSelectedTab
Returns the selected tab.- Returns:
- the selected tab
-
getTabs
Returns the tabs.- Returns:
- the tabs
-
getWidth
public double getWidth()Returns the width.- Returns:
- the width
-
getX
public double getX()Returns the x.- Returns:
- the x
-
getY
public double getY()Returns the y.- Returns:
- the y
-
setHeight
public void setHeight(double height) Sets the height.- Parameters:
height- height value
-
setId
Sets the ID.- Parameters:
id- stable id of the model element
-
setSelectedTab
Sets the selected tab.- Parameters:
selectedTab- selected tab value used by the operation
-
setTabs
Sets the tabs.- Parameters:
tabs- values for tabs
-
setWidth
public void setWidth(double width) Sets the width.- Parameters:
width- width value
-
setX
public void setX(double x) Sets the x.- Parameters:
x- x coordinate
-
setY
public void setY(double y) Sets the y.- Parameters:
y- y coordinate
-
toString
Builds a debug string for this docked tab group state.
-