public interface VersionOperationModel
| Modifier and Type | Method and Description | 
|---|---|
void | 
addVersionOperationModelListener(VersionOperationModelListener l)
Add a listener which will receive notification when the model changes. 
 | 
Displayable | 
getCategory(Displayable item)
Each item in the version operation panel can be categorized. 
 | 
int | 
getCount()
Get a count of the items in this model. 
 | 
Displayable | 
getItem(int index)
Get the item at the specified index in the model. 
 | 
Displayable[] | 
getItems()
Get the items in the model. 
 | 
DisplayProperty[] | 
getProperties()
Get metadata about available (read-only) properties for
 items in this model. 
 | 
java.lang.Object | 
getPropertyValue(DisplayProperty property,
                int itemIndex)
Get the value of the specified version operation property for the specified
 item. 
 | 
boolean | 
isComplete()
Get whether this model is fully constructed. 
 | 
void | 
removeVersionOperationListener(VersionOperationModelListener l)
Remove a listener previously added in the addVersionOperationModelListener()
 method. 
 | 
void | 
setProperty(int itemIndex,
           DisplayProperty property,
           java.lang.Object value)
Set the value of the specified version operation property for the specified
 item. 
 | 
int getCount()
boolean isComplete()
Displayable getItem(int index)
index - the model index of the item.Displayable[] getItems()
Displayable getCategory(Displayable item)
item - one of the items in the getDisplayables() list.DisplayProperty[] getProperties()
java.lang.Object getPropertyValue(DisplayProperty property, int itemIndex)
property - the property to get the value ofitemIndex - the index of the item whose property to getvoid setProperty(int itemIndex,
                 DisplayProperty property,
                 java.lang.Object value)
itemIndex - the index of the item whose property to setproperty - the propertyvalue - The value object of the itemvoid addVersionOperationModelListener(VersionOperationModelListener l)
l - a listener which should be informed of changes to this model.void removeVersionOperationListener(VersionOperationModelListener l)
l - a listener to remove.