|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsferyx.administration.renderers.AttributeSetTranslator
public class AttributeSetTranslator
Utility class for attribute set conversion
Constructor Summary | |
---|---|
AttributeSetTranslator()
Creates a new instance of AttributeSetTranslator |
Method Summary | |
---|---|
javax.swing.text.AttributeSet |
convertToHTML(javax.swing.text.AttributeSet from,
javax.swing.text.MutableAttributeSet to)
|
static javax.swing.text.MutableAttributeSet |
convertToHTML32_orig(javax.swing.text.AttributeSet from,
javax.swing.text.MutableAttributeSet to)
Create an older style of HTML attributes. |
javax.swing.text.MutableAttributeSet |
convertToHTML32(javax.swing.text.AttributeSet from,
javax.swing.text.MutableAttributeSet to)
|
javax.swing.text.MutableAttributeSet |
convertToHTML32Font(javax.swing.text.AttributeSet from,
javax.swing.text.MutableAttributeSet to)
|
javax.swing.text.MutableAttributeSet |
convertToHTML40(javax.swing.text.AttributeSet from,
javax.swing.text.MutableAttributeSet to)
Copies the given AttributeSet to a new set, converting any CSS attributes found to arguments of an HTML style attribute. |
static boolean |
isFontAttributesAlreadyDefined(javax.swing.text.AttributeSet from,
java.lang.Object key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeSetTranslator()
Method Detail |
---|
public javax.swing.text.AttributeSet convertToHTML(javax.swing.text.AttributeSet from, javax.swing.text.MutableAttributeSet to)
public static boolean isFontAttributesAlreadyDefined(javax.swing.text.AttributeSet from, java.lang.Object key)
public javax.swing.text.MutableAttributeSet convertToHTML32(javax.swing.text.AttributeSet from, javax.swing.text.MutableAttributeSet to)
public javax.swing.text.MutableAttributeSet convertToHTML32Font(javax.swing.text.AttributeSet from, javax.swing.text.MutableAttributeSet to)
public static javax.swing.text.MutableAttributeSet convertToHTML32_orig(javax.swing.text.AttributeSet from, javax.swing.text.MutableAttributeSet to)
public javax.swing.text.MutableAttributeSet convertToHTML40(javax.swing.text.AttributeSet from, javax.swing.text.MutableAttributeSet to)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |