| Modifier and Type | Field and Description |
|---|---|
| protected BibEntry | |
| private EntryType | currentEntryType
Needed to track for which type of entry this tab was build and to rebuild it if the type changes |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| protected void | |
| public void | notifyAboutFocus(BibEntry entry)
Notifies the tab that it got focus and should display the given entry. |
| public abstract boolean |
| currentEntry | back to summary |
|---|---|
| protected BibEntry currentEntry | |
| currentEntryType | back to summary |
|---|---|
| private EntryType currentEntryType Needed to track for which type of entry this tab was build and to rebuild it if the type changes | |
| EntryEditorTab | back to summary |
|---|---|
| public EntryEditorTab() | |
| bindToEntry | back to summary |
|---|---|
| protected abstract void bindToEntry(BibEntry entry) Updates the view with the contents of the given entry. | |
| handleFocus | back to summary |
|---|---|
| protected void handleFocus() The tab just got the focus. Override this method if you want to perform a special action on focus (like selecting the first field in the editor) | |
| notifyAboutFocus | back to summary |
|---|---|
| public void notifyAboutFocus(BibEntry entry) Notifies the tab that it got focus and should display the given entry. | |
| shouldShow | back to summary |
|---|---|
| public abstract boolean shouldShow(BibEntry entry) Decide whether to show this tab for the given entry. | |