|
EspressReport ES v 6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--quadbase.reportorganizer.server.VerticalLayout
A vertical layout manager which arranges its components in a stack. Components take on their preferredSize, as with FlowLayout, and can be left-, center-, or right-aligned. This class should be generalized into a VariableGridLayout with optional row-major or column-major ordering for MxN components; right now it's just Mx1.
| Field Summary | |
static int |
CENTER
The center alignment value. |
static int |
LEFT
The left alignment value. |
static int |
RIGHT
The right alignment value. |
| Constructor Summary | |
VerticalLayout()
Constructs a new Vertical Layout with the default left alignment. |
|
VerticalLayout(int align)
Constructs a new Vertical Layout with the specified alignment. |
|
VerticalLayout(int align,
int hgap,
int vgap)
Constructs a new Vertical Layout with the specified alignment and gap values. |
|
| Method Summary | |
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Adds the specified component to the layout. |
void |
layoutContainer(java.awt.Container target)
Lays out the container. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target)
Returns the minimum dimensions needed to layout the components contained in the specified target container. |
static java.awt.Panel |
newVerticalPanel()
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target)
Returns the preferred dimensions for this layout given the components in the specified target container. |
void |
removeLayoutComponent(java.awt.Component comp)
Removes the specified component from the layout. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int LEFT
public static final int CENTER
public static final int RIGHT
| Constructor Detail |
public VerticalLayout()
public VerticalLayout(int align)
align - the alignment value
public VerticalLayout(int align,
int hgap,
int vgap)
align - the alignment valuehgap - the horizontal gap variablevgap - the vertical gap variable| Method Detail |
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
addLayoutComponent in interface java.awt.LayoutManagername - the name of the componentcomp - the the component to be addedpublic void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent in interface java.awt.LayoutManagercomp - the component to removepublic java.awt.Dimension preferredLayoutSize(java.awt.Container target)
preferredLayoutSize in interface java.awt.LayoutManagertarget - the component which needs to be laid outContainer,
minimumLayoutSize(java.awt.Container)public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize in interface java.awt.LayoutManagertarget - the component which needs to be laid outpreferredLayoutSize(java.awt.Container)public void layoutContainer(java.awt.Container target)
layoutContainer in interface java.awt.LayoutManagertarget - the specified component being laid out.Containerpublic static java.awt.Panel newVerticalPanel()
|
EspressReport ES v 6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||