|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.objectwave.tools.propertyEditor.AbstractLayout
| Field Summary | |
protected int |
hgap
|
protected int |
vgap
|
| Constructor Summary | |
AbstractLayout()
|
|
AbstractLayout(int hgap,
int vgap)
|
|
| Method Summary | |
void |
addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
Add the specified component from the layout. |
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Adds the specified component with the specified name to the layout. |
int |
getHgap()
Get the horizontal gap between components. |
float |
getLayoutAlignmentX(java.awt.Container parent)
Returns the alignment along the x axis. |
float |
getLayoutAlignmentY(java.awt.Container parent)
Returns the alignment along the y axis. |
int |
getVgap()
Get the vertical gap between components. |
void |
invalidateLayout(java.awt.Container target)
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. |
java.awt.Dimension |
maximumLayoutSize(java.awt.Container target)
Returns the maximum dimensions for this layout given the component in the specified target container. |
void |
removeLayoutComponent(java.awt.Component comp)
Removes the specified component from the layout. |
void |
setHgap(int gap)
Set the horizontal gap between components. |
void |
setVgap(int gap)
Set the vertical gap between components. |
java.lang.String |
toString()
Return a string representation of the layout manager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.LayoutManager |
layoutContainer, minimumLayoutSize, preferredLayoutSize |
| Field Detail |
protected int hgap
protected int vgap
| Constructor Detail |
public AbstractLayout()
public AbstractLayout(int hgap,
int vgap)
| Method Detail |
public void addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
addLayoutComponent in interface java.awt.LayoutManager2comp - The component to be addedconstraints - The constraints to apply when laying out.
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
addLayoutComponent in interface java.awt.LayoutManagername - The name of the componentcomp - The component to be addedpublic int getHgap()
public float getLayoutAlignmentX(java.awt.Container parent)
getLayoutAlignmentX in interface java.awt.LayoutManager2public float getLayoutAlignmentY(java.awt.Container parent)
getLayoutAlignmentY in interface java.awt.LayoutManager2public int getVgap()
public void invalidateLayout(java.awt.Container target)
invalidateLayout in interface java.awt.LayoutManager2public java.awt.Dimension maximumLayoutSize(java.awt.Container target)
maximumLayoutSize in interface java.awt.LayoutManager2target - The component which needs to be laid outpublic void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent in interface java.awt.LayoutManagercomp - the component to be removedpublic void setHgap(int gap)
gap - The horizontal gap to be setpublic void setVgap(int gap)
gap - The vertical gap to be setpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||