MetaDone
metadone.client.grasyla2.visuallibrary.widgets.W_Box Class Reference
Inheritance diagram for metadone.client.grasyla2.visuallibrary.widgets.W_Box:
Collaboration diagram for metadone.client.grasyla2.visuallibrary.widgets.W_Box:

List of all members.

Public Member Functions

 W_Box (Scene scene, boolean horizontal)
void setGap (int gap)
void setAlignment (SerialAlignment align)
void setOrientation (boolean horizontal)

Private Member Functions

void setLayout (SerialAlignment align, Boolean horizontal, Integer gap)

Detailed Description

A simple widget with methods to control its layout.

Author:
kma
See also:
SpringFlowLayout

Constructor & Destructor Documentation

metadone.client.grasyla2.visuallibrary.widgets.W_Box.W_Box ( Scene  scene,
boolean  horizontal 
)

Initializes this widget.

Parameters:
sceneThe scene
horizontalWhether the widget should be horizontal

References metadone.client.grasyla2.visuallibrary.widgets.W_Box.setLayout().


Member Function Documentation

void metadone.client.grasyla2.visuallibrary.widgets.W_Box.setAlignment ( SerialAlignment  align)

Sets the alignment.

Parameters:
alignThe new alignment
See also:
SpringFlowLayout.getSerialAlignment()

References metadone.client.grasyla2.visuallibrary.widgets.W_Box.setLayout().

void metadone.client.grasyla2.visuallibrary.widgets.W_Box.setGap ( int  gap)

Sets the gap.

Parameters:
gapThe new gap
See also:
SpringFlowLayout.getGap()

References metadone.client.grasyla2.visuallibrary.widgets.W_Box.setLayout().

void metadone.client.grasyla2.visuallibrary.widgets.W_Box.setOrientation ( boolean  horizontal)

Sets the orientation.

Parameters:
horizontalWhether the new orientation is horizontal
See also:
SpringFlowLayout.getVerticalOrientation()

References metadone.client.grasyla2.visuallibrary.widgets.W_Box.setLayout().


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