|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.java.feednread.frontend.components.sidebar.SideBar
Container component that holds different selectable sub components, e.g. the
NewsFeedFavoritesTree.
| Field Summary | |
private MainApplicationWindow |
mainWindow
The Feed'n Read main window |
private PShelf |
sideBarShelf
The side bar Shelf |
| Constructor Summary | |
SideBar(Composite parent,
MainApplicationWindow mainWindow)
Creates a new SideBar instance.
|
|
| Method Summary | |
private void |
createContents(Composite parent)
Creates the contents of this SideBar component.
|
PShelfItem |
createItem(String text,
Image img)
Creates a new PShelfItem in this SideBar
component.
|
PShelfItem |
getSelectedItem()
Gets the selected PShelfItem in this SideBar.
|
void |
refresh()
Refreshes this SideBar, i.e. inducing a redraw to be
performed.
|
void |
setSelectedItem(PShelfItem item)
Selects the specified PShelfItem in this
SideBar.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private MainApplicationWindow mainWindow
The Feed'n Read main window
private PShelf sideBarShelf
The side bar Shelf
| Constructor Detail |
public SideBar(Composite parent,
MainApplicationWindow mainWindow)
Creates a new SideBar instance.
parent - the parent Composite to embed the
SideBar intomainWindow - the Feed'n Read main window| Method Detail |
private void createContents(Composite parent)
Creates the contents of this SideBar component.
parent - he parent Composite to embed the
SideBar contents into
public PShelfItem createItem(String text,
Image img)
Creates a new PShelfItem in this SideBar
component.
text - the text for the PShelfItemimg - the Image for the PShelfItem
PShelfItempublic PShelfItem getSelectedItem()
Gets the selected PShelfItem in this SideBar.
PShelfItemsetSelectedItem(PShelfItem)public void setSelectedItem(PShelfItem item)
Selects the specified PShelfItem in this
SideBar.
item - the PShelfItem to selectgetSelectedItem()public void refresh()
Refreshes this SideBar, i.e. inducing a redraw to be
performed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||