public interface History
| Modifier and Type | Method and Description |
|---|---|
void |
activateSchema(String schemaName)
Performs an operation from the current solution.
|
void |
addInput(ZLocator variable,
BeanContext beanContext,
String beanName,
String property)
Convenience function for adding values into the inputs.
|
void |
addInput(ZLocator variable,
Object bean,
String property)
Convenience function for adding values into the inputs.
|
void |
addInput(ZLocator variable,
ZValue value)
Convenience function for adding values into the inputs.
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Function for adding property change listeners.
|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Function for adding property change listeners.
|
ZBinding |
getCurrentSolution()
Returns the current solution in the current solution set.
|
SolutionSet |
getCurrentSolutionSet()
Returns the current solution set.
|
String |
getInitSchema()
Getter for the name of the initialisation schema.
|
Map<ZLocator,ZValue> |
getInputs()
Getter function for the map from locators, and the object.property to bind
them to.
|
String |
getPositionLabel()
Gives a label identifying the position in the history for use in GUI
display.
|
PropertyChangeListener[] |
getPropertyChangeListeners()
Getter function for property change listeners.
|
PropertyChangeListener[] |
getPropertyChangeListeners(String propertyName)
Getter function for property change listeners.
|
String |
getStateSchema()
Getter for the name of the state schema.
|
boolean |
hasCurrentSolution()
Returns true if there is a current solution.
|
boolean |
hasListeners(String propertyName)
Check if a property has property change listeners.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Function for removing property change listeners.
|
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Function for removing property change listeners.
|
void |
setInitSchema(String schemaName)
Setter for the name of the initialisation schema.
|
void |
setStateSchema(String schemaName)
Setter for the name of the state schema.
|
String getInitSchema()
void setInitSchema(String schemaName)
String getStateSchema()
void setStateSchema(String schemaName)
SolutionSet getCurrentSolutionSet()
ZBinding getCurrentSolution()
boolean hasCurrentSolution()
Map<ZLocator,ZValue> getInputs()
void addInput(ZLocator variable, ZValue value)
variable - Location of variable to bind to value.value - Value to bind variable to.void addInput(ZLocator variable, Object bean, String property)
variable - Location of variable to bind to value.bean - Java bean containing the property to set the variable to.property - Name of property in bean to set variable to.void addInput(ZLocator variable, BeanContext beanContext, String beanName, String property)
variable - Location of variable to bind to value.beanContext - Context containing the bean to get the value from.beanName - Name of the java bean to get the value from.property - Name of property in bean to set variable to.void activateSchema(String schemaName)
compositionText - describes the operation to perform.??? - if first call wasn't an initialisation operation.??? - if ???void addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangeSupportvoid removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangeSupportPropertyChangeListener[] getPropertyChangeListeners()
PropertyChangeSupportvoid addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangeSupportvoid removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangeSupportPropertyChangeListener[] getPropertyChangeListeners(String propertyName)
PropertyChangeSupportboolean hasListeners(String propertyName)
PropertyChangeSupportString getPositionLabel()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.