|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDocumentGroup
An interface to represent the concept of document group.
| Method Summary | |
|---|---|
void |
addDocument(DocumentComponent document)
Adds a document to the this document group. |
void |
addDocument(DocumentComponent document,
int index)
Adds a document to the this document group. |
Component |
getDocumentAt(int index)
Gets document at position index. |
int |
getDocumentCount()
Gets document count in this group. |
Component |
getSelectedDocument()
Gets component of the selected document in this group. |
int |
getSelectedIndex()
Gets component of the selected document in this group. |
int |
indexOfDocument(Component component)
Gets the index of the document. |
void |
moveSelectedDocumentTo(int index)
Moves selected document to another index. |
void |
removeDocument(DocumentComponent document)
Removes document. |
void |
removeDocument(int index)
Removes document at index. |
void |
setSelectedDocument(Component component)
Sets the selected document. |
void |
updateComponent(DocumentComponent document)
Deprecated. replaced by updateComponent(DocumentComponent, java.awt.Component) |
void |
updateComponent(DocumentComponent document,
Component oldComponent)
Updates the component of document. |
void |
updateTitle(DocumentComponent document)
Updates the title of document. |
| Method Detail |
|---|
void addDocument(DocumentComponent document)
document - document to be added
void addDocument(DocumentComponent document,
int index)
document - document to be addedindex - the index of the document where it will be added.void removeDocument(int index)
index - index of the document to be removedvoid removeDocument(DocumentComponent document)
document - document to be removedvoid updateTitle(DocumentComponent document)
document - the document@Deprecated void updateComponent(DocumentComponent document)
updateComponent(DocumentComponent, java.awt.Component)
document - the document
void updateComponent(DocumentComponent document,
Component oldComponent)
document - the documentoldComponent - the old component of the documentComponent getSelectedDocument()
int getSelectedIndex()
void setSelectedDocument(Component component)
component - component of the selected documentint getDocumentCount()
Component getDocumentAt(int index)
index.
index - the index of the document
indexint indexOfDocument(Component component)
component - the component
void moveSelectedDocumentTo(int index)
index - the index of the document
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||