|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeProxy
An attribute proxy is an object that is used to allow finer-grained manipulation of attributes of graph elements. If an application does not wish to provide attribute proxies, then it can simply return null from the AttributeAdapter.getAttributeProxy() method, and Diva will do its best with the AttributeAdapter methods. If it does provide AttributeProxies, then manipulation of your graph elements works a little better.
Method Summary | |
---|---|
String |
getName()
Get the attribute name. |
Class |
getType()
Get the class of the attribute. |
Object |
getValue()
Get the attribute value. |
boolean |
isValid(Object value)
Return true if the value of the given attribute is acceptable. |
boolean |
isVisible()
Return true if this attribute is "visible." This tells attribute editors and so on whether or not to display this attribute. |
boolean |
isWritable()
Return true if this attribute is writable. |
void |
setValue(Object value)
Set the attribute value. |
Method Detail |
---|
String getName()
Class getType()
Object getValue()
boolean isValid(Object value)
boolean isVisible()
boolean isWritable()
void setValue(Object value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |