|
||||||||||
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.Panel
java.applet.Applet
javax.swing.JApplet
healpix.plot3d.gui.ViewMaps
public class ViewMaps
Allow map selection and eventually display it and allow zoom.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.BaselineResizeBehavior |
Field Summary |
---|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ViewMaps()
TODO Should be in progs package but: Use the extract box in the progs and remove this class. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
This is required to implement ActionListener - this gets called when someone hits a button |
String |
getInfo()
|
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 |
void |
init()
This does all the setup and layout |
void |
itemStateChanged(ItemEvent evt)
Item listener imp - for check boxes |
static void |
main(String[] argv)
|
void |
setMap(HealpixMap map)
Sets the map. |
void |
textValueChanged(TextEvent evt)
This must be imlpmented to satify the TextListener interface it gets called when the text in the box changes |
Methods inherited from class javax.swing.JApplet |
---|
getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update |
Methods inherited from class java.applet.Applet |
---|
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
Methods inherited from class java.awt.Panel |
---|
addNotify |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ViewMaps()
Method Detail |
---|
public static void main(String[] argv)
public Dimension getPreferredSize()
getPreferredSize
in class Container
public void init()
init
in class Applet
public void setMap(HealpixMap map)
MapTaker
setMap
in interface MapTaker
map
- the new mappublic String getInfo()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void textValueChanged(TextEvent evt)
textValueChanged
in interface TextListener
public void itemStateChanged(ItemEvent evt)
itemStateChanged
in interface ItemListener
public HealpixMap getMap()
MapTaker
getMap
in interface MapTaker
|
"Built from revision exported" | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |