XStateHolder.java :  » XML-UI » XUI » net » xoetrope » xui » Java Open Source

Java Open Source » XML UI » XUI 
XUI » net » xoetrope » xui » XStateHolder.java
package net.xoetrope.xui;

import java.awt.Component;

/**
 * A generic interface that allows stateful components to bind their state
 * <p>Copyright (c) Xoetrope Ltd., 1998-2004</p>
 * $Revision: 1.3 $
 */
public interface XStateHolder
{
  /**
   * Get the component state
   * @return the object state
   */
  public Object getComponentState();

  /**
   * Set the component state
   * @param the new component state
   */
  public void setComponentState( Object object );

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.