E - component typeD - decoration typeI - background typepublic abstract class AbstractBackground<E extends javax.swing.JComponent,D extends IDecoration<E,D>,I extends AbstractBackground<E,D,I>> extends java.lang.Object implements IBackground<E,D,I>
IBackground implementation.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
id
Background ID.
|
protected java.lang.Float |
opacity
Background opacity.
|
| Constructor and Description |
|---|
AbstractBackground() |
| Modifier and Type | Method and Description |
|---|---|
I |
clone() |
protected java.lang.String |
getDefaultId()
Returns default background ID.
|
java.lang.String |
getId() |
float |
getOpacity()
Returns background opacity.
|
I |
merge(I background) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpaint@XStreamAsAttribute protected java.lang.String id
@XStreamAsAttribute protected java.lang.Float opacity
public java.lang.String getId()
getId in interface com.alee.api.Identifiableprotected java.lang.String getDefaultId()
public float getOpacity()
public I merge(I background)
merge in interface com.alee.api.Mergeable<I extends AbstractBackground<E,D,I>>public I clone()
clone in class java.lang.Object