|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.appframe.docview.IlvAbstractDocument
ilog.views.appframe.docview.IlvDataDocument
public class IlvDataDocument
Defines documents associated with user data.
| Field Summary | |
|---|---|
static String |
DATA_PROPERTY
Bound property name for the data associated with the document. |
| Fields inherited from class ilog.views.appframe.docview.IlvAbstractDocument |
|---|
REDO_CMD, UNDO_CMD |
| Fields inherited from interface ilog.views.appframe.docview.IlvDocument |
|---|
APPLICATION_PROPERTY, ATTACHED_DOCUMENTS_PROPERTY, DOCUMENT_OWNER_PROPERTY, DOCUMENT_TEMPLATE_PROPERTY, EDITABLE_PROPERTY, MODIFIED_PROPERTY, SAVEABLE_PROPERTY, TITLE_PROPERTY |
| Constructor Summary | |
|---|---|
IlvDataDocument()
Constructs a new IlvDataDocument instance. |
|
IlvDataDocument(Object data)
Constructs a new IlvDataDocument associated with the
specified data. |
|
| Method Summary | |
|---|---|
Object |
getData()
Returns the data object associated with this document. |
boolean |
initializeDocument(Object userData)
Initializes a new data document. |
void |
setData(Object data)
Sets a new data object to the document. |
| Methods inherited from class ilog.views.appframe.docview.IlvAbstractDocument |
|---|
actionPerformed, activated, addActionHandler, addEdit, addPropertyChangeListener, addView, attachDocument, canRedo, canUndo, clean, documentClosed, documentClosing, getActiveView, getApplication, getDocumentTemplate, getProperty, getTitle, getUndoManager, getView, getViewCount, getViews, isModified, isProcessingAction, notifyViews, receiveMessage, redo, registerMappings, removeActionHandler, removePropertyChangeListener, removeView, removeViews, setApplication, setModified, setProperty, setTitle, undo, updateAction, updateModificationState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DATA_PROPERTY
getData(),
setData(java.lang.Object),
Constant Field Values| Constructor Detail |
|---|
public IlvDataDocument()
IlvDataDocument instance.
public IlvDataDocument(Object data)
IlvDataDocument associated with the
specified data.
data - The user data stored by the document.setData(java.lang.Object)| Method Detail |
|---|
public boolean initializeDocument(Object userData)
initializeDocument in interface IlvDocumentinitializeDocument in class IlvAbstractDocumentuserData - The user data with which the document is initialized. Its value can be
null. This parameter is set to the data document using the method
setData(java.lang.Object).
true. An overridden method should return true
if the document has been successfully initialized; false otherwise.setData(java.lang.Object),
IlvApplication.newDocument(java.lang.Object, boolean),
IlvApplication.newDocument(),
IlvApplication.newDocument(IlvDocumentTemplate, boolean, Object)public Object getData()
setData(java.lang.Object),
DATA_PROPERTYpublic void setData(Object data)
DATA_PROPERTY.
data - The new data object of the document.getData(),
DATA_PROPERTY
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||