Interface Flippable
- All Known Implementing Classes:
Label
,OutlinePane
,PatternPane
,PercentageBar
,Slider
,StaticPane
,VariableBar
public interface Flippable
An interface for panes that can be flipped
- Since:
- 0.3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
flipHorizontally
(boolean flipHorizontally) Sets whether this pane should flip its items horizontallyvoid
flipVertically
(boolean flipVertically) Sets whether this pane should flip its items verticallyboolean
Gets whether this pane's items are flipped horizontallyboolean
Gets whether this pane's items are flipped verticallystatic void
-
Method Details
-
flipHorizontally
void flipHorizontally(boolean flipHorizontally) Sets whether this pane should flip its items horizontally- Parameters:
flipHorizontally
- whether the pane should flip items horizontally- Since:
- 0.3.0
-
flipVertically
void flipVertically(boolean flipVertically) Sets whether this pane should flip its items vertically- Parameters:
flipVertically
- whether the pane should flip items vertically- Since:
- 0.3.0
-
isFlippedHorizontally
@Contract(pure=true) boolean isFlippedHorizontally()Gets whether this pane's items are flipped horizontally- Returns:
- true if the items are flipped horizontally, false otherwise
- Since:
- 0.3.0
-
isFlippedVertically
@Contract(pure=true) boolean isFlippedVertically()Gets whether this pane's items are flipped vertically- Returns:
- true if the items are flipped vertically, false otherwise
- Since:
- 0.3.0
-
load
Loads all elements regarding aFlippable
Pane
for the specified pane. The mutable pane contains the changes made.- Parameters:
flippable
- the flippable pane's elements to be appliedelement
- the XML element for this pane- Since:
- 0.3.0
-