org.globus.cog.gui.grapheditor.properties
Class AbstractProperty

java.lang.Object
  extended byorg.globus.cog.gui.grapheditor.properties.AbstractProperty
All Implemented Interfaces:
Property
Direct Known Subclasses:
DelegatedProperty, IntrospectiveProperty, OverlayedProperty

public abstract class AbstractProperty
extends Object
implements Property

Base class for properties. This whole concept of "soft" properties allows for more flexibility than the java beans way.


Field Summary
 
Fields inherited from interface org.globus.cog.gui.grapheditor.properties.Property
HIDDEN, NONPERSISTENT, R, RW, RWH, W, X
 
Constructor Summary
AbstractProperty(Object owner, String name)
           
AbstractProperty(Object owner, String name, int access)
           
 
Method Summary
 boolean equals(Object value)
           
 int getAccess()
           
 String getDisplayName()
           
 String getName()
           
 Object getOwner()
           
 boolean hasAccess(int access)
           
 int hashCode()
           
 boolean isHidden()
           
 boolean isInteractive()
           
 boolean isWritable()
           
 void setAccess(int access)
           
 void setName(String name)
           
 void setOwner(Object owner)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.cog.gui.grapheditor.properties.Property
getPropertyClass, getValue, setValue
 

Constructor Detail

AbstractProperty

public AbstractProperty(Object owner,
                        String name,
                        int access)

AbstractProperty

public AbstractProperty(Object owner,
                        String name)
Method Detail

getAccess

public int getAccess()
Specified by:
getAccess in interface Property

setAccess

public void setAccess(int access)
Specified by:
setAccess in interface Property

hasAccess

public boolean hasAccess(int access)
Specified by:
hasAccess in interface Property

isWritable

public boolean isWritable()
Specified by:
isWritable in interface Property

isInteractive

public boolean isInteractive()
Specified by:
isInteractive in interface Property

isHidden

public boolean isHidden()
Specified by:
isHidden in interface Property

getName

public String getName()
Specified by:
getName in interface Property

setName

public void setName(String name)
Specified by:
setName in interface Property

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface Property

getOwner

public Object getOwner()
Specified by:
getOwner in interface Property

setOwner

public void setOwner(Object owner)
Specified by:
setOwner in interface Property

equals

public boolean equals(Object value)

hashCode

public int hashCode()