|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Symbology
The Symbology
interface is used to expose a number of properties
for a given type of symbology. Each symbology type has a well defined list
of properties that can exist for a symbol graphic. This interface allows
you to get or set the values of those properties on the graphic.
Method Summary | |
---|---|
SymbologyInfo |
getActiveSymbology()
Gets the active symbology name that is being used to render this graphic symbol. |
Object |
getSymbologyProperty(SymbologyInfo info,
String propertyName)
Gets the property value defined by the given property name |
int |
getSymbologyPropertyCount(SymbologyInfo info)
Gets the number of properties that exist for the graphic that uses this symbology. |
String[] |
getSymbologyPropertyNames(SymbologyInfo info)
Gets the list of all the property names that exist for the graphic that uses this symbology. |
Class |
getSymbologyPropertyType(SymbologyInfo info,
String propertyName)
Gets the java class type for the property value defined by the property name. |
void |
setActiveSymbology(SymbologyInfo info)
Sets the active symbology name that is being used to render this graphic symbol. |
void |
setSymbologyProperty(SymbologyInfo info,
String propertyName,
Object value)
Sets the value of a property for the given property name |
Method Detail |
---|
int getSymbologyPropertyCount(SymbologyInfo info)
String[] getSymbologyPropertyNames(SymbologyInfo info)
Class getSymbologyPropertyType(SymbologyInfo info, String propertyName)
propertyName
- the name of the property in question
Object getSymbologyProperty(SymbologyInfo info, String propertyName) throws IllegalArgumentException
propertyName
- the name of the property to look up
IllegalArgumentException
- if the property name isn't a valid onevoid setSymbologyProperty(SymbologyInfo info, String propertyName, Object value) throws IllegalArgumentException
propertyName
- the property to setvalue
- the value of the property
IllegalArgumentException
- if the property name isn't valid or if
the value is of the wrong java class typeSymbologyInfo getActiveSymbology()
void setActiveSymbology(SymbologyInfo info) throws IllegalArgumentException
info
- the new active symbology
IllegalArgumentException
- if the symbology isn't supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |