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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn orientation for outline panes -
Method Summary
Modifier and TypeMethodDescription@NotNull Orientable.OrientationGets the orientation of this outline panestatic voidload(@NotNull Orientable orientable, @NotNull Element element) Loads all elements regarding aOrientablePanefor the specified pane.voidsetOrientation(@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 aOrientablePanefor 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
-