|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.layout.AbstractLayouter
Class 'AbstractLayouter' specified in class diagram 'TreeLayout.java diagram'.
Constructor Summary | |
protected |
AbstractLayouter()
Constructor of Class AbstractLayouter |
Method Summary | |
protected boolean |
checkVisited(java.lang.Object tocheckObject)
This method returns TRUE if a Object already is set as visited, the behavior of the method depends on the var lastCondition |
protected FSAObject |
getChild(FSABend itemGrab)
Function searches for Child of a father class, connected by a grab |
javax.swing.JFrame |
getFrame(FSAObject canvas)
Returns the frame where the wait cursor have to be set. |
protected FSAObject |
getFromToFrame(FSABendLine myLine,
int what)
Function returns the frame at the one side of a Frame depending on the what-Parameter |
int |
getHorizDist()
Get the horizDist attribute of the AbstractLayouter object |
protected int |
getLeft(int pos,
java.util.Vector rowDepths)
Function is responsible for the rowDepths vector, it returns the value of Element at position |
protected int |
getPreferredLen(FSABendLine myLine)
Function returns the preferred length of a given DisLine |
double |
getPresetAdjustment()
Get the presetAdjustment attribute of the AbstractLayouter object |
MrLayout |
getRevMyLayouter()
Get the revMyLayouter attribute of the AbstractLayouter object |
int |
getVertDist()
Get the vertDist attribute of the AbstractLayouter object |
protected void |
innerLayout(FSAContainer currentClass)
No comment provided by developer, please add a comment to improve documentation. |
protected boolean |
isLastCondition()
Get the lastCondition attribute of the AbstractLayouter object |
void |
refreshOptions()
Function refreshes the function settings for the AbstractLayouter |
abstract void |
reLayout(FSAContainer currentCanvas)
This function needs to be implemented in the child-classes. |
void |
removeYou()
No comment provided by developer, please add a comment to improve documentation. |
protected FSAObject |
searchStart(FSAContainer searchCanvas,
boolean withVisited)
searchStart searches for DisFrame on the searchCanvas, from which the reLayouter can start. |
int |
setHorizDist(int horizDist)
Sets the horizDist attribute of the AbstractLayouter object |
protected boolean |
setLastCondition(boolean lastCondition)
Sets the lastCondition attribute of the AbstractLayouter object |
protected void |
setLeft(int left,
int pos,
java.util.Vector rowDepths)
Function set value |
void |
setPresetAdjustment(double presetAdjustment)
Sets the presetAdjustment attribute of the AbstractLayouter object |
void |
setRevMyLayouter(MrLayout revMyLayouter)
Sets the revMyLayouter attribute of the AbstractLayouter object |
int |
setVertDist(int vertDist)
Sets the vertDist attribute of the AbstractLayouter object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractLayouter()
Method Detail |
protected boolean isLastCondition()
protected boolean setLastCondition(boolean lastCondition)
lastCondition
- The new lastCondition value
public int getHorizDist()
public int setHorizDist(int horizDist)
horizDist
- The new horizDist value
public int getVertDist()
public int setVertDist(int vertDist)
vertDist
- The new vertDist value
public void refreshOptions()
protected FSAObject getChild(FSABend itemGrab)
itemGrab
- The grab which should be searched
protected void innerLayout(FSAContainer currentClass) throws java.lang.InterruptedException
currentClass
- No description provided
java.lang.InterruptedException
- Exception description not providedprotected boolean checkVisited(java.lang.Object tocheckObject)
tocheckObject
- The object to be checked, needs to be a instance of DisFrame
protected FSAObject searchStart(FSAContainer searchCanvas, boolean withVisited)
searchCanvas
- The Canvas to be searchedwithVisited
- The Toggle status of the visited condition (for performance reasons
this value is toggled at each invocation of the layouter)
protected int getLeft(int pos, java.util.Vector rowDepths)
pos
- The position of the leftmost elementrowDepths
- The rowDepths-Vector per reference (needed for recursion reasons)
protected void setLeft(int left, int pos, java.util.Vector rowDepths)
left
- The new left valuepos
- The new left valuerowDepths
- The new left valuepublic javax.swing.JFrame getFrame(FSAObject canvas)
canvas
- the canvas to be layouted.
public abstract void reLayout(FSAContainer currentCanvas) throws java.lang.InterruptedException
currentCanvas
- No description provided
java.lang.InterruptedException
- Exception description not providedpublic MrLayout getRevMyLayouter()
public void setRevMyLayouter(MrLayout revMyLayouter)
revMyLayouter
- The new revMyLayouter valuepublic void removeYou()
protected FSAObject getFromToFrame(FSABendLine myLine, int what)
myLine
- The connecting Linewhat
- =1 front of bends, =2 back of bends
public double getPresetAdjustment()
public void setPresetAdjustment(double presetAdjustment)
presetAdjustment
- The new presetAdjustment valueprotected int getPreferredLen(FSABendLine myLine)
myLine
- The Line
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |