|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Panel visad.browser.Widget visad.browser.GMCWidget
public class GMCWidget
A widget that allows users to control graphics mode parameters.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Panel |
---|
Panel.AccessibleAWTPanel |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class visad.browser.Widget |
---|
DEBUG, FALSE, PALE_GRAY, TRUE |
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 | |
---|---|
GMCWidget()
Constructs a new GMCWidget. |
Method Summary | |
---|---|
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. |
Methods inherited from class visad.browser.Widget |
---|
addComponent, addWidgetListener, containedIn, notifyListeners, removeWidgetListener, testWidget |
Methods inherited from class java.awt.Panel |
---|
addNotify, getAccessibleContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GMCWidget()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |