public interface ItemTemplate extends ActiveTemplate
MultiItemTemplate).ACTION_CLOSE_INFOTIP_CMD, ACTION_REMOVE_TEMPLATE_CMD, ACTION_SIZE_CHANGED_CMD| Modifier and Type | Method and Description |
|---|---|
int |
getPreferredWidth()
Returns preffered width of this template regardless of prior calls to
setPreferredWidth(int). |
void |
setPreferredWidth(int width)
Sets the preferred width of this template.
|
addActionListener, removeActionListenergetContentint getPreferredWidth()
setPreferredWidth(int). Width
should be derived from some important components in the template (for example from title label).void setPreferredWidth(int width)