|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.joda.swing.JRadioButtonPanel.Layout
Layout manager to manage the radio buttons
Constructor Summary | |
JRadioButtonPanel.Layout(java.awt.Container target,
int columns)
|
Method Summary | |
void |
addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
|
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
|
protected void |
calculate(java.awt.Container target)
Do the calc |
protected int |
calculateColumns(java.awt.Container target)
Calculate the number of columns |
protected int |
calculateRows(java.awt.Container target)
Calculate the number of columns |
int |
getColumns()
Gets the number of columns to group the radio buttons in. |
float |
getLayoutAlignmentX(java.awt.Container target)
|
float |
getLayoutAlignmentY(java.awt.Container target)
|
void |
invalidateLayout(java.awt.Container target)
|
void |
layoutContainer(java.awt.Container target)
|
java.awt.Dimension |
maximumLayoutSize(java.awt.Container target)
|
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target)
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target)
|
void |
removeLayoutComponent(java.awt.Component comp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JRadioButtonPanel.Layout(java.awt.Container target, int columns)
Method Detail |
public int getColumns()
public float getLayoutAlignmentX(java.awt.Container target)
getLayoutAlignmentX
in interface java.awt.LayoutManager2
LayoutManager2.getLayoutAlignmentX(Container)
public float getLayoutAlignmentY(java.awt.Container target)
getLayoutAlignmentY
in interface java.awt.LayoutManager2
LayoutManager2.getLayoutAlignmentY(Container)
public void invalidateLayout(java.awt.Container target)
invalidateLayout
in interface java.awt.LayoutManager2
LayoutManager2.invalidateLayout(Container)
public void addLayoutComponent(java.awt.Component comp, java.lang.Object constraints)
addLayoutComponent
in interface java.awt.LayoutManager2
LayoutManager2.addLayoutComponent(Component, Object)
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
LayoutManager.addLayoutComponent(String, Component)
public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
LayoutManager.removeLayoutComponent(Component)
public void layoutContainer(java.awt.Container target)
layoutContainer
in interface java.awt.LayoutManager
LayoutManager.layoutContainer(Container)
protected int calculateColumns(java.awt.Container target)
protected int calculateRows(java.awt.Container target)
protected void calculate(java.awt.Container target)
public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize
in interface java.awt.LayoutManager
LayoutManager.minimumLayoutSize(Container)
public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
preferredLayoutSize
in interface java.awt.LayoutManager
LayoutManager.preferredLayoutSize(Container)
public java.awt.Dimension maximumLayoutSize(java.awt.Container target)
maximumLayoutSize
in interface java.awt.LayoutManager2
LayoutManager2.maximumLayoutSize(Container)
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |