gov.noaa.pmel.sgt
Interface Attribute

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ContourLineAttribute, DefaultContourLineAttribute, GridAttribute, LineAttribute, PointAttribute, VectorAttribute

public interface Attribute
extends java.io.Serializable

Defines an interface for classes that provide rendering information for sgt.dm classes.

Since:
1.0
Version:
$Revision$, $Date$
Author:
Donald Denbo

Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
          Add listener for changes to attribute properties.
 java.lang.String getId()
          Get attribute id.
 boolean isBatch()
          Is the attribute in batch mode?
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
          Remove change listener.
 void setBatch(boolean batch)
          Batch the changes to the attribute.
 void setBatch(boolean batch, boolean local)
          Batch the changes to the attribute and set local flag.
 void setId(java.lang.String id)
          Set attribute id.
 java.lang.String toString()
          Return a printable representation of the object.
 

Method Detail

toString

java.lang.String toString()
Return a printable representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
Description

addPropertyChangeListener

void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add listener for changes to attribute properties. The properties that can be listened for depend on the implementing class.

Since:
2.0

removePropertyChangeListener

void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove change listener.

Since:
2.0

setId

void setId(java.lang.String id)
Set attribute id.

Since:
3.0

getId

java.lang.String getId()
Get attribute id.

Since:
3.0

setBatch

void setBatch(boolean batch)
Batch the changes to the attribute.

Since:
3.0

setBatch

void setBatch(boolean batch,
              boolean local)
Batch the changes to the attribute and set local flag. Determines whether AttributeChangeEvent will be set local.

Since:
3.0

isBatch

boolean isBatch()
Is the attribute in batch mode?

Since:
3.0