|
healpix.plot3d.gui
Class ViewMaps
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
javax.swing.JApplet
healpix.plot3d.gui.ViewMaps
- All Implemented Interfaces:
- MapTaker, ActionListener, ItemListener, TextListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer
public class ViewMaps - extends JApplet
- implements ActionListener, TextListener, ItemListener, MapTaker
Allow map selection and eventually display it and allow zoom.
- Version:
- $Id: ViewMaps.java,v 1.1.2.4 2010/02/22 14:55:50 healpix Exp $
- Author:
- ejoliet
- See Also:
- Serialized Form
Constructor Summary |
ViewMaps()
TODO Should be in progs package but: Use the extract box in the progs and remove this class. |
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.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
ViewMaps
public ViewMaps()
- TODO Should be in progs package but: Use the extract box in the progs and remove this class.
main
public static void main(String[] argv)
getPreferredSize
public Dimension getPreferredSize()
- Window manager sets the size of the window officially but we can suggest
which size we would like
- Overrides:
getPreferredSize in class Container
init
public void init()
- This does all the setup and layout
- Overrides:
init in class Applet
setMap
public void setMap(HealpixMap map)
- Description copied from interface:
MapTaker
- Sets the map.
- Specified by:
setMap in interface MapTaker
- Parameters:
map - the new map
getInfo
public String getInfo()
actionPerformed
public void actionPerformed(ActionEvent e)
- This is required to implement ActionListener - this gets called when
someone hits a button
- Specified by:
actionPerformed in interface ActionListener
textValueChanged
public void textValueChanged(TextEvent evt)
- This must be imlpmented to satify the TextListener interface it gets
called when the text in the box changes
- Specified by:
textValueChanged in interface TextListener
itemStateChanged
public void itemStateChanged(ItemEvent evt)
- Item listener imp - for check boxes
- Specified by:
itemStateChanged in interface ItemListener
getMap
public HealpixMap getMap()
- Description copied from interface:
MapTaker
- Gets the map.
- Specified by:
getMap in interface MapTaker
- Returns:
- the map
|
|