MetaDone
|
Public Member Functions | |
WidgetRectangleShape (Scene scene) | |
StackingStrategy | getDefaultStrategy () |
boolean | isConformStrategy (Class<?extends StackingStrategy > strategy) |
Protected Member Functions | |
Shape | getPaintedShape () |
A rectangle shape.
metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRectangleShape.WidgetRectangleShape | ( | Scene | scene | ) |
Initializes this shape.
scene | The scene |
StackingStrategy metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRectangleShape.getDefaultStrategy | ( | ) | [virtual] |
Gets an instance of a default stacking strategy conform to this shape.
Implements metadone.client.grasyla2.visuallibrary.widgets.backgrounds.AbstractWidgetShape.
References metadone.client.grasyla2.visuallibrary.widgets.layouts.StackingLayout.StackingStrategy.DEFAULT_STRATEGY.
Shape metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRectangleShape.getPaintedShape | ( | ) | [protected, virtual] |
Gets a shape that is painted in the background.
Implements metadone.client.grasyla2.visuallibrary.widgets.backgrounds.AbstractWidgetShape.
boolean metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRectangleShape.isConformStrategy | ( | Class<?extends StackingStrategy > | strategy | ) | [virtual] |
Checks if a strategy is conform to the shape.
Usually the implementation is:
return MyCustomStrategy.class.isAssignableFrom(strategy);
The | strategy to check |
NullPointerException | when strategy is null |
Implements metadone.client.grasyla2.visuallibrary.widgets.backgrounds.AbstractWidgetShape.