public abstract class WidgetPlugin extends QuickAccessPlugin
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CUSTOM_ICON_STRING
Key used for custom icon information.
|
CELL_HEIGHT, CELL_WIDTH| Constructor and Description |
|---|
WidgetPlugin() |
| Modifier and Type | Method and Description |
|---|---|
abstract PropertyMap |
configureControl(java.awt.Frame parent)
Generate configuration information that can be used to configure a
control generated by this plugin.
|
abstract javax.swing.JComponent |
createControl(PropertyMap config)
Create the GUI components for this control.
|
boolean |
getCanCustomizeIcon()
Returns true if the widget can accept custom icons (i.e.
|
java.awt.Dimension |
getSize()
Return the dimensionality of the widget, in cells.
|
getIcon, getPaddedCellSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCopyright, getHelpText, getName, getVersion, setContextpublic static final java.lang.String CUSTOM_ICON_STRING
public abstract javax.swing.JComponent createControl(PropertyMap config)
config - A PropertyMap as output by configureControl used to
configure this control. The PropertyMap may be empty or may be
preserved from a previous session.public abstract PropertyMap configureControl(java.awt.Frame parent)
parent - The Quick-Access Windowpublic java.awt.Dimension getSize()
public boolean getCanCustomizeIcon()