|
|
@@ -21,28 +21,27 @@ public interface VPaintable { |
|
|
|
*/ |
|
|
|
public void updateFromUIDL(UIDL uidl, ApplicationConnection client); |
|
|
|
|
|
|
|
// /** |
|
|
|
// * Returns the id for this VPaintable. This must always be what has been |
|
|
|
// set |
|
|
|
// * using {@link #setId(String)}. |
|
|
|
// * |
|
|
|
// * @return The id for the VPaintable. |
|
|
|
// */ |
|
|
|
// public String getId(); |
|
|
|
// |
|
|
|
// /** |
|
|
|
// * Sets the id for the VPaintable. This method is called once by the |
|
|
|
// * framework when the VPaintable is initialized and should never be called |
|
|
|
// * otherwise. |
|
|
|
// * <p> |
|
|
|
// * The VPaintable id is used to map the server and the client paintables |
|
|
|
// * together. It is unique in this root and assigned by the framework. |
|
|
|
// * </p> |
|
|
|
// * |
|
|
|
// * @param id |
|
|
|
// * The id of the paintable. |
|
|
|
// */ |
|
|
|
// public void setId(String id); |
|
|
|
/** |
|
|
|
* Returns the id for this VPaintable. This must always be what has been set |
|
|
|
* using {@link #setId(String)}. |
|
|
|
* |
|
|
|
* @return The id for the VPaintable. |
|
|
|
*/ |
|
|
|
public String getId(); |
|
|
|
|
|
|
|
/** |
|
|
|
* Sets the id for the VPaintable. This method is called once by the |
|
|
|
* framework when the VPaintable is initialized and should never be called |
|
|
|
* otherwise. |
|
|
|
* <p> |
|
|
|
* The VPaintable id is used to map the server and the client paintables |
|
|
|
* together. It is unique in this root and assigned by the framework. |
|
|
|
* </p> |
|
|
|
* |
|
|
|
* @param id |
|
|
|
* The id of the paintable. |
|
|
|
*/ |
|
|
|
public void setId(String id); |
|
|
|
|
|
|
|
/** |
|
|
|
* Gets ApplicationConnection instance that created this VPaintable. |
|
|
@@ -50,7 +49,7 @@ public interface VPaintable { |
|
|
|
* @return The ApplicationConnection as set by |
|
|
|
* {@link #setConnection(ApplicationConnection)} |
|
|
|
*/ |
|
|
|
// public ApplicationConnection getConnection(); |
|
|
|
public ApplicationConnection getConnection(); |
|
|
|
|
|
|
|
/** |
|
|
|
* Sets the reference to ApplicationConnection. This method is called by the |
|
|
@@ -60,7 +59,7 @@ public interface VPaintable { |
|
|
|
* @param connection |
|
|
|
* The ApplicationConnection that created this VPaintable |
|
|
|
*/ |
|
|
|
// public void setConnection(ApplicationConnection connection); |
|
|
|
public void setConnection(ApplicationConnection connection); |
|
|
|
|
|
|
|
/** |
|
|
|
* Tests whether the component is enabled or not. A user can not interact |
|
|
@@ -71,4 +70,11 @@ public interface VPaintable { |
|
|
|
* @return true if the component is enabled, false otherwise |
|
|
|
*/ |
|
|
|
// public boolean isEnabled(); |
|
|
|
|
|
|
|
/** |
|
|
|
* |
|
|
|
* Called once when the connection and id has been set |
|
|
|
*/ |
|
|
|
public void init(); |
|
|
|
|
|
|
|
} |