|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TagLayouter
A direction-sensitive layouter.
| Method Summary | |
|---|---|
java.awt.Rectangle |
calculateSize()
Calculates the dimensions of the figure by simulating the layout process. |
void |
determineDirection()
Determines the direction of the tag by the angle of the associated figure and updates the layouter accordingly. |
java.awt.Insets |
getInsets()
Get the insets for spacing between the figure and its subfigures |
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. |
void |
setDirection(int direction)
Sets the direction to which the tag currently faces and updates the layouter accordingly. |
void |
setInsets(java.awt.Insets newInsets)
Set the insets for spacing between the figure and its subfigures |
| Method Detail |
|---|
java.awt.Rectangle calculateSize()
void performLayout(java.awt.Rectangle box)
box - Desired display box of the figurevoid setInsets(java.awt.Insets newInsets)
newInsets - New spacing dimensionsjava.awt.Insets getInsets()
void setDirection(int direction)
direction - One of the direction constants of this classvoid determineDirection()
boolean isVerticalLayouter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||