com.sas.awt
Class RefreshCommand

com.sas.awt.RefreshCommand
All Implemented Interfaces:
com.sas.util.SimpleCommand, java.io.Serializable

public class RefreshCommand
implements com.sas.util.SimpleCommand, java.io.Serializable

Used with a com.sas.beans.PropertyChangeCommandAdaptor, one can set this as the command that executed whenever a propertyChanged event gets fired.

See Also:
Serialized Form

Field Summary
protected  java.awt.Component component
          The component the refreshCommand will be used on
 
Constructor Summary
RefreshCommand(java.awt.Component component)
          Sets the component that the refresh command will be executed on.
 
Method Summary
 void execute(java.lang.Object arg)
          Executes an invalidate and repaint command on the component
 

Field Detail

component

protected java.awt.Component component
The component the refreshCommand will be used on

Constructor Detail

RefreshCommand

public RefreshCommand(java.awt.Component component)
Sets the component that the refresh command will be executed on.

Method Detail

execute

public void execute(java.lang.Object arg)
Executes an invalidate and repaint command on the component

Specified by:
execute in interface com.sas.util.SimpleCommand



Copyright © 2009 SAS Institute Inc. All Rights Reserved.