com.borland.primetime.editor
Class EditorDocument.StyledLeafElement

java.lang.Object
  |
  +--javax.swing.text.AbstractDocument.AbstractElement
        |
        +--javax.swing.text.AbstractDocument.LeafElement
              |
              +--com.borland.primetime.editor.EditorDocument.StyledLeafElement
Enclosing class:
EditorDocument

public class EditorDocument.StyledLeafElement
extends javax.swing.text.AbstractDocument.LeafElement

See Also:
Serialized Form

Constructor Summary
EditorDocument.StyledLeafElement(javax.swing.text.Element parent, javax.swing.text.AttributeSet a, int offs0, int offs1)
           
 
Method Summary
 int getEndOfRun(int mark)
           
 int getStateFlags()
           
 javax.swing.text.Style getStyle(int mark)
           
 java.lang.String getText()
           
 void getText(javax.swing.text.Segment text)
           
 boolean isFlagSet(int flag)
           
 boolean isWhitespace(int mark)
           
 boolean setRunInfo(EditorDocument.RunInfo ri)
           
 void setStateFlags(int flags)
           
 java.lang.String toString()
           
 
Methods inherited from class javax.swing.text.AbstractDocument.LeafElement
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getName, getStartOffset, isLeaf
 
Methods inherited from class javax.swing.text.AbstractDocument.AbstractElement
addAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, finalize, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, getResolveParent, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EditorDocument.StyledLeafElement

public EditorDocument.StyledLeafElement(javax.swing.text.Element parent,
                                        javax.swing.text.AttributeSet a,
                                        int offs0,
                                        int offs1)
Method Detail

getText

public java.lang.String getText()

getText

public void getText(javax.swing.text.Segment text)

getStateFlags

public int getStateFlags()

setStateFlags

public void setStateFlags(int flags)

isFlagSet

public boolean isFlagSet(int flag)

setRunInfo

public boolean setRunInfo(EditorDocument.RunInfo ri)

getEndOfRun

public int getEndOfRun(int mark)

getStyle

public javax.swing.text.Style getStyle(int mark)

isWhitespace

public boolean isWhitespace(int mark)

toString

public java.lang.String toString()
Overrides:
toString in class javax.swing.text.AbstractDocument.LeafElement