|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gui.IconField
public class IconField
An icon-selection field. The data stored is the name of an image from an ImageFactory.
Copyright 2006 Partner Software, Inc.
| Constructor Summary | |
|---|---|
IconField()
|
|
| Method Summary | |
|---|---|
void |
doAction()
This does different things depending on the field; for example in a text field it indicates return was hit. |
javax.swing.JComponent |
getGUI()
Returns the GUI component for this field. |
boolean |
getShowName()
|
java.lang.Object |
getValue()
Returns the current value for this field. |
void |
setFixedHeight(int newHeight)
|
void |
setFixedWidth(int newWidth)
|
void |
setImagePath(java.lang.String imagePath)
|
void |
setShowName(boolean tizit)
|
void |
setValue(java.lang.Object newValue)
Sets the current value for this field. |
void |
valueChanged(java.lang.Object newValue)
When the value changes, this is run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IconField()
| Method Detail |
|---|
public void setImagePath(java.lang.String imagePath)
public void doAction()
GUIField
doAction in interface GUIFieldpublic javax.swing.JComponent getGUI()
GUIField
getGUI in interface GUIFieldpublic java.lang.Object getValue()
GUIField
getValue in interface GUIFieldpublic void setValue(java.lang.Object newValue)
GUIField
setValue in interface GUIFieldpublic void valueChanged(java.lang.Object newValue)
GUIField
valueChanged in interface GUIFieldpublic boolean getShowName()
public void setShowName(boolean tizit)
public void setFixedWidth(int newWidth)
public void setFixedHeight(int newHeight)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||