LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing.component
Class LyAbstractChoicePanelManager

java.lang.Object
  extended by leon.view.win.swing.component.LyAbstractChoicePanelManager

public abstract class LyAbstractChoicePanelManager
extends java.lang.Object

Handles choice panel management.


Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyAbstractChoicePanelManager(java.awt.Container panel)
          Class constructor of a choice panel manager.
 
Method Summary
 java.awt.Dimension getMinimumSize()
          Gets the minimum size of this component.
 java.awt.Dimension getPreferredSize()
          Retreives the preferred size for this Panel.
 void setFill(LyChoiceBase.Fill fill)
          Sets the filling policy of the choice panel container.
 void setMaxSpan(int maxSpan)
          Sets the maximum number of objects on one line. -1 for auto.
abstract  java.awt.Dimension superGetPreferredSize()
          Gets the preferred size of the choice panel parent.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyAbstractChoicePanelManager

public LyAbstractChoicePanelManager(java.awt.Container panel)
Class constructor of a choice panel manager.

Parameters:
panel - the choice panel component
Method Detail

setMaxSpan

public void setMaxSpan(int maxSpan)
Sets the maximum number of objects on one line. -1 for auto.

Parameters:
maxSpan - the number of objects in the panel

setFill

public void setFill(LyChoiceBase.Fill fill)
Sets the filling policy of the choice panel container.

Parameters:
fill - LyChoiceBase.FILL_HORIZONTAL or LyChoiceBase.FILL_VERTICAL

superGetPreferredSize

public abstract java.awt.Dimension superGetPreferredSize()
Gets the preferred size of the choice panel parent.

Returns:
the preferred size of the panel parent

getPreferredSize

public java.awt.Dimension getPreferredSize()
Retreives the preferred size for this Panel.

Returns:
the preferred size of the panel

getMinimumSize

public java.awt.Dimension getMinimumSize()
Gets the minimum size of this component. This is the same size as the preferred size.

Returns:
the minimum size used by this panel.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com