|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.util.ModulePropertiesImpl cytoscape.layout.LayoutProperties
public class LayoutProperties
The LayoutProperties class is a helper class to support the management of settings and properties for layout algorithms that implement CyLayoutAlgorithm or extend AbstractLayout. LayoutProperties objects maintain a list of Tunables that are supplied by the individual algorithms. Each Tunable represents a value that should be loaded from the Cytoscape properties file, and made available as a setting in the LayoutSettingsDialog. Tunables are added to the LayoutProperties using the add method and are retrieved with the get method.
Constructor Summary | |
---|---|
LayoutProperties(String propertyPrefix)
Constructor. |
Method Summary | |
---|---|
JPanel |
getTunablePanel()
This method returns a JPanel that represents the all of the Tunables associated with this LayoutProperties object. |
void |
tunableChanged(Tunable tunable)
The tunableChanged method is called whenever a tunable value has been changed by the user (as opposed to programmatically). |
void |
updateTunablePanel()
This method is called to update the panel for this property sheet. |
Methods inherited from class cytoscape.util.ModulePropertiesImpl |
---|
add, get, getProperties, getTunableList, getTunables, getValue, initializeProperties, revertProperties, saveProperties, setProperty, setSavedProperty, updateValues |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutProperties(String propertyPrefix)
propertyPrefix
- String representing the prefix to be used
when pulling properties from the property
list.Method Detail |
---|
public JPanel getTunablePanel()
public void updateTunablePanel()
public void tunableChanged(Tunable tunable)
TunableListener
tunableChanged
in interface TunableListener
tunable
- the Tunable that was changed
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |