|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.fsa.swing.ColumnRowLayout
$Id: ColumnRowLayout.java,v 1.22 2004/10/20 17:49:44 schneider Exp $ This LayoutManager layouts the components in a column or a row without changing their sizes. This LayoutManager was written as an replacement for the GridLayout with one row or one column.
Field Summary | |
protected de.upb.tools.fca.FTreeMap |
alignments
No comment provided by developer, please add a comment to improve documentation. |
static int |
CENTER
No comment provided by developer, please add a comment to improve documentation. |
static int |
COLUMN
No comment provided by developer, please add a comment to improve documentation. |
protected int |
gap
No comment provided by developer, please add a comment to improve documentation. |
static int |
LEFT
No comment provided by developer, please add a comment to improve documentation. |
protected int |
mode
No comment provided by developer, please add a comment to improve documentation. |
static int |
RIGHT
No comment provided by developer, please add a comment to improve documentation. |
static int |
ROW
No comment provided by developer, please add a comment to improve documentation. |
Constructor Summary | |
ColumnRowLayout()
Constructor for class ColumnRowLayout |
|
ColumnRowLayout(int aGap,
int aMode)
You must specify the gap between the objects and how you would like the the Layouter do his work. |
Method Summary | |
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Access method for an one to n association. |
java.util.Comparator |
getComparator()
Get the comparator attribute of the ColumnRowLayout object |
java.lang.String |
getDelimiter()
Get the delimiter attribute of the ColumnRowLayout object |
void |
layoutContainer(java.awt.Container parent)
This method moves the objects to their places and set the sizes they prefer. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent)
The minimumLayout Size is for this LayoutManager the same as the preferredLayoutSize. |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent)
This method calculates the preferredSize of the Container. |
void |
removeLayoutComponent(java.awt.Component comp)
No comment provided by developer, please add a comment to improve documentation. |
void |
setAlignment(int pos,
int align)
Sets the alignment attribute of the ColumnRowLayout object |
void |
setComparator(java.util.Comparator comp)
Sets the comparator attribute of the ColumnRowLayout object |
void |
setDelimiter(java.lang.String delim)
Sets the delimiter attribute of the ColumnRowLayout object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int gap
protected int mode
public static final int ROW
public static final int COLUMN
protected de.upb.tools.fca.FTreeMap alignments
public static final int LEFT
public static final int RIGHT
public static final int CENTER
Constructor Detail |
public ColumnRowLayout()
public ColumnRowLayout(int aGap, int aMode)
aGap
- No description providedaMode
- No description providedMethod Detail |
public void setComparator(java.util.Comparator comp)
setComparator
in interface SortedLayout
comp
- The new comparator valuepublic java.util.Comparator getComparator()
getComparator
in interface SortedLayout
public void setDelimiter(java.lang.String delim)
delim
- The new delimiter valuepublic java.lang.String getDelimiter()
public void setAlignment(int pos, int align)
pos
- The new alignment valuealign
- The new alignment valuepublic void addLayoutComponent(java.lang.String name, java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
name
- The object added.comp
- The object added.public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
comp
- No description providedpublic java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
preferredLayoutSize
in interface java.awt.LayoutManager
parent
- No description provided
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
minimumLayoutSize
in interface java.awt.LayoutManager
parent
- No description provided
public void layoutContainer(java.awt.Container parent)
layoutContainer
in interface java.awt.LayoutManager
parent
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |