uk.ac.starlink.topcat.activate
Class GenericViewImageActivationType

java.lang.Object
  extended by uk.ac.starlink.topcat.activate.GenericViewImageActivationType
All Implemented Interfaces:
ActivationType
Direct Known Subclasses:
RegionViewImageActivationType, ViewImageActivationType

public class GenericViewImageActivationType
extends Object
implements ActivationType

ActivationType for displaying an image in the internal viewer.

Since:
27 Mar 2018
Author:
Mark Taylor

Constructor Summary
GenericViewImageActivationType(boolean isRegion)
          Constructs an instance with configurable position highlighting.
 
Method Summary
 ActivatorConfigurator createConfigurator(TopcatModelInfo tinfo)
          Returns a component that can be used to configure activators of this type.
 String getDescription()
          Description of this activation type.
 String getName()
          Name of this activation type.
 Suitability getSuitability(TopcatModelInfo tinfo)
          Indicates the applicability of this activation type to a given table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericViewImageActivationType

public GenericViewImageActivationType(boolean isRegion)
Constructs an instance with configurable position highlighting.

Parameters:
isRegion - true iff position highlighting is allowed
Method Detail

getName

public String getName()
Description copied from interface: ActivationType
Name of this activation type.

Specified by:
getName in interface ActivationType
Returns:
type name

getDescription

public String getDescription()
Description copied from interface: ActivationType
Description of this activation type.

Specified by:
getDescription in interface ActivationType
Returns:
type description

createConfigurator

public ActivatorConfigurator createConfigurator(TopcatModelInfo tinfo)
Description copied from interface: ActivationType
Returns a component that can be used to configure activators of this type.

Specified by:
createConfigurator in interface ActivationType
Parameters:
tinfo - information about topcat model for which the activation will take place
Returns:
new configurator to produce compatible Activators

getSuitability

public Suitability getSuitability(TopcatModelInfo tinfo)
Description copied from interface: ActivationType
Indicates the applicability of this activation type to a given table.

Specified by:
getSuitability in interface ActivationType
Parameters:
tinfo - information about topcat model
Returns:
suitability code


Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.