jigcell.compare.data
Class ProgrammableDataGenerator.DummyCustomizableInterface

java.lang.Object
  extended by jigcell.compare.data.ProgrammableDataGenerator.DummyCustomizableInterface
All Implemented Interfaces:
ICustomizableInterface
Enclosing class:
ProgrammableDataGenerator

private static final class ProgrammableDataGenerator.DummyCustomizableInterface
extends java.lang.Object
implements ICustomizableInterface

Acts as a placeholder for data generators that do not define a user interface handler.


Field Summary
private  ProgrammableDataGenerator generator
          Data generator being wrapped
 
Fields inherited from interface jigcell.compare.ICustomizableInterface
DIMENSION_HELP, OPTION_INPUTDESCRIPTION, OPTION_OUTPUTDESCRIPTION
 
Constructor Summary
ProgrammableDataGenerator.DummyCustomizableInterface(IProgrammableDataGenerator generator)
          Wraps the data generator with a dummy interface.
 
Method Summary
 javax.swing.JComponent createCustomizer(java.lang.String name)
          A customization component for a generator.
 void destroyCustomizer(java.lang.String name)
          Destroys a customization component created by this interface.
 IComponentDescription getInputDescription()
          A description of the input of this data source.
 IComponentDescription getOutputDescription()
          A description of the output of this data source.
 boolean hasMultipleViewSupport()
          Whether this interface supports multiple, simultaneous views.
 void updateInterface(java.lang.String propertyName)
          Updates customizers based on the generator state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generator

private final ProgrammableDataGenerator generator
Data generator being wrapped

Constructor Detail

ProgrammableDataGenerator.DummyCustomizableInterface

public ProgrammableDataGenerator.DummyCustomizableInterface(IProgrammableDataGenerator generator)
Wraps the data generator with a dummy interface.

Parameters:
generator - Programmable data generator to wrap
Method Detail

createCustomizer

public javax.swing.JComponent createCustomizer(java.lang.String name)
A customization component for a generator.

Specified by:
createCustomizer in interface ICustomizableInterface
Parameters:
name - Identifying name for the customizer. Each unique expected usage of a customizer should have a distinct name.

destroyCustomizer

public void destroyCustomizer(java.lang.String name)
Destroys a customization component created by this interface.

Specified by:
destroyCustomizer in interface ICustomizableInterface
Parameters:
name - Identifying name for the customizer

getInputDescription

public IComponentDescription getInputDescription()
A description of the input of this data source.

Specified by:
getInputDescription in interface ICustomizableInterface

getOutputDescription

public IComponentDescription getOutputDescription()
A description of the output of this data source.

Specified by:
getOutputDescription in interface ICustomizableInterface

hasMultipleViewSupport

public boolean hasMultipleViewSupport()
Whether this interface supports multiple, simultaneous views.

Specified by:
hasMultipleViewSupport in interface ICustomizableInterface

updateInterface

public void updateInterface(java.lang.String propertyName)
Updates customizers based on the generator state.

Specified by:
updateInterface in interface ICustomizableInterface
Parameters:
propertyName - Name of the property that changed or null to indicate that all properties may have changed