|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.TextLayoutFormat
A data object for the client side flashx.textLayout.formats.TextLayoutFormat.
This object stores the properties as key, value pairs. The values are stored as Strings.
The fontFamily and fontSize properties, for instance, can be set with
textLayoutFormat.set("fontFamily", "dialog");
textLayoutFormat.set("fontSize", "12");
| Constructor Summary | |
TextLayoutFormat()
|
|
| Method Summary | |
java.lang.String |
get(java.lang.String propertyName)
Gets the value (as String) of the property with the given name. |
java.util.Set |
getDefinedProperties()
Gets a set with all set property names. |
boolean |
hasProperty(java.lang.String propertyName)
Whether the property with the given name as a defined value. |
void |
remove(java.lang.String propertyName)
Removes the value of the property with the given name. |
void |
set(java.lang.String propertyName,
java.lang.String propertyValue)
Sets the given value to the property with the given name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextLayoutFormat()
| Method Detail |
public java.lang.String get(java.lang.String propertyName)
String) of the property with the given name. If the property has not been set
yet, null is returned.
propertyName - The name of the property. This is the name the property has in the Flex class
flashx.textLayout.formats.TextLayoutFormat.
String.
public void set(java.lang.String propertyName,
java.lang.String propertyValue)
propertyName - The name of the property. This is the name the property has in the Flex class
flashx.textLayout.formats.TextLayoutFormat.propertyValue - The value of the property as String.public void remove(java.lang.String propertyName)
A property with an undefined value will be interpreted as default at the client.
propertyName - The name of the property to remove. This is the name the property has in the Flex class
flashx.textLayout.formats.TextLayoutFormat.public boolean hasProperty(java.lang.String propertyName)
A property with an undefined value will be interpreted as default at the client.
propertyName - The name of the property to remove. This is the name the property has in the Flex class
flashx.textLayout.formats.TextLayoutFormat.
true if the property has a value.public java.util.Set getDefinedProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||