Weitere aktuelle Java-Titel finden Sie bei dpunkt.
Klasse javax.swing.text.AbstractDocument.AbstractElement
1.2
java.lang.Object
| +--
javax.swing.text.AbstractDocument.AbstractElement
Deklaration
public class
AbstractDocument.AbstractElement
extends
java.lang.Object
implements
javax.swing.text.Element
,
javax.swing.text.MutableAttributeSet
,
java.io.Serializable
,
javax.swing.tree.TreeNode
Beschreibung
Konstruktoren
public
AbstractDocument.AbstractElement
(
Element
parent,
AttributeSet
a)
Methoden
public
void
dump
(
PrintStream
psOut,
int
indentAmount)
protected
void
finalize
()
public
int
getAttributeCount
()
public
boolean
isDefined
(
Object
attrName)
public
boolean
isEqual
(
AttributeSet
attr)
public
AttributeSet
copyAttributes
()
public
Object
getAttribute
(
Object
attrName)
public
Enumeration
getAttributeNames
()
public
boolean
containsAttribute
(
Object
name,
Object
value)
public
boolean
containsAttributes
(
AttributeSet
attrs)
public
AttributeSet
getResolveParent
()
public
void
addAttribute
(
Object
name,
Object
value)
public
void
addAttributes
(
AttributeSet
attr)
public
void
removeAttribute
(
Object
name)
public
void
removeAttributes
(
Enumeration
names)
public
void
removeAttributes
(
AttributeSet
attrs)
public
void
setResolveParent
(
AttributeSet
parent)
public
Document
getDocument
()
public
Element
getParentElement
()
public
AttributeSet
getAttributes
()
public
String
getName
()
public
int
getStartOffset
()
public
int
getEndOffset
()
public
Element
getElement
(
int
index)
public
int
getElementCount
()
public
int
getElementIndex
(
int
offset)
public
boolean
isLeaf
()
public
TreeNode
getChildAt
(
int
childIndex)
public
int
getChildCount
()
public
TreeNode
getParent
()
public
int
getIndex
(
TreeNode
node)
public
boolean
getAllowsChildren
()
public
Enumeration
children
()
Konstruktoren im Detail
public
AbstractDocument.AbstractElement
(
Element
parent,
AttributeSet
a)
Methoden im Detail
public
void
dump
(
PrintStream
psOut,
int
indentAmount)
protected
void
finalize
()
Exception:
Throwable
public
int
getAttributeCount
()
public
boolean
isDefined
(
Object
attrName)
public
boolean
isEqual
(
AttributeSet
attr)
public
AttributeSet
copyAttributes
()
public
Object
getAttribute
(
Object
attrName)
public
Enumeration
getAttributeNames
()
public
boolean
containsAttribute
(
Object
name,
Object
value)
public
boolean
containsAttributes
(
AttributeSet
attrs)
public
AttributeSet
getResolveParent
()
public
void
addAttribute
(
Object
name,
Object
value)
public
void
addAttributes
(
AttributeSet
attr)
public
void
removeAttribute
(
Object
name)
public
void
removeAttributes
(
Enumeration
names)
public
void
removeAttributes
(
AttributeSet
attrs)
public
void
setResolveParent
(
AttributeSet
parent)
public
Document
getDocument
()
public
Element
getParentElement
()
public
AttributeSet
getAttributes
()
public
String
getName
()
public
int
getStartOffset
()
public
int
getEndOffset
()
public
Element
getElement
(
int
index)
public
int
getElementCount
()
public
int
getElementIndex
(
int
offset)
public
boolean
isLeaf
()
public
TreeNode
getChildAt
(
int
childIndex)
public
int
getChildCount
()
public
TreeNode
getParent
()
public
int
getIndex
(
TreeNode
node)
public
boolean
getAllowsChildren
()
public
Enumeration
children
()
Copyright © 2002
dpunkt.Verlag
, Heidelberg. Alle Rechte vorbehalten.