|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.history.RevisionIdentifier
public class RevisionIdentifier
Class of objects returned from HistoryEntry.getValue() for the SharedProperties.REVISION property. This simply consists of an icon and a string.
| Constructor Summary | |
|---|---|
RevisionIdentifier(javax.swing.Icon icon,
java.lang.String label)
Construct the identifier. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object that)
Simple implementation of equals() that compares two RevisionIdentifiers based on their label. |
javax.swing.Icon |
getIcon()
Get the icon. |
java.lang.String |
getLabel()
Get the label. |
boolean |
isCurrent()
Get whether this identifies the current document revision. |
void |
setCurrent(boolean current)
Set whether this identifies the current document revision. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RevisionIdentifier(javax.swing.Icon icon,
java.lang.String label)
icon - the iconrevision - the revision number (and label).| Method Detail |
|---|
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic javax.swing.Icon getIcon()
public java.lang.String getLabel()
public void setCurrent(boolean current)
current - true if the revision is current.public boolean isCurrent()
true if the revision is current.public boolean equals(java.lang.Object that)
equals in class java.lang.Objectthat - the other object to compare with
public java.lang.String toString()
toString in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||