|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.control.Commander
public abstract class Commander
Commander executes commands
Nested Class Summary | |
---|---|
static class |
Commander.Command
Commands |
Field Summary | |
---|---|
private static double |
theExpansionFactor
Expansion factor |
private static double |
theSweepFactor
Sweep factor |
private static double |
theXShiftStep
East/West shift step |
private static double |
theYShiftStep
North/south shift step |
Constructor Summary | |
---|---|
Commander()
|
Method Summary | |
---|---|
private void |
changeExpansion(double thisFactor)
Change Expansion by given factor |
private boolean |
changeOrientation(Complex thisOrientation)
Change orientation |
private void |
changeSweep(double thisFactor)
Change sweep by given factor |
private void |
doChangeExpansion(double thisFactor)
Perform change expansion by given factor |
private void |
doChangeSweep(double thisFactor)
Perform change sweep by given factor |
private void |
doEast()
Perform east orient |
private void |
doFocusHover()
Set focus on hover flag |
private void |
doHome()
Perform reset |
private void |
doHyperbolicEdge()
Set edges rendering as hyperbolic |
private void |
doNorth()
Perform north orient |
private void |
doRadial()
Perform tree radial orient |
private void |
doRefresh()
Perform repaint |
private void |
doSouth()
Perform south orient |
private void |
doTooltip()
Set tooltips |
private void |
doTooltipContent()
Set tooltip displays content flag |
private void |
doWest()
Perform west orient |
private void |
doZoomin()
Perform zoom in |
private void |
doZoomout()
Perform zoom out |
void |
execute(Commander.Command thisCommand)
Command dispatcher |
protected abstract AbstractLayerOut |
getLayerOut()
Get layout agent |
protected abstract Model |
getModel()
Get model |
protected abstract View |
getView()
Get view |
private void |
setEast()
Set east orientation |
private void |
setNorth()
Set north orientation |
private void |
setRadial()
Set radial orientation |
private void |
setSouth()
Set south orientation |
private void |
setWest()
Set west orientation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final double theXShiftStep
private static final double theYShiftStep
private static final double theSweepFactor
private static final double theExpansionFactor
Constructor Detail |
---|
public Commander()
Method Detail |
---|
protected abstract Model getModel()
protected abstract View getView()
protected abstract AbstractLayerOut getLayerOut()
private void setNorth()
private void setSouth()
private void setEast()
private void setWest()
private void setRadial()
private boolean changeOrientation(Complex thisOrientation)
thisOrientation
- orientation
private void changeExpansion(double thisFactor)
thisFactor
- factorprivate void changeSweep(double thisFactor)
thisFactor
- factorprivate void doRefresh()
private void doNorth()
private void doSouth()
private void doEast()
private void doWest()
private void doRadial()
private void doZoomin()
private void doZoomout()
private void doHome()
private void doChangeExpansion(double thisFactor)
thisFactor
- factorprivate void doChangeSweep(double thisFactor)
thisFactor
- factorprivate void doHyperbolicEdge()
private void doTooltip()
private void doTooltipContent()
private void doFocusHover()
public void execute(Commander.Command thisCommand)
thisCommand
- command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |