|
org.netbeans.modules.editor.settings/1 1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.editor.settings.AttributesUtilities
public final class AttributesUtilities
A collection of utility menthods for working with AttributeSets.
| Method Summary | |
|---|---|
static AttributeSet |
createComposite(AttributeSet... sets)
Creates a proxy AttributeSet that will delegate to the
AttributeSets passed in as a parameter. |
static AttributeSet |
createImmutable(AttributeSet... sets)
Creates an immutable AttributeSet as a copy of AttributeSets
passed into this method. |
static AttributeSet |
createImmutable(Object... keyValuePairs)
Creates an immutable AttributeSet, which will contain the
keyValuePairs attributes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AttributeSet createImmutable(Object... keyValuePairs)
AttributeSet, which will contain the
keyValuePairs attributes. If the pairs
contain attributes with the same name the resulting AttributeSet
will return value of the first attribute it will find going through
the pairs in the order as they were passed in.
keyValuePairs - The contents of the AttributeSet created
by this method. This parameter should list pairs
of key-value objects; each pair defining one attribute.
AttributeSet.public static AttributeSet createImmutable(AttributeSet... sets)
AttributeSet as a copy of AttributeSets
passed into this method. If the AttributeSets
contain attributes with the same name the resulting AttributeSet
will return value of the first attribute it will find going through
the sets in the order as they were passed in.
sets - The AttributeSets which attributes will become
a contents of the newly created AttributeSet.
AttributeSet.public static AttributeSet createComposite(AttributeSet... sets)
AttributeSet that will delegate to the
AttributeSets passed in as a parameter. If the AttributeSets
contain attributes with the same name the composite AttributeSet
will return value of the first attribute it will find going through
the sets in the order as they were passed in.
sets - The AttributeSets to delegate to.
AttributeSet that will delegate
to the sets passed in.
|
org.netbeans.modules.editor.settings/1 1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||