Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Canvas | +--uk.co.ist.mwt.ImageArea
Fields inherited from class java.awt.Component | |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Method Summary | |
java.awt.Image | getDisabledImage()
Method to get the image displayed in the area when it has been disabled |
java.awt.Image | getImage()
Method to get the image displayed in the area |
java.awt.Dimension | getMinimumSize()
Gets the minimum size of the ImageArea. |
java.awt.Dimension | getPreferredSize()
Gets the preferred size of the ImageArea. |
boolean | imageUpdate(java.awt.Image img,
int flags,
int x,
int y,
int w,
int h)
Routine to repaint the image when it changes; we ask the parent to relayout if our idea of its size has changed. |
void | paint(java.awt.Graphics g)
Method to paint the area |
void | setDisabledImage(java.awt.Image i)
Method to specify the image to display in the area when it has been disabled |
void | setImage(java.awt.Image i)
Method to specify the image to display in the area |
Methods inherited from class java.awt.Canvas | |
addNotify, paint |
Methods inherited from class java.awt.Component | |
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paint, postEvent, preferredSize, prepareImage, prepareImage, printAll, print, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate |
Methods inherited from class java.lang.Object | |
equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Method Detail |
public void setImage(java.awt.Image i)
i
- the image to displaypublic java.awt.Image getImage()
public void setDisabledImage(java.awt.Image i)
i
- the image to displaypublic java.awt.Image getDisabledImage()
public void paint(java.awt.Graphics g)
g
- the graphics context into which we should drawpublic java.awt.Dimension getPreferredSize()
public java.awt.Dimension getMinimumSize()
public boolean imageUpdate(java.awt.Image img, int flags, int x, int y, int w, int h)
Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |