com.swfm.mica.view
Class MiViewManager
java.lang.Object
com.swfm.mica.model.MiModelEntity
com.swfm.mica.view.MiViewManager
- All Implemented Interfaces:
- MiiActionHandler, MiiActionTypes, MiiModelEntity, MiiModelTypes, MiiNames, MiiPropertyTypes, MiiTypes
- Direct Known Subclasses:
- MiGraphicsBaseViewManager
- public class MiViewManager
- extends MiModelEntity
- implements MiiNames, MiiTypes
This class provides a number of routines that are useful to
MiiViewManagers.
- Version:
- %I% %G%
- Author:
- Michael L. Davis
|
Method Summary |
boolean |
getHasChanged()
Gets whether the graphics managed by this has been
changed by the user by their editing the graphics. |
boolean |
getWarningMessagesEnabled()
Gets whether this will print warning messages (to
MiDebug.println). |
boolean |
isViewOnly()
Gets whether this will should prohibit the user from
graphically modifying the document assigned to this
manager. |
void |
setHasChanged(boolean flag)
Sets whether the graphics managed by this has been
changed by the user by their editing the graphics. |
void |
setViewOnly(boolean viewOnly)
Sets whether this will should prohibit the user from
graphically modifying the document assigned to this
manager. |
void |
setWarningMessagesEnabled(boolean flag)
Sets whether this will print warning messages (to
MiDebug.println). |
| Methods inherited from class com.swfm.mica.model.MiModelEntity |
appendModelChangeHandler, appendModelEntity, appendModelRelation, appendPropertyChangeHandler, copy, copy, createModelEntity, createModelRelation, deepCopy, deepCopy, deleteSelf, dispatchModelChangeEvent, dispatchPropertyChange, dispatchPropertyChangeEvent, dump, dump, equals, equalsProperties, getChild, getChildren, getDefaultPropertyValue, getEditingPermissions, getIgnoreCase, getIndexOfModelEntity, getLocation, getModelChangeHandler, getModelEntities, getModelEntity, getModelEntity, getModelRelations, getName, getNumberOfModelChangeHandlers, getNumberOfModelEntities, getNumberOfPropertyChangeHandlers, getParent, getPropertiesAreOrdered, getPropertyChangeHandler, getPropertyDescriptions, getPropertyNames, getPropertyValue, getTitle, getType, getUserData, hasUserData, insertModelEntity, insertModelRelation, isObservedProperty, isToCopyEntitysRelationsWhenDeepCopyEntity, processAction, removeAllModelEntities, removeAllModelRelations, removeAllProperties, removeModelChangeHandler, removeModelEntity, removeModelRelation, removeProperty, removePropertyChangeHandler, removeSelf, replaceSelf, setIgnoreCase, setLocation, setModelChangeEventDispatchingEnabled, setName, setParent, setPropertiesAreOrdered, setPropertiesToDefaultValues, setPropertyChangeEventDispatchingEnabled, setPropertyDescriptions, setPropertyValue, setTitle, setToCopyEntitysRelationsWhenDeepCopyEntity, setType, toString, toString, validateModelEntity, validateModelRelation, validatePropertyValue |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MiViewManager
public MiViewManager()
setHasChanged
public void setHasChanged(boolean flag)
- Sets whether the graphics managed by this has been
changed by the user by their editing the graphics.
This is usually just used to clear the changed flag
when the document has just been saved.
- Parameters:
flag - true if changed
getHasChanged
public boolean getHasChanged()
- Gets whether the graphics managed by this has been
changed by the user by their editing the graphics.
- Returns:
- true if changed
setViewOnly
public void setViewOnly(boolean viewOnly)
- Sets whether this will should prohibit the user from
graphically modifying the document assigned to this
manager.
- Parameters:
viewOnly - true if view only
isViewOnly
public boolean isViewOnly()
- Gets whether this will should prohibit the user from
graphically modifying the document assigned to this
manager.
- Returns:
- true if view only
setWarningMessagesEnabled
public void setWarningMessagesEnabled(boolean flag)
- Sets whether this will print warning messages (to
MiDebug.println).
- Parameters:
flag - true if messages will be printed
getWarningMessagesEnabled
public boolean getWarningMessagesEnabled()
- Gets whether this will print warning messages (to
MiDebug.println).
- Returns:
- true if messages will be printed