protected abstract static class AbstractLegend.AbstractSymbol extends AbstractDrawable
Constructor and Description |
---|
AbstractLegend.AbstractSymbol(Legend legend)
Initializes a new instances.
|
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Dimension2D |
getPreferredSize()
Returns the preferred size of the
Drawable . |
getBounds, getHeight, getWidth, getX, getY, setBounds, setBounds
public AbstractLegend.AbstractSymbol(Legend legend)
legend
- Legend that determines the appearance of the symbol.public java.awt.geom.Dimension2D getPreferredSize()
AbstractDrawable
Drawable
.getPreferredSize
in interface Drawable
getPreferredSize
in class AbstractDrawable