net.sourceforge.java.feednread.frontend.components.tabbar
Interface ITabItemData

All Known Implementing Classes:
AbstractTabItemData

public interface ITabItemData

Base interface for CTabItem related data objects used in the NewsFeedTabBar ui component.

Author:
Sebastian Machhausen

Field Summary
static int TYPE_BROWSER_TAB
           Type constant indicating a browser tab
static int TYPE_FILTER_TAB
           Type constant indicating a filter tab
static int TYPE_MESSAGE_TAB
           Type constant indicating a message tab
static int TYPE_NEWSFEED_TAB
           Type constant indicating a newsfeed tab
 
Method Summary
 void dispose()
           Disposes an ITabItemData object and all claimed resources.
 Object getComponent()
           Gets the component displayed in the tab related to an ITabItemData.
 CTabItem getTabItem()
           Gets the CTabItem that an ITabItemData is related to.
 int getType()
           Gets the type of an ITabItemData object.
 String getUrl()
           Gets the url of an ITabItemData.
 

Field Detail

TYPE_NEWSFEED_TAB

public static final int TYPE_NEWSFEED_TAB

Type constant indicating a newsfeed tab

See Also:
Constant Field Values

TYPE_BROWSER_TAB

public static final int TYPE_BROWSER_TAB

Type constant indicating a browser tab

See Also:
Constant Field Values

TYPE_FILTER_TAB

public static final int TYPE_FILTER_TAB

Type constant indicating a filter tab

See Also:
Constant Field Values

TYPE_MESSAGE_TAB

public static final int TYPE_MESSAGE_TAB

Type constant indicating a message tab

See Also:
Constant Field Values
Method Detail

getTabItem

public CTabItem getTabItem()

Gets the CTabItem that an ITabItemData is related to.

Returns:
the CTabItem that an ITabItemData is related to

getUrl

public String getUrl()

Gets the url of an ITabItemData.

Returns:
the url of an ITabItemData

getComponent

public Object getComponent()

Gets the component displayed in the tab related to an ITabItemData.

Returns:
the component displayed in the tab related to an ITabItemData

dispose

public void dispose()

Disposes an ITabItemData object and all claimed resources.


getType

public int getType()

Gets the type of an ITabItemData object.

Possible types are:

Returns:
the type of an ITabItemData object