|
||||||||||
| 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
healpix.plot3d.gui.view.MapView3d
public class MapView3d
Plotting HealpixMap in 3D with Tooltip behaviour and Rotation actions Get data from fits or data model. A HealpixMap can have several data inside (columns/names). See HealpixMap data model interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.BaselineResizeBehavior |
| Field Summary | |
|---|---|
SimplePanel |
hpan
The hpan. |
JLabel |
info1
The info1. |
| Fields inherited from class javax.swing.JFrame |
|---|
EXIT_ON_CLOSE |
| 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 | |
|---|---|
MapView3d()
Default constructor. |
|
MapView3d(boolean isApplet)
Set up the frame to interact with 3d sphere. |
|
MapView3d(boolean isApplet,
boolean toolTipBehaviour,
float transpValue)
Set up the frame to interact with 3d sphere. |
|
MapView3d(boolean toolTipBehaviour,
float transpValue)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
This is required to implement ActionListener - this gets called when someone hits a button |
HealpixMap |
getMap()
Gets the map. |
Dimension |
getPreferredSize()
Window manager sets the size of the window officially but we can suggest which size we would like |
MapCanvas |
getTheSky()
Gets the the sky. |
boolean |
isDone()
Tells if the application has finished. |
void |
setMap(HealpixMap map)
set the map dat |
void |
setMap(HealpixMap map,
int imap)
set the map dat with ith imap map |
void |
setPath(String name)
Sets the path. |
void |
setVisible(boolean b)
|
void |
start()
init lays out the window and sets up components |
| Methods inherited from class javax.swing.JFrame |
|---|
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
public SimplePanel hpan
public JLabel info1
| Constructor Detail |
|---|
public MapView3d(boolean isApplet)
public MapView3d()
public MapView3d(boolean isApplet,
boolean toolTipBehaviour,
float transpValue)
public MapView3d(boolean toolTipBehaviour,
float transpValue)
| Method Detail |
|---|
public Dimension getPreferredSize()
getPreferredSize in class Containerpublic void setMap(HealpixMap map)
setMap in interface MapTakermap - the new map
public void setMap(HealpixMap map,
int imap)
map - imap - public HealpixMap getMap()
MapTaker
getMap in interface MapTakerpublic void setVisible(boolean b)
setVisible in class Windowpublic void start()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic MapCanvas getTheSky()
public void setPath(String name)
name - the new pathpublic boolean isDone()
|
"Built from revision exported" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||