org.argouml.uml.ui
Class UMLModelElementTaggedValueDocument

java.lang.Object
  |
  +--javax.swing.text.AbstractDocument
        |
        +--javax.swing.text.PlainDocument
              |
              +--org.argouml.uml.ui.UMLPlainTextDocument
                    |
                    +--org.argouml.uml.ui.UMLModelElementTaggedValueDocument
All Implemented Interfaces:
javax.swing.text.Document, java.util.EventListener, java.io.Serializable, TargetListener

public class UMLModelElementTaggedValueDocument
extends UMLPlainTextDocument

This class provides a text field that can be used to access tagged values of a MModelElement object; UMLModelElementTaggedValueDocument is especially useful when using LabelledLayout;

Since:
5th April 2003
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.argouml.uml.ui.UMLPlainTextDocument
cat
 
Fields inherited from class javax.swing.text.PlainDocument
lineLimitAttribute, tabSizeAttribute
 
Fields inherited from class javax.swing.text.AbstractDocument
BAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementName
 
Fields inherited from interface javax.swing.text.Document
StreamDescriptionProperty, TitleProperty
 
Constructor Summary
UMLModelElementTaggedValueDocument(java.lang.String taggedValue)
          Creates a UMLPlainTextDocument object that represents a tagged value of an MModelElement object
 
Method Summary
protected  java.lang.String getProperty()
           
protected  void setProperty(java.lang.String text)
          Sets the tagged value to given String
 
Methods inherited from class org.argouml.uml.ui.UMLPlainTextDocument
getEventName, getTarget, insertString, isEditing, listRoleItemSet, propertySet, recovered, remove, removed, roleAdded, roleRemoved, setEditing, setEventName, setTarget, targetAdded, targetRemoved, targetSet
 
Methods inherited from class javax.swing.text.PlainDocument
createDefaultRoot, getDefaultRootElement, getParagraphElement, insertUpdate, removeUpdate
 
Methods inherited from class javax.swing.text.AbstractDocument
addDocumentListener, addUndoableEditListener, createBranchElement, createLeafElement, createPosition, dump, fireChangedUpdate, fireInsertUpdate, fireRemoveUpdate, fireUndoableEditUpdate, getAsynchronousLoadPriority, getAttributeContext, getBidiRootElement, getContent, getCurrentWriter, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, postRemoveUpdate, putProperty, readLock, readUnlock, removeDocumentListener, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLModelElementTaggedValueDocument

public UMLModelElementTaggedValueDocument(java.lang.String taggedValue)
Creates a UMLPlainTextDocument object that represents a tagged value of an MModelElement object

Parameters:
taggedValue -
Method Detail

setProperty

protected void setProperty(java.lang.String text)
Sets the tagged value to given String

Specified by:
setProperty in class UMLPlainTextDocument
Parameters:
text -

getProperty

protected java.lang.String getProperty()
Specified by:
getProperty in class UMLPlainTextDocument
Returns:
the value of the tagged value


ArgoUML © 1996-2003 (20040216)ArgoUML Project HomeArgoUML Cookbook