com.swfm.mica.view
Class MiModelTextViewManager

java.lang.Object
  extended bycom.swfm.mica.model.MiModelEntity
      extended bycom.swfm.mica.view.MiModelTextViewManager
All Implemented Interfaces:
MiiActionHandler, MiiActionTypes, MiiModelEntity, MiiModelTypes, MiiPropertyTypes, MiiViewManager

public class MiModelTextViewManager
extends MiModelEntity
implements MiiViewManager

Version:
%I% %G%
Author:
Michael L. Davis

Field Summary
         
Constructor Summary
MiModelTextViewManager()
           
 
Method Summary
 MiiModelEntity getModel()
          Converts the graphics found in the target view container to a MiiModelDocument.
 MiPart getView()
          Gets the view container.
 void setModel(MiiModelEntity document)
          Loads the target view container with graphics representing the data in the given document.
 void setView(MiPart view)
          Sets the view container.
 
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
 
Methods inherited from interface com.swfm.mica.model.MiiModelEntity
appendModelChangeHandler, appendModelEntity, appendModelRelation, appendPropertyChangeHandler, copy, copy, createModelEntity, createModelRelation, deepCopy, deepCopy, deleteSelf, equals, equalsProperties, getChild, getChildren, 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, removeAllModelEntities, removeAllModelRelations, removeAllProperties, removeModelChangeHandler, removeModelEntity, removeModelRelation, removeProperty, removePropertyChangeHandler, removeSelf, replaceSelf, setIgnoreCase, setLocation, setModelChangeEventDispatchingEnabled, setName, setParent, setPropertiesAreOrdered, setPropertyChangeEventDispatchingEnabled, setPropertyDescriptions, setPropertyValue, setTitle, setType, validateModelEntity, validateModelRelation, validatePropertyValue
 

Constructor Detail

MiModelTextViewManager

public MiModelTextViewManager()
Method Detail

setView

public void setView(MiPart view)
Sets the view container. This container will be loaded with graphics by the #setModel command and will be converted to a MiiModelDocument by the #getModel command.

Specified by:
setView in interface MiiViewManager
Parameters:
view - the view container
See Also:
getView()

getView

public MiPart getView()
Gets the view container.

Specified by:
getView in interface MiiViewManager

setModel

public void setModel(MiiModelEntity document)
Loads the target view container with graphics representing the data in the given document.

Specified by:
setModel in interface MiiViewManager
Parameters:
document - the document
See Also:
setView(com.swfm.mica.core.MiPart)

getModel

public MiiModelEntity getModel()
Converts the graphics found in the target view container to a MiiModelDocument.

Specified by:
getModel in interface MiiViewManager
Returns:
the document
See Also:
setView(com.swfm.mica.core.MiPart)