MetaDone
metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRhombShape.RhombStackingStrategy Class Reference
Inheritance diagram for metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRhombShape.RhombStackingStrategy:
Collaboration diagram for metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRhombShape.RhombStackingStrategy:

List of all members.

Public Member Functions

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

Protected Member Functions

Insets computeDynamicInsets (Widget widget, Dimension ch)

Detailed Description

A rhomb stacking strategy.


Constructor & Destructor Documentation

metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRhombShape.RhombStackingStrategy.RhombStackingStrategy ( Alignment  align,
double  ratio 
)

Member Function Documentation

Insets metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRhombShape.RhombStackingStrategy.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.

RhombStackingStrategy metadone.client.grasyla2.visuallibrary.widgets.backgrounds.WidgetRhombShape.RhombStackingStrategy.deriveRatio ( double  ratio)

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