public enum PlotWindowType extends Enum<PlotWindowType>
Enum Constant and Description |
---|
CUBE
Cube.
|
HISTOGRAM
Histogram.
|
MATRIX
Matrix.
|
PLANE
Plane.
|
SKY
Sky.
|
SPHERE
Sphere.
|
TIME
Time.
|
Modifier and Type | Method and Description |
---|---|
abstract StackPlotWindow<?,?> |
createWindow(Component parent,
ListModel<TopcatModel> tablesModel)
Creates an instance of this plot type's window.
|
String |
getDescription()
Returns short description for plot type.
|
Icon |
getIcon()
Returns plot type icon.
|
String |
getName()
Returns plot type name.
|
String |
toString() |
static PlotWindowType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlotWindowType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlotWindowType HISTOGRAM
public static final PlotWindowType PLANE
public static final PlotWindowType SKY
public static final PlotWindowType CUBE
public static final PlotWindowType SPHERE
public static final PlotWindowType MATRIX
public static final PlotWindowType TIME
public static PlotWindowType[] values()
for (PlotWindowType c : PlotWindowType.values()) System.out.println(c);
public static PlotWindowType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public Icon getIcon()
public String getDescription()
public abstract StackPlotWindow<?,?> createWindow(Component parent, ListModel<TopcatModel> tablesModel)
parent
- parent component, used for placementtablesModel
- list of available tablespublic String toString()
toString
in class Enum<PlotWindowType>
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.