Interface Orientable
- All Known Implementing Classes:
Label
,MasonryPane
,OutlinePane
,PercentageBar
,Slider
,VariableBar
public interface Orientable
An interface for panes that can have different orientations
- Since:
- 0.3.0
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
An orientation for outline panes -
Method Summary
Modifier and TypeMethodDescription@NotNull Orientable.Orientation
Gets the orientation of this outline panestatic void
load
(@NotNull Orientable orientable, @NotNull Element element) Loads all elements regarding aOrientable
Pane
for the specified pane.void
setOrientation
(@NotNull Orientable.Orientation orientation) Sets the orientation of this outline pane
-
Method Details
-
getOrientation
Gets the orientation of this outline pane- Returns:
- the orientation
- Since:
- 0.3.0
-
setOrientation
Sets the orientation of this outline pane- Parameters:
orientation
- the new orientation- Since:
- 0.3.0
-
load
Loads all elements regarding aOrientable
Pane
for the specified pane. The mutable pane contains the changes made.- Parameters:
orientable
- the orientable pane's elements to be appliedelement
- the XML element for this pane- Since:
- 0.3.0
-