com.partnersoft.v3x.gadgets
Class SpecifierGadget

java.lang.Object
  extended by com.partnersoft.v3x.gadgets.SpecifierGadget
All Implemented Interfaces:
Specifier
Direct Known Subclasses:
MapCoordSpecifier, MapGraphicSpecifier, MXGroup, RedlineSelector, SelectionAdaptor, SpecifierCombiner, SpecifierCoupler

public class SpecifierGadget
extends java.lang.Object
implements Specifier

A minimal implementation of Specifier.


Constructor Summary
SpecifierGadget()
           
SpecifierGadget(java.lang.Object source)
           
 
Method Summary
 void addSpecificationListener(SpecificationListener listener)
           
 java.lang.Object getSpecified()
          Returns specified object.
 java.lang.Class getSpecifiedClass()
          Returns the class of objects that can be specified with this specifier.
 void removeSpecificationListener(SpecificationListener listener)
           
 void setSpecified(java.lang.Object newSpecification)
          Specifies an object.
 void setSpecifiedClass(java.lang.Class newClass)
          Sets the class of objects that can be specified with this specifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecifierGadget

public SpecifierGadget()

SpecifierGadget

public SpecifierGadget(java.lang.Object source)
Method Detail

getSpecified

public java.lang.Object getSpecified()
Returns specified object.

Specified by:
getSpecified in interface Specifier

setSpecified

public void setSpecified(java.lang.Object newSpecification)
Specifies an object.

Specified by:
setSpecified in interface Specifier

addSpecificationListener

public void addSpecificationListener(SpecificationListener listener)
Specified by:
addSpecificationListener in interface Specifier

removeSpecificationListener

public void removeSpecificationListener(SpecificationListener listener)
Specified by:
removeSpecificationListener in interface Specifier

getSpecifiedClass

public java.lang.Class getSpecifiedClass()
Returns the class of objects that can be specified with this specifier.

Specified by:
getSpecifiedClass in interface Specifier

setSpecifiedClass

public void setSpecifiedClass(java.lang.Class newClass)
Sets the class of objects that can be specified with this specifier.

Specified by:
setSpecifiedClass in interface Specifier