Package com.biglybt.pif.ui.toolbar
Interface UIToolBarItem
- All Known Subinterfaces:
ToolBarItem
- All Known Implementing Classes:
UIToolBarItemImpl
public interface UIToolBarItem
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetID()
Retrieve the ID of the toolbar itemGet the ID of the image usedlong
getState()
Return the message bundle ID for the button textboolean
Returns if the toolbar item is always available (enabled)void
setDefaultActivationListener
(UIToolBarActivationListener defaultActivation) void
setGroupID
(String groupID) void
setImageID
(String id) Sets the toolbar item to use the specified imagevoid
setState
(long state) void
Sets the button's text to a messagebundle value looked up using the idvoid
setToolTip
(String text) void
setToolTipID
(String id) boolean
triggerToolBarItem
(long activationType, Object datasource)
-
Field Details
-
STATE_ENABLED
static final long STATE_ENABLED- See Also:
-
STATE_DOWN
static final long STATE_DOWN- See Also:
-
-
Method Details
-
getID
String getID()Retrieve the ID of the toolbar item- Since:
- 4.6.0.5
-
getTextID
String getTextID()Return the message bundle ID for the button text- Since:
- 4.6.0.5
-
setTextID
Sets the button's text to a messagebundle value looked up using the id- Parameters:
id
-- Since:
- 4.6.0.5
-
getImageID
String getImageID()Get the ID of the image used- Since:
- 4.6.0.5
-
setImageID
Sets the toolbar item to use the specified image- Since:
- 4.6.0.5
-
isAlwaysAvailable
boolean isAlwaysAvailable()Returns if the toolbar item is always available (enabled)- Since:
- 4.6.0.5
-
getState
long getState() -
setState
void setState(long state) -
triggerToolBarItem
-
setDefaultActivationListener
-
getGroupID
String getGroupID()- Returns:
- Group that item belongs to
- Since:
- 5.0.0.1
-
setGroupID
- Parameters:
groupID
-- Since:
- 5.0.0.1
-
setToolTip
- Parameters:
string
-- Since:
- 5.0.0.1
-
getToolTip
String getToolTip()- Returns:
- Since:
- 5.0.0.1
-
setToolTipID
- Parameters:
id
-- Since:
- BiglyBT 1.2.0.1
-
getToolTipID
String getToolTipID()- Parameters:
id
-- Since:
- BiglyBT 1.2.0.1
-