Modifier and Type | Class and Description |
---|---|
static class |
ItemIcon.events
Events
|
Item.accessFlag, Item.dataFlag, Item.ItemType, Item.logMessageAction, Item.measureUnitsFlag, Item.measureUnitsType, Item.UpdateItemProperty
Constructor and Description |
---|
ItemIcon() |
Modifier and Type | Method and Description |
---|---|
void |
downloadIcon(BinaryResponseHandler callback) |
java.lang.String |
getIconUrl(int borderSize)
Get icon Url
|
void |
updateIcon(java.io.File file,
ResponseHandler callback) |
boolean |
updateItemData(java.lang.String key,
com.google.gson.JsonElement data) |
addLogRecord, fireItemPropertyEvent, getAccountId, getAdminFieldsPlugin, getCreatorId, getCustomFieldsPlugin, getCustomProperty, getDataFlags, getId, getItemType, getMeasureUnits, getName, getOnUpdatePropertiesCallback, getUserAccess, handleMessage, onUpdateProperties, registerItemPropertyHandler, setDataFlags, updateCustomProperty, updateMeasureUnits, updateName
addListener, clearListeners, fireEvent, removeListener, removeListeners
public java.lang.String getIconUrl(int borderSize)
borderSize
- border size in pixels, if not specified - 32public void downloadIcon(BinaryResponseHandler callback)
public boolean updateItemData(java.lang.String key, com.google.gson.JsonElement data)
updateItemData
in class Item
public void updateIcon(java.io.File file, ResponseHandler callback)