com.sun.jna.examples

Class WindowUtils.RepaintTrigger

protected static class WindowUtils.RepaintTrigger extends JComponent

This can be installed over a JLayeredPane in order to listen for repaint requests. The content's repaint method will be invoked whenever any part of the ancestor window is repainted.
Nested Class Summary
protected classWindowUtils.RepaintTrigger.Listener
Constructor Summary
RepaintTrigger(JComponent content)
Method Summary
voidaddNotify()
protected WindowUtils.RepaintTrigger.ListenercreateListener()
protected voidpaintComponent(Graphics g)
voidremoveNotify()

Constructor Detail

RepaintTrigger

public RepaintTrigger(JComponent content)

Method Detail

addNotify

public void addNotify()

createListener

protected WindowUtils.RepaintTrigger.Listener createListener()

paintComponent

protected void paintComponent(Graphics g)

removeNotify

public void removeNotify()
Copyright © 2007-2009 Timothy Wall. All Rights Reserved.