|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.gui.forms.SmartConstraints
org.openpermis.editor.policy.gui.forms.SmartLayoutConstraints
public class SmartLayoutConstraints
Extended smart constraints object that features know-how about its layout.
Constructor Summary | |
---|---|
SmartLayoutConstraints()
Creates a smart layout constraints that is not bound to a layout yet. |
|
SmartLayoutConstraints(com.jgoodies.forms.layout.FormLayout layout)
Creates a smart layout constraints object that is initially bound to the layout specified. |
|
SmartLayoutConstraints(int x,
int y)
Creates a new smart layout constraints object with the specified initial coordinates. |
|
SmartLayoutConstraints(int x,
int y,
com.jgoodies.forms.layout.FormLayout layout)
Creates a new smart layout constraints object that is not bound to a layout yet and uses the specified initial coordinates. |
Method Summary | |
---|---|
void |
reset(int startX,
int startY,
com.jgoodies.forms.layout.FormLayout newLayout)
Resets the smart constraints to the specified coordinates and layout. |
void |
setLayout(com.jgoodies.forms.layout.FormLayout newLayout)
Sets the layout this constraints object is bound to. |
com.jgoodies.forms.layout.CellConstraints |
yfill(int offsetY)
Creates a cell constraints that uses the current the remainder of the current row. |
com.jgoodies.forms.layout.CellConstraints |
yfill(int offsetY,
int gapX)
Creates a cell constraints that uses the current the remainder of the current row. |
Methods inherited from class org.openpermis.editor.policy.gui.forms.SmartConstraints |
---|
col, getInitialX, getX, getY, reset, row, x, xw, y, yw |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SmartLayoutConstraints()
setLayout(com.jgoodies.forms.layout.FormLayout)
public SmartLayoutConstraints(com.jgoodies.forms.layout.FormLayout layout)
layout
- the layout to use for calculating width and height.public SmartLayoutConstraints(int x, int y)
x
- the x coordinate, also serves as initial x coordinate.y
- the y coordinate.public SmartLayoutConstraints(int x, int y, com.jgoodies.forms.layout.FormLayout layout)
x
- the x coordinate, also serves as initial x coordinate.y
- the y coordinate.layout
- the layout to use for calculating width and height.Method Detail |
---|
public void setLayout(com.jgoodies.forms.layout.FormLayout newLayout)
newLayout
- the layout to use for calculating width and height.public void reset(int startX, int startY, com.jgoodies.forms.layout.FormLayout newLayout)
The x coordinate also server as initial x coordinate.
startX
- the x coordinate, also serves as initial x coordinate.startY
- the y coordinate.newLayout
- the layout to use for calculating width and height.public com.jgoodies.forms.layout.CellConstraints yfill(int offsetY)
The x coordinate is reset to the initial value and the y coordinate is incremented by the specified offset once the constraints are determined.
offsetY
- the y coordinate offset.
public com.jgoodies.forms.layout.CellConstraints yfill(int offsetY, int gapX)
The x coordinate is reset to the initial value and the y coordinate is incremented by the specified offset once the constraints are determined.
offsetY
- the y coordinate offset.gapX
- the number of columns that are subtracted from the total width, using a value
of zero will yield the a width that fills all remaining columns.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG