public interface IDocumentGroup
Modifier and Type | Method and Description |
---|---|
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.
|
void |
updateComponent(DocumentComponent document,
Component oldComponent)
Updates the component of document.
|
void |
updateTitle(DocumentComponent document)
Updates the title of document.
|
void addDocument(DocumentComponent document)
document
- document to be addedvoid 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 documentvoid 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 documentindex
int indexOfDocument(Component component)
component
- the componentvoid moveSelectedDocumentTo(int index)
index
- the index of the document