|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.FlowLayout
com.altair.hwm.beans.utils.HWMSingleColumnLayout
public class HWMSingleColumnLayout
Title: HWMSingleColumnLayout
Description: This class will be created for each category of beans found. When the user selects a category in HWMBeanMgr, the appropriate HWMBeanCategoryPanel is displayed.
This will contain all the beans present under this category. It will go through each bean and create a button for it which the user can drag and drop into the page bean.
Company: Altair Engineering, Inc.
| Field Summary | |
|---|---|
static int |
CENTER_JUSTIFIED
|
static int |
LEFT_JUSTIFIED
|
| Fields inherited from class java.awt.FlowLayout |
|---|
CENTER, LEADING, LEFT, RIGHT, TRAILING |
| Constructor Summary | |
|---|---|
HWMSingleColumnLayout()
Default Constructor |
|
HWMSingleColumnLayout(int nJustification,
boolean bRetainSize)
Constructor |
|
| Method Summary | |
|---|---|
void |
layoutContainer(java.awt.Container containerTarget)
Called for laying out the children in the target container |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container containerTarget)
Returns the minimum dimensions for the target container |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container containerTarget)
Returns the preferred size for the targetContainer. |
| Methods inherited from class java.awt.FlowLayout |
|---|
addLayoutComponent, getAlignment, getHgap, getVgap, removeLayoutComponent, setAlignment, setHgap, setVgap, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CENTER_JUSTIFIED
public static final int LEFT_JUSTIFIED
| Constructor Detail |
|---|
public HWMSingleColumnLayout()
public HWMSingleColumnLayout(int nJustification,
boolean bRetainSize)
nJustification - The way the components should be justifiedbRetainSize - If false, all the children are set to the max
size of a component. Else, each component will
retain its preferred size.| Method Detail |
|---|
public java.awt.Dimension preferredLayoutSize(java.awt.Container containerTarget)
preferredLayoutSize in interface java.awt.LayoutManagerpreferredLayoutSize in class java.awt.FlowLayoutcontainerTarget - The container on which the components should be
placed
public java.awt.Dimension minimumLayoutSize(java.awt.Container containerTarget)
minimumLayoutSize in interface java.awt.LayoutManagerminimumLayoutSize in class java.awt.FlowLayoutcontainerTarget - The container on which the components should be
placed
public void layoutContainer(java.awt.Container containerTarget)
layoutContainer in interface java.awt.LayoutManagerlayoutContainer in class java.awt.FlowLayoutcontainerTarget - The container on which the components should be
placed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||