public class GMCWidget extends Widget implements ActionListener, ItemListener
Panel.AccessibleAWTPanel
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
GMCWidget()
Constructs a new GMCWidget.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Handles TextField changes.
|
int |
getCurvedSize()
Gets the curved size.
|
float |
getLineWidth()
Gets the value of the line width text field.
|
boolean |
getMissingTransparent()
Gets whether missing values are transparent.
|
boolean |
getPointMode()
Gets the value of the point mode checkbox;
|
float |
getPointSize()
Gets the value of the point size text field.
|
int |
getPolygonMode()
Gets the polygon mode.
|
int |
getProjectionPolicy()
Gets the projection policy.
|
String |
getSaveString()
Gets a string representing this widget's current state.
|
boolean |
getScaleEnable()
Gets the value of the scale enable checkbox.
|
boolean |
getTextureEnable()
Gets the value of the texture enable checkbox.
|
int |
getTransparencyMode()
Gets the transparency mode.
|
void |
itemStateChanged(ItemEvent e)
Handles Checkbox changes.
|
static void |
main(String[] args)
Tests GMCWidget.
|
void |
setCurvedSize(int cs)
Sets the curved size.
|
void |
setLineWidth(float lw)
Programmatically sets the line width text field.
|
void |
setMissingTransparent(boolean mt)
Sets whether missing values are transparent.
|
void |
setPointMode(boolean pm)
Programmatically sets the point mode checkbox.
|
void |
setPointSize(float ps)
Programmatically sets the point size text field.
|
void |
setPolygonMode(int pm)
Sets the polygon mode.
|
void |
setProjectionPolicy(int pp)
Sets the projection policy.
|
void |
setSaveString(String save)
Reconstructs this widget's state using the specified save string.
|
void |
setScaleEnable(boolean se)
Programmatically sets the scale enabled checkbox.
|
void |
setTextureEnable(boolean tm)
Programmatically sets the texture mapping checkbox.
|
void |
setTransparencyMode(int tm)
Sets the transparency mode.
|
addComponent, addWidgetListener, containedIn, notifyListeners, removeWidgetListener, testWidget
addNotify, getAccessibleContext
add, 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, validateTree
action, 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, 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, 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, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public float getLineWidth()
public void setLineWidth(float lw)
public float getPointSize()
public void setPointSize(float ps)
public boolean getPointMode()
public void setPointMode(boolean pm)
public boolean getTextureEnable()
public void setTextureEnable(boolean tm)
public boolean getScaleEnable()
public void setScaleEnable(boolean se)
public int getTransparencyMode()
public void setTransparencyMode(int tm)
public int getProjectionPolicy()
public void setProjectionPolicy(int pp)
public int getPolygonMode()
public void setPolygonMode(int pm)
public boolean getMissingTransparent()
public void setMissingTransparent(boolean mt)
public int getCurvedSize()
public void setCurvedSize(int cs)
public String getSaveString()
getSaveString
in class Widget
public void setSaveString(String save)
setSaveString
in class Widget
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener
public static void main(String[] args)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.