public class LightEditSaveStatusIcon extends ColorIcon
EmptyIcon.EmptyIconUIResource| Modifier and Type | Method and Description |
|---|---|
double |
getScale(DerivedScaleType type) |
double |
getScale(ScaleType type) |
T |
getScaleContext() |
void |
paintIcon(java.awt.Component component,
java.awt.Graphics g,
int i,
int j) |
boolean |
setScale(Scale scale)
Sets the new scale in the context
|
boolean |
updateScaleContext(UserScaleContext ctx)
Updates the current context with the state of the provided context.
|
copy, equals, getIconColor, hashCodeasUIResource, create, create, create, getIconHeight, getIconWidth, withIconPreScaledscalegetScale, isIconPreScaled, scaleVal, scaleVal, scaleVal, setAutoUpdateScaleContext, setIconPreScaled, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitdeepCopypublic void paintIcon(java.awt.Component component,
java.awt.Graphics g,
int i,
int j)
public T getScaleContext()
getScaleContext in interface ScaleContextAwarepublic boolean updateScaleContext(UserScaleContext ctx)
ScaleContextAwarectx is null, then updates the current context via ScaleContext.update()
and returns the result.updateScaleContext in interface ScaleContextAwarectx - the new scale contextpublic double getScale(ScaleType type)
getScale in interface ScaleContextAwarepublic double getScale(DerivedScaleType type)
getScale in interface ScaleContextAwarepublic boolean setScale(Scale scale)
ScaleContextAwaresetScale in interface ScaleContextAware