|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.gui.tabs.AbstractTab
com.limegroup.gnutella.gui.tabs.SearchDownloadTab
This class constructs the search/download tab, including all UI elements.
Field Summary | |
protected int |
INDEX
Constant for the index of this tab. |
Constructor Summary | |
SearchDownloadTab(SearchMediator SEARCH_MEDIATOR,
ComponentMediator DOWNLOAD_MEDIATOR)
Constructs the tab for searches and downloads. |
Method Summary | |
javax.swing.JComponent |
getComponent()
Returns the JComponent instance containing all of the UI elements for the tab. |
javax.swing.Icon |
getIcon()
Returns the Icon instance for the tab. |
int |
getIndex()
Returns the index of the tab. |
java.lang.String |
getTitle()
Returns the title of the tab as it's displayed to the user. |
java.lang.String |
getToolTip()
Returns the tooltip text for the tab. |
void |
setDividerLocation(double loc)
Sets the location of the search/download divider. |
void |
setDividerLocation(int loc)
Sets the location of the search/download divider. |
void |
storeState(boolean state)
Stores the visible/invisible state of the tab to disk. |
java.lang.String |
toString()
|
void |
updateTheme()
Update any required theme settings, such as colors or images. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final int INDEX
Constructor Detail |
public SearchDownloadTab(SearchMediator SEARCH_MEDIATOR, ComponentMediator DOWNLOAD_MEDIATOR)
SEARCH_MEDIATOR
- the SearchMediator instance for
obtaining the necessary ui components to addDOWNLOAD_MEDIATOR
- the DownloadMediator instance for
obtaining the necessary ui components to addMethod Detail |
public void setDividerLocation(int loc)
loc
- the location to set the divider topublic void setDividerLocation(double loc)
loc
- the location to set the divider topublic void storeState(boolean state)
Tab
public javax.swing.JComponent getComponent()
Tab
public void updateTheme()
ThemeObserver
updateTheme
in interface ThemeObserver
public java.lang.String getTitle()
Tab
getTitle
in interface Tab
public java.lang.String getToolTip()
Tab
getToolTip
in interface Tab
public javax.swing.Icon getIcon()
Tab
getIcon
in interface Tab
public int getIndex()
Tab
getIndex
in interface Tab
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |