swingwt.awt.peer
Interface ComponentPeer


public interface ComponentPeer

ComponentPeer interface - not implemented anywhere, just here for compile compatibility with Swing (for now).


Method Summary
 boolean canDetermineObscurity()
           
 int checkImage(Image img, int w, int h, ImageObserver imageObserver)
           
 void createBuffers(int numBuffers, BufferCapabilities bufferCapabilities)
           
 Image createImage(ImageProducer imageProducer)
           
 Image createImage(int width, int height)
           
 VolatileImage createVolatileImage(int width, int height)
           
 void destroyBuffers()
           
 void disable()
           
 void dispose()
           
 void enable()
           
 void flip(BufferCapabilities.FlipContents flipAction)
           
 Image getBackBuffer()
           
 ColorModel getColorModel()
           
 FontMetrics getFontMetrics(FontPeer fontPeer)
           
 Graphics getGraphics()
           
 GraphicsConfiguration getGraphicsConfiguration()
           
 Point getLocationOnScreen()
           
 Dimension getMinimumSize()
           
 Dimension getPreferredSize()
           
 Toolkit getToolkit()
           
 void handleEvent(AWTEvent awtEvent)
           
 boolean handlesWheelScrolling()
           
 void hide()
           
 boolean isFocusable()
           
 boolean isObscured()
           
 Dimension minimumSize()
           
 void paint(Graphics g)
           
 Dimension preferredSize()
           
 boolean prepareImage(Image img, int w, int h, ImageObserver imageObserver)
           
 void print(Graphics g)
           
 void repaint(long tm, int x, int y, int width, int height)
           
 boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time)
           
 void reshape(int x, int y, int width, int height)
           
 void setBackground(Color c)
           
 void setBounds(int x, int y, int width, int height)
           
 void setEnabled(boolean enabled)
           
 void setFont(Font f)
           
 void setForeground(Color c)
           
 void setVisible(boolean visible)
           
 void show()
           
 void updateCursorImmediately()
           
 

Method Detail

setVisible

public void setVisible(boolean visible)

setEnabled

public void setEnabled(boolean enabled)

canDetermineObscurity

public boolean canDetermineObscurity()

isObscured

public boolean isObscured()

handleEvent

public void handleEvent(AWTEvent awtEvent)

getLocationOnScreen

public Point getLocationOnScreen()

getPreferredSize

public Dimension getPreferredSize()

getMinimumSize

public Dimension getMinimumSize()

setBounds

public void setBounds(int x,
                      int y,
                      int width,
                      int height)

getColorModel

public ColorModel getColorModel()

getToolkit

public Toolkit getToolkit()

getGraphics

public Graphics getGraphics()

paint

public void paint(Graphics g)

repaint

public void repaint(long tm,
                    int x,
                    int y,
                    int width,
                    int height)

print

public void print(Graphics g)

getFontMetrics

public FontMetrics getFontMetrics(FontPeer fontPeer)

setFont

public void setFont(Font f)

dispose

public void dispose()

setForeground

public void setForeground(Color c)

setBackground

public void setBackground(Color c)

updateCursorImmediately

public void updateCursorImmediately()

requestFocus

public boolean requestFocus(Component lightweightChild,
                            boolean temporary,
                            boolean focusedWindowChangeAllowed,
                            long time)

isFocusable

public boolean isFocusable()

createImage

public Image createImage(ImageProducer imageProducer)

createImage

public Image createImage(int width,
                         int height)

createVolatileImage

public VolatileImage createVolatileImage(int width,
                                         int height)

prepareImage

public boolean prepareImage(Image img,
                            int w,
                            int h,
                            ImageObserver imageObserver)

checkImage

public int checkImage(Image img,
                      int w,
                      int h,
                      ImageObserver imageObserver)

getGraphicsConfiguration

public GraphicsConfiguration getGraphicsConfiguration()

handlesWheelScrolling

public boolean handlesWheelScrolling()

flip

public void flip(BufferCapabilities.FlipContents flipAction)

createBuffers

public void createBuffers(int numBuffers,
                          BufferCapabilities bufferCapabilities)
                   throws AWTException
Throws:
AWTException

getBackBuffer

public Image getBackBuffer()

destroyBuffers

public void destroyBuffers()

preferredSize

public Dimension preferredSize()

minimumSize

public Dimension minimumSize()

show

public void show()

hide

public void hide()

enable

public void enable()

disable

public void disable()

reshape

public void reshape(int x,
                    int y,
                    int width,
                    int height)