MetaDone
metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetOvalShape.OvalStackingStrategy Class Reference
Inheritance diagram for metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetOvalShape.OvalStackingStrategy:
Collaboration diagram for metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetOvalShape.OvalStackingStrategy:

List of all members.

Public Member Functions

 OvalStackingStrategy (Alignment align, double ratio)
OvalStackingStrategy deriveAlignment (Alignment align)
OvalStackingStrategy deriveRatio (double ratio)

Protected Member Functions

Insets computeDynamicInsets (Widget widget, Dimension ch)
double getHeightMultiplicator (Widget widget, Dimension ch)

Detailed Description

A stacking strategy for an ellipsis.


Constructor & Destructor Documentation

metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetOvalShape.OvalStackingStrategy.OvalStackingStrategy ( Alignment  align,
double  ratio 
)

Member Function Documentation

Insets metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetOvalShape.OvalStackingStrategy.computeDynamicInsets ( Widget  widget,
Dimension  childrenSize 
) [protected]

Computes the additional margins applied to non-stretched elements.

Override this method for custom insets.

Parameters:
widgetThe widget containing the children
childrenSizeThe dimensions of the stacked children
Returns:
A positive integer

Reimplemented from metadone.client.grasyla2.visuallibrary.widgets.layouts.StackingLayout.StackingStrategy.

References metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetOvalShape.OvalStackingStrategy.getHeightMultiplicator().

OvalStackingStrategy metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetOvalShape.OvalStackingStrategy.deriveRatio ( double  ratio)
double metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetOvalShape.OvalStackingStrategy.getHeightMultiplicator ( Widget  widget,
Dimension  ch 
) [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations