java.io.Serializable
, java.lang.Comparable<PlotWindowType>
public enum PlotWindowType extends java.lang.Enum<PlotWindowType>
Enum Constant | Description |
---|---|
CUBE |
Cube.
|
HISTOGRAM |
Histogram.
|
PLANE |
Plane.
|
SKY |
Sky.
|
SPHERE |
Sphere.
|
TIME |
Time.
|
Modifier and Type | Method | Description |
---|---|---|
abstract StackPlotWindow |
createWindow(java.awt.Component parent,
TypedListModel<TopcatModel> tablesModel) |
Creates an instance of this plot type's window.
|
java.lang.String |
getDescription() |
Returns short description for plot type.
|
javax.swing.Icon |
getIcon() |
Returns plot type icon.
|
java.lang.String |
getName() |
Returns plot type name.
|
java.lang.String |
toString() |
|
static PlotWindowType |
valueOf(java.lang.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 TIME
public static PlotWindowType[] values()
for (PlotWindowType c : PlotWindowType.values()) System.out.println(c);
public static PlotWindowType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public javax.swing.Icon getIcon()
public java.lang.String getDescription()
public abstract StackPlotWindow createWindow(java.awt.Component parent, TypedListModel<TopcatModel> tablesModel)
parent
- parent component, used for placementtablesModel
- list of available tablespublic java.lang.String toString()
toString
in class java.lang.Enum<PlotWindowType>
Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.