Documentation of 'visad.browser.GMCWidget' Java class
GMCWidget
visad.browser

Class GMCWidget

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible


    public class GMCWidget
    extends Widget
    implements java.awt.event.ActionListener, java.awt.event.ItemListener
    A widget that allows users to control graphics mode parameters.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.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

      Constructors 
      Constructor and Description
      GMCWidget()
      Constructs a new GMCWidget.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void actionPerformed(java.awt.event.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.
      java.lang.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(java.awt.event.ItemEvent e)
      Handles Checkbox changes.
      static void main(java.lang.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(java.lang.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.
      • Methods inherited from class java.awt.Panel

        addNotify, getAccessibleContext
      • 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, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, 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, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GMCWidget

        public GMCWidget()
        Constructs a new GMCWidget.
    • Method Detail

      • getLineWidth

        public float getLineWidth()
        Gets the value of the line width text field.
      • setLineWidth

        public void setLineWidth(float lw)
        Programmatically sets the line width text field.
      • getPointSize

        public float getPointSize()
        Gets the value of the point size text field.
      • setPointSize

        public void setPointSize(float ps)
        Programmatically sets the point size text field.
      • getPointMode

        public boolean getPointMode()
        Gets the value of the point mode checkbox;
      • setPointMode

        public void setPointMode(boolean pm)
        Programmatically sets the point mode checkbox.
      • getTextureEnable

        public boolean getTextureEnable()
        Gets the value of the texture enable checkbox.
      • setTextureEnable

        public void setTextureEnable(boolean tm)
        Programmatically sets the texture mapping checkbox.
      • getScaleEnable

        public boolean getScaleEnable()
        Gets the value of the scale enable checkbox.
      • setScaleEnable

        public void setScaleEnable(boolean se)
        Programmatically sets the scale enabled checkbox.
      • getTransparencyMode

        public int getTransparencyMode()
        Gets the transparency mode.
      • setTransparencyMode

        public void setTransparencyMode(int tm)
        Sets the transparency mode.
      • getProjectionPolicy

        public int getProjectionPolicy()
        Gets the projection policy.
      • setProjectionPolicy

        public void setProjectionPolicy(int pp)
        Sets the projection policy.
      • getPolygonMode

        public int getPolygonMode()
        Gets the polygon mode.
      • setPolygonMode

        public void setPolygonMode(int pm)
        Sets the polygon mode.
      • getMissingTransparent

        public boolean getMissingTransparent()
        Gets whether missing values are transparent.
      • setMissingTransparent

        public void setMissingTransparent(boolean mt)
        Sets whether missing values are transparent.
      • getCurvedSize

        public int getCurvedSize()
        Gets the curved size.
      • setCurvedSize

        public void setCurvedSize(int cs)
        Sets the curved size.
      • getSaveString

        public java.lang.String getSaveString()
        Gets a string representing this widget's current state.
        Specified by:
        getSaveString in class Widget
      • setSaveString

        public void setSaveString(java.lang.String save)
        Reconstructs this widget's state using the specified save string.
        Specified by:
        setSaveString in class Widget
      • actionPerformed

        public void actionPerformed(java.awt.event.ActionEvent e)
        Handles TextField changes.
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • itemStateChanged

        public void itemStateChanged(java.awt.event.ItemEvent e)
        Handles Checkbox changes.
        Specified by:
        itemStateChanged in interface java.awt.event.ItemListener
      • main

        public static void main(java.lang.String[] args)
        Tests GMCWidget.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.