Class Picture


  extended by Object
      extended by Component
          extended by Picture

public class Picture
extends Component

Picture component shows a single image. The associated image is accessed with Component.getImage() and Component.setImage(Image) methods.

Picture has the following special style customizations:


Constructor Summary
Picture(Style style, Image image)
          Constructs a new Picture component.
 
Method Summary
 
Methods inherited from class Component
add, appendText, clear, find, first, get, getAction, getData, getElement, getFlags, getImage, getLocation, getParent, getShell, getSize, getStyle, getText, getViewPort, hasLinefeed, indexOf, insert, isFocusable, isShown, isVisible, isWrapping, last, operator_get, operator_set, remove, remove, repaint, set, setAction, setData, setElement, setFlags, setImage, setLocation, setPreferredHeight, setPreferredSize, setPreferredWidth, setStyle, setText, size
 
Methods inherited from class Object
toString, equals, hashCode
 
Methods inherited from
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Picture

public Picture(Style style,
               Image image)
Constructs a new Picture component.

Parameters:
style - Style to use
image - Image to use