|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
I am meant to be used as a convenient superclass for classes that want to implement various simple interfaces. By subclassing off me the subclasses do not have to implement all the methods themselves. Future extension... It should generally be fine to implement additional interfaces at any time but some guidelines should be followed. Whatever classes are already implementing this interface should never require modification due to a change in this class - for example this class should NEVER be declared abstract. Also this class should never declare any instance variables or static methods.
| Method Summary | |
java.lang.String |
getClassName()
This convenience method return the short class name. |
java.lang.Object |
getClone()
Get a clone of this object. |
java.lang.Object |
getCopy()
Get a copy of this object. |
java.lang.Object |
getCopy(java.lang.Object e)
If the object implements FwCopyableIF then return e.getCopy(). |
java.lang.Object |
getDeepCopy()
Return a copy that is completely independent from the original. |
java.lang.String |
getDisplayString()
If toStringValue is non-null then return it. |
java.lang.String |
getDisplayStringFor(java.lang.Object e)
If the parameter implements FwDisplayableIF then return e.getDisplayString(). |
void |
postCopy()
This should never be called directly from a client. |
java.lang.String |
toString()
toString is understood by all objects but is included in this interface for conceptual completeness and documentation. |
java.lang.String |
toStringValue()
Get the string form of the object's value. |
| Method Detail |
public java.lang.Object getCopy()
FwCopyableIF
getCopy in interface FwCopyableIFpublic java.lang.Object getCopy(java.lang.Object e)
FwCopyableIF
getCopy in interface FwCopyableIFpublic java.lang.Object getDeepCopy()
FwCopyableIF
getDeepCopy in interface FwCopyableIFpublic void postCopy()
FwCopyableIF
postCopy in interface FwCopyableIFpublic java.lang.Object getClone()
FwCopyableIF
getClone in interface FwCopyableIFpublic java.lang.String toString()
FwDisplayableIF
toString in interface FwDisplayableIFtoString in class java.lang.Objectpublic java.lang.String toStringValue()
FwDisplayableIF
toStringValue in interface FwDisplayableIFpublic java.lang.String getDisplayString()
FwDisplayableIF
getDisplayString in interface FwDisplayableIFpublic java.lang.String getDisplayStringFor(java.lang.Object e)
FwDisplayableIF
getDisplayStringFor in interface FwDisplayableIFpublic java.lang.String getClassName()
FwDisplayableIF
getClassName in interface FwDisplayableIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||