|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.cockpit.modeler.figures.layouter.AbstractTagLayouter
org.openbp.cockpit.modeler.figures.layouter.VerticalLayouter
public class VerticalLayouter
Vertical layouter.
| Field Summary | |
|---|---|
protected Orientation |
hAlign
Horizontal alignment ( Orientation.LEFT/Orientation.RIGHT/Orientation.CENTER) |
protected Orientation |
vAlign
Vertical alignment ( Orientation.TOP/Orientation.BOTTOM) |
| Fields inherited from class org.openbp.cockpit.modeler.figures.layouter.AbstractTagLayouter |
|---|
direction, insets, tagFigure |
| Constructor Summary | |
|---|---|
VerticalLayouter(AbstractTagFigure tagFigure)
Constructor. |
|
| Method Summary | |
|---|---|
void |
applyDirection()
Initializes the layouter according to the current direction. |
java.awt.Rectangle |
calculateSize()
Calculates the dimensions of the figure by simulating the layout process. |
boolean |
isVerticalLayouter()
Checks if the orientation of the tag is vertical or horizontal. |
void |
performLayout(java.awt.Rectangle box)
Performs the layout of the figure. |
| Methods inherited from class org.openbp.cockpit.modeler.figures.layouter.AbstractTagLayouter |
|---|
determineDirection, getInsets, setDirection, setInsets, setupLayouter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Orientation hAlign
Orientation.LEFT/Orientation.RIGHT/Orientation.CENTER)
protected Orientation vAlign
Orientation.TOP/Orientation.BOTTOM)
| Constructor Detail |
|---|
public VerticalLayouter(AbstractTagFigure tagFigure)
tagFigure - Tag to lay out| Method Detail |
|---|
public void applyDirection()
AbstractTagLayouter
applyDirection in class AbstractTagLayouterAbstractTagLayouter.applyDirection()public boolean isVerticalLayouter()
TagLayouter
isVerticalLayouter in interface TagLayouterisVerticalLayouter in class AbstractTagLayouterAbstractTagLayouter.isVerticalLayouter()public java.awt.Rectangle calculateSize()
TagLayouter
TagLayouter.calculateSize()public void performLayout(java.awt.Rectangle box)
TagLayouter
box - Desired display box of the figureTagLayouter.performLayout(Rectangle box)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||