org.argouml.uml.ui.behavior.state_machines
Class UMLSynchStateBoundDocument

java.lang.Object
  extended byjavax.swing.text.AbstractDocument
      extended byjavax.swing.text.PlainDocument
          extended byorg.argouml.uml.ui.UMLPlainTextDocument
              extended byorg.argouml.uml.ui.behavior.state_machines.UMLSynchStateBoundDocument
All Implemented Interfaces:
Document, EventListener, PropertyChangeListener, Serializable, TargetListener

public class UMLSynchStateBoundDocument
extends UMLPlainTextDocument

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.text.AbstractDocument
AbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElement
 
Field Summary
 
Fields inherited from class org.argouml.uml.ui.UMLPlainTextDocument
 
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
UMLSynchStateBoundDocument()
          Constructor for UMLSynchStateBoundDocument.
 
Method Summary
protected  String getProperty()
           
 void insertString(int offset, String str, AttributeSet a)
           
protected  void setProperty(String text)
           
 
Methods inherited from class org.argouml.uml.ui.UMLPlainTextDocument
getEventName, getTarget, isEditing, propertyChange, remove, 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

UMLSynchStateBoundDocument

public UMLSynchStateBoundDocument()
Constructor for UMLSynchStateBoundDocument.

Method Detail

setProperty

protected void setProperty(String text)
Specified by:
setProperty in class UMLPlainTextDocument
Parameters:
text - the value of the property
See Also:
UMLPlainTextDocument.setProperty(java.lang.String)

getProperty

protected String getProperty()
Specified by:
getProperty in class UMLPlainTextDocument
Returns:
the value of the property
See Also:
UMLPlainTextDocument.getProperty()

insertString

public void insertString(int offset,
                         String str,
                         AttributeSet a)
                  throws BadLocationException
Specified by:
insertString in interface Document
Overrides:
insertString in class UMLPlainTextDocument
Throws:
BadLocationException
See Also:
Document.insertString( int, java.lang.String, javax.swing.text.AttributeSet)


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook