Class BasicAppIconPart

  extended by
      extended by
All Implemented Interfaces:
IconPart, java.lang.Cloneable

public class BasicAppIconPart
extends BasicIconPart
implements IconPart, java.lang.Cloneable

A BasicAppIconPart is a BasicIconPart that can be interested in a set of DrawingAttributes on the fly. Good for an icon part that may change under certain system conditions, like something reflecting a current color, or an application icon reflecting a color theme in the application. The BasicAppIconPart may have a default DrawingAttributes that describe how it should be drawn if other DrawingAttributes aren't provided at rendertime.

Field Summary
Fields inherited from class
baseTransform, clip, geometry, gradient, renderingAttributes
Constructor Summary
BasicAppIconPart(java.awt.Shape shape)
BasicAppIconPart(java.awt.Shape shape, java.awt.geom.AffineTransform transform)
Method Summary
protected  DrawingAttributes getAttributesForRendering(DrawingAttributes da)
          Get the DrawingAttributes that should be used for rendering.
Methods inherited from class
clone, getClip, getGeometry, getRenderingAttributes, getTransform, isGradient, render, render, setClip, setGeometry, setGradient, setRenderingAttributes, setTransform
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface
clone, getClip, getGeometry, getRenderingAttributes, render, render, setClip, setGeometry, setRenderingAttributes

Constructor Detail


public BasicAppIconPart(java.awt.Shape shape)


public BasicAppIconPart(java.awt.Shape shape,
                        java.awt.geom.AffineTransform transform)
Method Detail


protected DrawingAttributes getAttributesForRendering(DrawingAttributes da)
Get the DrawingAttributes that should be used for rendering.

getAttributesForRendering in class BasicIconPart
da - DrawingAttributes passed in that may affect rendering choices. For the BasicAppIconPart, if this is not null, it is returned. Otherwise, the internal version is returned.
DrawingAttribute for this part.

Copyright (C) BBNT Solutions LLC; See for details