public interface IDecorator<T,D>
extends java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
IDecorator<T,D> |
clone() |
void |
copyDecoration(T target,
T oldTarget,
Decorations<?> oldDecorations) |
void |
copyDecoration(T target,
T oldTarget,
IDecorator<T,?> oldDecorator) |
void |
deriveDecoration(T target,
java.lang.Object oldTarget,
Decorations<?> oldDecorations) |
<T2> IDecorator<T2,D> |
deriveDecorationInstance(java.lang.Class<T2> type) |
D |
getDecoration(T target) |
boolean |
hasDecoration(T target) |
IDecorator<T,D> |
newInstance() |
void |
removeDecoration(T target) |
void |
setDecoration(T target,
D decoration) |
boolean hasDecoration(T target)
void removeDecoration(T target)
IDecorator<T,D> newInstance()
<T2> IDecorator<T2,D> deriveDecorationInstance(java.lang.Class<T2> type)
void copyDecoration(T target, T oldTarget, Decorations<?> oldDecorations)
void copyDecoration(T target, T oldTarget, IDecorator<T,?> oldDecorator)
void deriveDecoration(T target, java.lang.Object oldTarget, Decorations<?> oldDecorations)
IDecorator<T,D> clone()