public class ContourWidget extends Widget implements ActionListener, ItemListener
Panel.AccessibleAWTPanelContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
ContourWidget()
Constructs a new ContourWidget.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
Handles TextField changes.
|
float |
getBase()
Gets the value of the base text field.
|
float |
getContourInterval()
Gets the value of the interval text field.
|
float |
getHiLimit()
Gets the hi value of the contour range slider.
|
boolean |
getLabels()
Gets the value of the labels checkbox.
|
float |
getLowLimit()
Gets the low value of the contour range slider.
|
boolean |
getMainContours()
Gets the value of the contours checkbox.
|
double |
getMaxValue()
Gets the maximum contouring value.
|
double |
getMinValue()
Gets the minimum contouring value.
|
String |
getName()
Gets the name of the variable.
|
String |
getSaveString()
Gets a string representing this widget's current state.
|
float |
getSurfaceValue()
Gets the value of the surface value slider.
|
void |
itemStateChanged(ItemEvent e)
Handles Checkbox changes.
|
static void |
main(String[] args)
Tests ContourWidget.
|
void |
setBase(float bs)
Sets the value of the base text field.
|
void |
setContourInterval(float ci)
Sets the value of the interval text field.
|
void |
setLabels(boolean lb)
Sets the value of the labels checkbox.
|
void |
setLimits(float lo,
float hi)
Sets the range of the contour range slider.
|
void |
setMainContours(boolean mc)
Sets the value of the contours checkbox.
|
void |
setName(String name)
Sets the name of the variable.
|
void |
setRange(float min,
float max)
Sets the minimum and maximum contouring values.
|
void |
setSaveString(String save)
Reconstructs this widget's state using the specified save string.
|
void |
setSurfaceValue(float sv)
Sets the value of the surface value slider.
|
addComponent, addWidgetListener, containedIn, notifyListeners, removeWidgetListener, testWidgetaddNotify, getAccessibleContextadd, add, add, add, add, addContainerListener, addImpl, 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, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic String getName()
public void setName(String name)
public double getMinValue()
public double getMaxValue()
public void setRange(float min,
float max)
public boolean getMainContours()
public void setMainContours(boolean mc)
public boolean getLabels()
public void setLabels(boolean lb)
public float getSurfaceValue()
public void setSurfaceValue(float sv)
public float getContourInterval()
public void setContourInterval(float ci)
public float getLowLimit()
public float getHiLimit()
public void setLimits(float lo,
float hi)
public float getBase()
public void setBase(float bs)
public String getSaveString()
getSaveString in class Widgetpublic void setSaveString(String save)
setSaveString in class Widgetpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void itemStateChanged(ItemEvent e)
itemStateChanged in interface ItemListenerpublic static void main(String[] args)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.