All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----powersoft.jcm.ui.Component | +----powersoft.jcm.ui.CommandButton | +----powersoft.jcm.ui.PictureButton
public final static int RAISED
public final static int SUNKEN
public final static int TEXT_TOP
public final static int TEXT_BOTTOM
public PictureButton()
public Image getDisabledImage()
public void setDisabledImage(Image image)
public Image getImage()
public void setImage(Image image)
public void setImage(String filename)
Notes: This method is only useful for a Java application, since reading an image from a local file is neither allowed or desired for an applet.
public void setImage(URL url)
Notes: Using an absolute URL may violate the security model for an untrusted applet. In an applet a relative URL can be used as follows: java.net.URL url = new java.net.URL( this.getDocumentBase(), "images/i1.gif" ); pictbttn_1.setImage( url );
public Insets getInsets()
public void setInsets(Insets insets)
public boolean getShowFocus()
public void setShowFocus(boolean showFocus)
public int getState()
public void setState(int state)
public Image getSunkenImage()
public void setSunkenImage(Image image)
public String getText()
public void setText(String text)
public int getTextPosition()
public void setTextPosition(int pos)
protected Component createAWTComponent(Component parent)
All Packages Class Hierarchy This Package Previous Next Index