T
- the type of palette object to buildpublic abstract class AbstractPaletteObjectBuilder<T> extends java.lang.Object implements Builder<T>
AbstractPaletteObjectBuilder
aids in building objects related
to the component palette. It provides logic for loading the target object's
icon image given a URL string for the image location.Constructor and Description |
---|
AbstractPaletteObjectBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
build()
Build an instance of T.
|
AbstractPaletteObjectBuilder<T> |
data(java.lang.String key,
java.lang.Object value) |
protected abstract T |
doBuild() |
AbstractPaletteObjectBuilder<T> |
extensionId(java.lang.String extensionId) |
javax.swing.Icon |
icon() |
AbstractPaletteObjectBuilder<T> |
icon(javax.swing.Icon icon) |
java.lang.String |
iconUrl() |
AbstractPaletteObjectBuilder<T> |
iconUrl(java.lang.String iconUrl) |
javax.swing.Icon |
largeIcon() |
java.lang.String |
largeIconUrl() |
AbstractPaletteObjectBuilder<T> |
largeIconUrl(java.lang.String largeIconUrl) |
public AbstractPaletteObjectBuilder<T> extensionId(java.lang.String extensionId)
public AbstractPaletteObjectBuilder<T> iconUrl(java.lang.String iconUrl)
public java.lang.String iconUrl()
public javax.swing.Icon icon()
public AbstractPaletteObjectBuilder<T> icon(javax.swing.Icon icon)
public AbstractPaletteObjectBuilder<T> largeIconUrl(java.lang.String largeIconUrl)
public java.lang.String largeIconUrl()
public javax.swing.Icon largeIcon()
protected abstract T doBuild()
public AbstractPaletteObjectBuilder<T> data(java.lang.String key, java.lang.Object value)