|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.client.objecteditor.ContentViewer
fedora.client.objecteditor.ContentEditor
public abstract class ContentEditor
Edit content of certain types in a JComponent.
| Constructor Summary | |
|---|---|
ContentEditor()
|
|
| Method Summary | |
|---|---|
abstract void |
changesSaved()
Called when the caller wants what is in the view to be considered "not dirty" because it's been saved that way. |
abstract java.io.InputStream |
getContent()
Gets the content in its edited state. |
abstract boolean |
isDirty()
Returns true if the content should be considered "dirty" (e.g. |
boolean |
isEditor()
Always returns true. |
abstract void |
setContentChangeListener(java.awt.event.ActionListener listener)
Sets the listener that this ContentEditor will notify via listener.actionPerformed(...) when any content-changing events occur that could potentially affect its "dirty state" (whether going from not dirty to dirty, or dirty to not dirty). |
abstract void |
undoChanges()
Called when the caller wants to update the view back to the data was originally passed in. |
| Methods inherited from class fedora.client.objecteditor.ContentViewer |
|---|
getComponent, getTypes, init, newInstance, setContent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentEditor()
| Method Detail |
|---|
public final boolean isEditor()
isEditor in class ContentViewerpublic abstract void changesSaved()
public abstract void undoChanges()
public abstract boolean isDirty()
public abstract void setContentChangeListener(java.awt.event.ActionListener listener)
public abstract java.io.InputStream getContent()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||