API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. DefaultStyledDocument.ElementSpec View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      DefaultStyledDocument.ElementSpec
Implements
Subclasses
Description
publicstatic class DefaultStyledDocument.ElementSpec
  Specification for building elements.
See also:   
Constructors
public DefaultStyledDocument.ElementSpec (AttributeSet a, short type)
  Constructor useful for markup when the markup will not be stored in the document.
public DefaultStyledDocument.ElementSpec (AttributeSet a, short type, char[] txt, int offs, int len)
  Constructor for creating a spec externally for batch input of content and markup into the document.
public DefaultStyledDocument.ElementSpec (AttributeSet a, short type, int len)
  Constructor for parsing inside the document when the data has already been added, but len information is needed.
Methods
Hide/Show inherited methods
public char getArray ()
  Gets the array of characters.
public AttributeSet getAttributes ()
  Gets the element attributes.
public short getDirection ()
  Gets the direction.
public int getLength ()
  Gets the length.
public int getOffset ()
  Gets the starting offset.
public short getType ()
  Gets the element type.
public void setDirection (short direction)
  Sets the direction.
public void setType (short type)
  Sets the element type.
public String toString ()
  Converts the element to a string.
Fields
Hide/Show inherited fields
publicfinalstatic short ContentType = "3"
  A possible value for getType.
publicfinalstatic short EndTagType = "2"
  A possible value for getType.
publicfinalstatic short JoinFractureDirection = "7"
  A possible value for getDirection.
publicfinalstatic short JoinNextDirection = "5"
  A possible value for getDirection.
publicfinalstatic short JoinPreviousDirection = "4"
  A possible value for getDirection.
publicfinalstatic short OriginateDirection = "6"
  A possible value for getDirection.
publicfinalstatic short StartTagType = "1"
  A possible value for getType.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar