|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.goui.util.GraphLayout.Path
net.goui.awt.GoLayout.Row
This class encapsulates a row within the layout structure. Instances of this class are obtained by using the getRow() method of GraphLayout. Primarily knowledge of this class will be required if you wish to modify the attributes of a Row or a Cell within it after the layout has been created.
| Method Summary | |
GoLayout.Cell |
getCell(int index)
This method returns the Cell instance corresponding to the specified index within this Row. |
int |
getCellCount()
This method returns the number of Cells in this Row. |
int |
getMaxSize()
This method exists as part of the internal implementation of the GoLayout classes and should not be called directly. |
int |
getMinSize()
This method exists as part of the internal implementation of the GoLayout classes and should not be called directly. |
int |
getWeight()
This method returns the vertical layout weight for this Row. |
void |
invalidate()
This method exists as part of the internal implementation of the GoLayout classes and should not be called directly. |
void |
setWeight(int weight)
Set the weight of this Row instance. |
| Methods inherited from class net.goui.util.GraphLayout.Path |
getEdge, getEdgeCount, layout, setBounds, setPath, setPath |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public int getCellCount()
public GoLayout.Cell getCell(int index)
index - The index of the Cell to be returned.
java.lang.IndexOutOfBoundsException - if no such Cell exists.public void setWeight(int weight)
weight - The non-negative weight value for this Row.public int getWeight()
getWeight in interface GraphLayout.EdgeConstraintpublic int getMinSize()
getMinSize in interface GraphLayout.EdgeConstraintpublic int getMaxSize()
getMaxSize in interface GraphLayout.EdgeConstraintpublic void invalidate()
invalidate in interface GraphLayout.EdgeConstraint
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||