|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
uk.ac.starlink.topcat.AuxWindow
uk.ac.starlink.topcat.plot.GraphicsWindow
uk.ac.starlink.topcat.plot.Plot3DWindow
uk.ac.starlink.topcat.plot.SphereWindow
public class SphereWindow
Graphics window for viewing 3D scatter plots using spherical polar coordinates.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class uk.ac.starlink.topcat.plot.GraphicsWindow |
|---|
GraphicsWindow.ExportAction, GraphicsWindow.ReplotListener |
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
SphereWindow(Component parent)
Constructs a new window. |
|
| Method Summary | |
|---|---|
protected uk.ac.starlink.ttools.plot.PlotState |
createPlotState()
Constructs a new PlotState. |
protected PointSelector |
createPointSelector()
Returns a new PointSelector instance to be used for selecting points to be plotted. |
protected StyleEditor |
createStyleEditor()
Creates a style editor suitable for this window. |
static Icon |
createTangentErrorIcon()
Returns an icon for the button which toggles whether tangential errors will be drawn. |
ErrorModeSelectionModel[] |
getErrorModeModels()
Returns the models for selecting error modes. |
int |
getMainRangeCount()
Returns the number of axes whose ranges can be reset excluding any auxiliary axes. |
uk.ac.starlink.ttools.plot.PlotState |
getPlotState()
Returns an object which characterises the choices the user has made in the GUI to indicate the plot that s/he wants to see. |
| Methods inherited from class uk.ac.starlink.topcat.plot.Plot3DWindow |
|---|
doReplot, getDefaultStyles, getNorthModel, getPlotPanel, modelChanged, setRotation |
| Methods inherited from class uk.ac.starlink.topcat.AuxWindow |
|---|
addHelp, beep, confirm, createImportTableAction, createSaveTableAction, getControlPanel, getFileMenu, getHelpMenu, getIconImage, getMainArea, getToolBar, makeTitledBorder, makeVisible, placeProgressBar, positionAfter, recursiveSetEnabled, setBusy, setCloseIsExit, setMainHeading |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Constructor Detail |
|---|
public SphereWindow(Component parent)
parent - parent component (may be used for positioning)| Method Detail |
|---|
public int getMainRangeCount()
GraphicsWindow
getMainRangeCount in class GraphicsWindowprotected uk.ac.starlink.ttools.plot.PlotState createPlotState()
GraphicsWindowGraphicsWindow.getPlotState()
prior to the PlotState configuration done there. Thus if a
subclass wants to provide and configure a particular state
(for instance one of a specialised subclass of PlotState) it can
override this method to do so.
The default implementation just invokes new PlotState().
createPlotState in class Plot3DWindowpublic uk.ac.starlink.ttools.plot.PlotState getPlotState()
GraphicsWindowThe GraphicsWindow implementation of this method
as well as populating the state with standard information
also calls PointSelection.readPoints(javax.swing.BoundedRangeModel)
and GraphicsWindow.calculateRanges(uk.ac.starlink.topcat.plot.PointSelection, uk.ac.starlink.topcat.plot.Points, uk.ac.starlink.ttools.plot.PlotState) if necessary.
getPlotState in class Plot3DWindowprotected PointSelector createPointSelector()
GraphicsWindow
createPointSelector in class GraphicsWindowprotected StyleEditor createStyleEditor()
GraphicsWindow
createStyleEditor in class GraphicsWindowpublic ErrorModeSelectionModel[] getErrorModeModels()
GraphicsWindow
getErrorModeModels in class GraphicsWindowpublic static Icon createTangentErrorIcon()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||