|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsonia.ui.ApplySettingsDialog
public class ApplySettingsDialog
Provides the controls for specifing layout parameters and how the layots will be applied. Includes starting coords, hondeling of isolates, animating redraws, post-processing, and options to apply to all the remaining slices.
| Constructor Summary | |
|---|---|
ApplySettingsDialog(ApplySettings settings,
SoniaController cont,
SoniaLayoutEngine eng,
java.awt.Frame owner,
NetLayout layoutAlg)
Creates a dilog box with settings to control the various stages of the layout process, including some algorithm specific parameters, which it adds to the window by communicating with the layout algorithm. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
figures out what user did and calls apropriate method |
void |
addLayoutProperty(java.lang.String name,
double value)
called by the layout algorithm during setup so that it can add parameters to the dilog box. |
ApplySettings |
getSettings()
|
java.lang.String |
getSummaryString()
returns a string summarizing the layout settings to record in the log |
void |
setLayoutProperty(java.lang.String name,
double value)
sets the algorithm specific layout pramter to the passed value, after checking that there is a parameter corresponding to name. |
void |
showDialog()
displays the dialog on screen |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplySettingsDialog(ApplySettings settings,
SoniaController cont,
SoniaLayoutEngine eng,
java.awt.Frame owner,
NetLayout layoutAlg)
cont - the main soniaControllereng - the layout engine which the layout belongs toowner - the parent frame (the layout window)layoutAlg - the layout algorithm| Method Detail |
|---|
public void showDialog()
public void addLayoutProperty(java.lang.String name,
double value)
name - the string name of the prameter to display and to use as the
keyvalue - the defualt double value of the parameter
public void setLayoutProperty(java.lang.String name,
double value)
name - the string name of the paramter to setvalue - the double value to set it topublic java.lang.String getSummaryString()
public ApplySettings getSettings()
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerevt - the ActionEvent to determine the source of the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||