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 usedlonggetState()Return the message bundle ID for the button textbooleanReturns if the toolbar item is always available (enabled)voidsetDefaultActivationListener(UIToolBarActivationListener defaultActivation) voidsetGroupID(String groupID) voidsetImageID(String id) Sets the toolbar item to use the specified imagevoidsetState(long state) voidSets the button's text to a messagebundle value looked up using the idvoidsetToolTip(String text) voidsetToolTipID(String id) booleantriggerToolBarItem(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
-
getTextID
-
setTextID
Sets the button's text to a messagebundle value looked up using the id- Parameters:
id-- Since:
- 4.6.0.5
-
getImageID
-
setImageID
-
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
-