|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.swing.JCMultiSelectList.JCFixedCenterLayout
Internal layout.
Field Summary | |
protected Component |
center
|
protected Component |
east
|
protected int |
hgap
|
protected Component |
west
|
Constructor Summary | |
JCMultiSelectList.JCFixedCenterLayout()
Constructs a new layout with no gap between components. |
|
JCMultiSelectList.JCFixedCenterLayout(int hgap)
Constructs a layout with the specified gaps between components. |
Method Summary | |
void |
addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout. |
void |
addLayoutComponent(String name,
Component comp)
We are forced to support it by LayoutManager . |
int |
getHgap()
Returns the horizontal gap between components. |
float |
getLayoutAlignmentX(Container parent)
Returns the alignment along the X axis. |
float |
getLayoutAlignmentY(Container parent)
Returns the alignment along the Y axis. |
void |
invalidateLayout(Container target)
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. |
void |
layoutContainer(Container target)
Lays out the target argument using this layout. |
Dimension |
maximumLayoutSize(Container target)
Determines the maximum size of the target. |
Dimension |
minimumLayoutSize(Container target)
Determines the minimum size of the target. |
Dimension |
preferredLayoutSize(Container target)
Determines the preferred size of the target. |
void |
removeLayoutComponent(Component component)
Removes the specified component from this layout. |
void |
setHgap(int hgap)
Sets the horizontal gap between components. |
String |
toString()
Returns a String representation of the state of this layout. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int hgap
protected Component west
protected Component east
protected Component center
Constructor Detail |
public JCMultiSelectList.JCFixedCenterLayout()
public JCMultiSelectList.JCFixedCenterLayout(int hgap)
hgap
- Method Detail |
public int getHgap()
public void setHgap(int hgap)
hgap
- public void addLayoutComponent(Component comp, Object constraints)
addLayoutComponent
in interface LayoutManager2
comp
- constraints
- public void addLayoutComponent(String name, Component comp)
LayoutManager
.
addLayoutComponent
in interface LayoutManager
name
- comp
- public void removeLayoutComponent(Component component)
removeLayoutComponent
in interface LayoutManager
component
- public Dimension minimumLayoutSize(Container target)
minimumLayoutSize
in interface LayoutManager
target
-
public Dimension preferredLayoutSize(Container target)
preferredLayoutSize
in interface LayoutManager
target
-
public Dimension maximumLayoutSize(Container target)
maximumLayoutSize
in interface LayoutManager2
target
-
public float getLayoutAlignmentX(Container parent)
getLayoutAlignmentX
in interface LayoutManager2
parent
-
public float getLayoutAlignmentY(Container parent)
getLayoutAlignmentY
in interface LayoutManager2
parent
-
public void invalidateLayout(Container target)
invalidateLayout
in interface LayoutManager2
target
- public void layoutContainer(Container target)
layoutContainer
in interface LayoutManager
target
- public String toString()
toString
in class Object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |