org.jvnet.hudson.ec2.launcher.gui
Class CompletionUpdater

java.lang.Object
  extended by org.jvnet.hudson.ec2.launcher.gui.CompletionUpdater

public abstract class CompletionUpdater
extends java.lang.Object

Simplifies event subscriptions so that a single update method gets called regardless of the component that changes.

Author:
Kohsuke Kawaguchi

Constructor Summary
CompletionUpdater()
           
 
Method Summary
 CompletionUpdater add(javax.swing.JList list)
           
 CompletionUpdater add(javax.swing.JRadioButton r)
           
 CompletionUpdater add(javax.swing.JTextField text)
           
protected  boolean has(javax.swing.JTextField field)
           
abstract  void update()
          Called for a change in the any of the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompletionUpdater

public CompletionUpdater()
Method Detail

update

public abstract void update()
Called for a change in the any of the component.


has

protected boolean has(javax.swing.JTextField field)

add

public CompletionUpdater add(javax.swing.JRadioButton r)

add

public CompletionUpdater add(javax.swing.JTextField text)

add

public CompletionUpdater add(javax.swing.JList list)


Copyright © 2009. All Rights Reserved.