|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.layout.LayoutManagerService
public class LayoutManagerService
Layout service based on a LayoutManager.
| Constructor Summary | |
|---|---|
LayoutManagerService()
|
|
| Method Summary | |
|---|---|
void |
add(JPanel panel,
JComponent component,
Object constraint)
Adds a component to a panel using the given
constraint. |
LayoutConstraintAdapter<Object,Object> |
getConstraintAdapter()
Gets the constraint adapter. |
LayoutManager |
getLayoutManager()
Gets the layout manager. |
void |
init(JPanel panel)
Initializes a panel for layout |
void |
setConstraintAdapter(LayoutConstraintAdapter<Object,Object> constraintAdapter)
Sets the constraint adapter. |
void |
setLayoutManager(LayoutManager layoutManager)
Sets the layout manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutManagerService()
| Method Detail |
|---|
public LayoutManager getLayoutManager()
public void setLayoutManager(LayoutManager layoutManager)
layoutManager - the new layout managerpublic LayoutConstraintAdapter<Object,Object> getConstraintAdapter()
public void setConstraintAdapter(LayoutConstraintAdapter<Object,Object> constraintAdapter)
constraintAdapter - the constraint adapter
public void add(JPanel panel,
JComponent component,
Object constraint)
component to a panel using the given
constraint.
add in interface LayoutServicepanel - Containercomponent - Component to addconstraint - Constraint for the positionpublic void init(JPanel panel)
init in interface LayoutServicepanel - Panel to initialize.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||