Package org.jfree.chart
Class LegendItem
- java.lang.Object
-
- org.jfree.chart.LegendItem
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class LegendItem extends java.lang.Object implements java.lang.Cloneable, java.io.SerializableA temporary storage object for recording the properties of a legend item, without any consideration for layout issues.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.text.AttributedStringattributedLabelThe attributed label (if null, fall back to the regular label).private DatasetdatasetThe dataset.private intdatasetIndexThe dataset index.private java.lang.StringdescriptionThe description (not currently used - could be displayed as a tool tip).private java.awt.PaintfillPaintThe paint.private GradientPaintTransformerfillPaintTransformerA gradient paint transformer.private java.lang.StringlabelThe label.private java.awt.FontlabelFontThe label font (nullis permitted).private java.awt.PaintlabelPaintThe label paint (nullis permitted).private java.awt.ShapelineThe line.private java.awt.PaintlinePaintThe line paint.private java.awt.StrokelineStrokeThe stroke.private booleanlineVisibleA flag that controls whether or not the line is visible.private java.awt.PaintoutlinePaintThe outline paint.private java.awt.StrokeoutlineStrokeThe outline stroke.private static longserialVersionUIDFor serialization.private intseriesThe series index.private java.lang.ComparableseriesKeyThe series key.private java.awt.ShapeshapeThe shape.private booleanshapeFilledA flag that controls whether or not the shape is filled.private booleanshapeOutlineVisibleA flag that controls whether or not the shape outline is visible.private booleanshapeVisibleA flag that controls whether or not the shape is visible.private java.lang.StringtoolTipTextThe tool tip text.private static java.awt.ShapeUNUSED_SHAPEThe shape must be non-null for a LegendItem - if no shape is required, use this.private static java.awt.StrokeUNUSED_STROKEThe stroke must be non-null for a LegendItem - if no stroke is required, use this.private java.lang.StringurlTextThe url text.
-
Constructor Summary
Constructors Constructor Description LegendItem(java.lang.String label)Creates a legend item with the specified label.LegendItem(java.lang.String label, java.awt.Paint paint)Creates a legend item with the specified label and fill paint.LegendItem(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, boolean shapeVisible, java.awt.Shape shape, boolean shapeFilled, java.awt.Paint fillPaint, boolean shapeOutlineVisible, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, boolean lineVisible, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)Creates a new legend item.LegendItem(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint)Creates a legend item with a filled shape.LegendItem(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint, java.awt.Stroke outlineStroke, java.awt.Paint outlinePaint)Creates a legend item with a filled and outlined shape.LegendItem(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)Creates a legend item using a line.LegendItem(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, boolean shapeVisible, java.awt.Shape shape, boolean shapeFilled, java.awt.Paint fillPaint, boolean shapeOutlineVisible, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, boolean lineVisible, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)Creates a new legend item.LegendItem(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint)Creates a legend item with a filled shape.LegendItem(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint, java.awt.Stroke outlineStroke, java.awt.Paint outlinePaint)Creates a legend item with a filled and outlined shape.LegendItem(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)Creates a legend item using a line.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.StringcharacterIteratorToString(java.text.CharacterIterator iterator)Returns a string containing the characters from the given iterator.java.lang.Objectclone()Returns an independent copy of this object (except that the clone will still reference the same dataset as the originalLegendItem).booleanequals(java.lang.Object obj)Tests this item for equality with an arbitrary object.java.text.AttributedStringgetAttributedLabel()Returns the attributed label.DatasetgetDataset()Returns the dataset.intgetDatasetIndex()Returns the dataset index for this legend item.java.lang.StringgetDescription()Returns the description for the legend item.java.awt.PaintgetFillPaint()Returns the fill paint.GradientPaintTransformergetFillPaintTransformer()Returns the transformer used when the fill paint is an instance ofGradientPaint.java.lang.StringgetLabel()Returns the label.java.awt.FontgetLabelFont()Returns the label font.java.awt.PaintgetLabelPaint()Returns the paint used to draw the label.java.awt.ShapegetLine()Returns the line.java.awt.PaintgetLinePaint()Returns the paint used for lines.java.awt.StrokegetLineStroke()Returns the line stroke for the series.java.awt.PaintgetOutlinePaint()Returns the outline paint.java.awt.StrokegetOutlineStroke()Returns the outline stroke.intgetSeriesIndex()Returns the series index for this legend item.java.lang.ComparablegetSeriesKey()Returns the series key.java.awt.ShapegetShape()Returns the shape used to label the series represented by this legend item.java.lang.StringgetToolTipText()Returns the tool tip text.java.lang.StringgetURLText()Returns the URL text.inthashCode()booleanisLineVisible()Returns a flag that indicates whether or not the line is visible.booleanisShapeFilled()Returns a flag that controls whether or not the shape is filled.booleanisShapeOutlineVisible()Returns the flag that controls whether or not the shape outline is visible.booleanisShapeVisible()Returns a flag that indicates whether or not the shape is visible.private voidreadObject(java.io.ObjectInputStream stream)Provides serialization support.voidsetDataset(Dataset dataset)Sets the dataset.voidsetDatasetIndex(int index)Sets the dataset index for this legend item.voidsetDescription(java.lang.String text)Sets the description for this legend item.voidsetFillPaint(java.awt.Paint paint)Sets the fill paint.voidsetFillPaintTransformer(GradientPaintTransformer transformer)Sets the transformer used when the fill paint is an instance ofGradientPaint.voidsetLabelFont(java.awt.Font font)Sets the label font.voidsetLabelPaint(java.awt.Paint paint)Sets the paint used to draw the label.voidsetLine(java.awt.Shape line)Sets the line.voidsetLinePaint(java.awt.Paint paint)Sets the line paint.voidsetLineStroke(java.awt.Stroke stroke)Sets the line stroke.voidsetLineVisible(boolean visible)Sets the flag that controls whether or not the line shape is visible for this legend item.voidsetOutlinePaint(java.awt.Paint paint)Sets the outline paint.voidsetOutlineStroke(java.awt.Stroke stroke)Sets the outline stroke.voidsetSeriesIndex(int index)Sets the series index for this legend item.voidsetSeriesKey(java.lang.Comparable key)Sets the series key.voidsetShape(java.awt.Shape shape)Sets the shape for the legend item.voidsetShapeVisible(boolean visible)Sets the flag that controls whether or not the shape is visible.voidsetToolTipText(java.lang.String text)Sets the tool tip text for this legend item.voidsetURLText(java.lang.String text)Sets the URL text.private voidwriteObject(java.io.ObjectOutputStream stream)Provides serialization support.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
For serialization.- See Also:
- Constant Field Values
-
dataset
private Dataset dataset
The dataset.
-
seriesKey
private java.lang.Comparable seriesKey
The series key.
-
datasetIndex
private int datasetIndex
The dataset index.
-
series
private int series
The series index.
-
label
private java.lang.String label
The label.
-
labelFont
private java.awt.Font labelFont
The label font (nullis permitted).
-
labelPaint
private transient java.awt.Paint labelPaint
The label paint (nullis permitted).
-
attributedLabel
private transient java.text.AttributedString attributedLabel
The attributed label (if null, fall back to the regular label).
-
description
private java.lang.String description
The description (not currently used - could be displayed as a tool tip).
-
toolTipText
private java.lang.String toolTipText
The tool tip text.
-
urlText
private java.lang.String urlText
The url text.
-
shapeVisible
private boolean shapeVisible
A flag that controls whether or not the shape is visible.
-
shape
private transient java.awt.Shape shape
The shape.
-
shapeFilled
private boolean shapeFilled
A flag that controls whether or not the shape is filled.
-
fillPaint
private transient java.awt.Paint fillPaint
The paint.
-
fillPaintTransformer
private GradientPaintTransformer fillPaintTransformer
A gradient paint transformer.
-
shapeOutlineVisible
private boolean shapeOutlineVisible
A flag that controls whether or not the shape outline is visible.
-
outlinePaint
private transient java.awt.Paint outlinePaint
The outline paint.
-
outlineStroke
private transient java.awt.Stroke outlineStroke
The outline stroke.
-
lineVisible
private boolean lineVisible
A flag that controls whether or not the line is visible.
-
line
private transient java.awt.Shape line
The line.
-
lineStroke
private transient java.awt.Stroke lineStroke
The stroke.
-
linePaint
private transient java.awt.Paint linePaint
The line paint.
-
UNUSED_SHAPE
private static final java.awt.Shape UNUSED_SHAPE
The shape must be non-null for a LegendItem - if no shape is required, use this.
-
UNUSED_STROKE
private static final java.awt.Stroke UNUSED_STROKE
The stroke must be non-null for a LegendItem - if no stroke is required, use this.
-
-
Constructor Detail
-
LegendItem
public LegendItem(java.lang.String label)
Creates a legend item with the specified label. The remaining attributes take default values.- Parameters:
label- the label (nullnot permitted).
-
LegendItem
public LegendItem(java.lang.String label, java.awt.Paint paint)Creates a legend item with the specified label and fill paint. The remaining attributes take default values.- Parameters:
label- the label (nullnot permitted).paint- the paint (nullnot permitted).
-
LegendItem
public LegendItem(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint)Creates a legend item with a filled shape. The shape is not outlined, and no line is visible.- Parameters:
label- the label (nullnot permitted).description- the description (nullpermitted).toolTipText- the tool tip text (nullpermitted).urlText- the URL text (nullpermitted).shape- the shape (nullnot permitted).fillPaint- the paint used to fill the shape (nullnot permitted).
-
LegendItem
public LegendItem(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint, java.awt.Stroke outlineStroke, java.awt.Paint outlinePaint)Creates a legend item with a filled and outlined shape.- Parameters:
label- the label (nullnot permitted).description- the description (nullpermitted).toolTipText- the tool tip text (nullpermitted).urlText- the URL text (nullpermitted).shape- the shape (nullnot permitted).fillPaint- the paint used to fill the shape (nullnot permitted).outlineStroke- the outline stroke (nullnot permitted).outlinePaint- the outline paint (nullnot permitted).
-
LegendItem
public LegendItem(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)Creates a legend item using a line.- Parameters:
label- the label (nullnot permitted).description- the description (nullpermitted).toolTipText- the tool tip text (nullpermitted).urlText- the URL text (nullpermitted).line- the line (nullnot permitted).lineStroke- the line stroke (nullnot permitted).linePaint- the line paint (nullnot permitted).
-
LegendItem
public LegendItem(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, boolean shapeVisible, java.awt.Shape shape, boolean shapeFilled, java.awt.Paint fillPaint, boolean shapeOutlineVisible, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, boolean lineVisible, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)Creates a new legend item.- Parameters:
label- the label (nullnot permitted).description- the description (not currently used,nullpermitted).toolTipText- the tool tip text (nullpermitted).urlText- the URL text (nullpermitted).shapeVisible- a flag that controls whether or not the shape is displayed.shape- the shape (nullpermitted).shapeFilled- a flag that controls whether or not the shape is filled.fillPaint- the fill paint (nullnot permitted).shapeOutlineVisible- a flag that controls whether or not the shape is outlined.outlinePaint- the outline paint (nullnot permitted).outlineStroke- the outline stroke (nullnot permitted).lineVisible- a flag that controls whether or not the line is visible.line- the line.lineStroke- the stroke (nullnot permitted).linePaint- the line paint (nullnot permitted).
-
LegendItem
public LegendItem(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint)Creates a legend item with a filled shape. The shape is not outlined, and no line is visible.- Parameters:
label- the label (nullnot permitted).description- the description (nullpermitted).toolTipText- the tool tip text (nullpermitted).urlText- the URL text (nullpermitted).shape- the shape (nullnot permitted).fillPaint- the paint used to fill the shape (nullnot permitted).
-
LegendItem
public LegendItem(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint, java.awt.Stroke outlineStroke, java.awt.Paint outlinePaint)Creates a legend item with a filled and outlined shape.- Parameters:
label- the label (nullnot permitted).description- the description (nullpermitted).toolTipText- the tool tip text (nullpermitted).urlText- the URL text (nullpermitted).shape- the shape (nullnot permitted).fillPaint- the paint used to fill the shape (nullnot permitted).outlineStroke- the outline stroke (nullnot permitted).outlinePaint- the outline paint (nullnot permitted).
-
LegendItem
public LegendItem(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)Creates a legend item using a line.- Parameters:
label- the label (nullnot permitted).description- the description (nullpermitted).toolTipText- the tool tip text (nullpermitted).urlText- the URL text (nullpermitted).line- the line (nullnot permitted).lineStroke- the line stroke (nullnot permitted).linePaint- the line paint (nullnot permitted).
-
LegendItem
public LegendItem(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, boolean shapeVisible, java.awt.Shape shape, boolean shapeFilled, java.awt.Paint fillPaint, boolean shapeOutlineVisible, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, boolean lineVisible, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)Creates a new legend item.- Parameters:
label- the label (nullnot permitted).description- the description (not currently used,nullpermitted).toolTipText- the tool tip text (nullpermitted).urlText- the URL text (nullpermitted).shapeVisible- a flag that controls whether or not the shape is displayed.shape- the shape (nullpermitted).shapeFilled- a flag that controls whether or not the shape is filled.fillPaint- the fill paint (nullnot permitted).shapeOutlineVisible- a flag that controls whether or not the shape is outlined.outlinePaint- the outline paint (nullnot permitted).outlineStroke- the outline stroke (nullnot permitted).lineVisible- a flag that controls whether or not the line is visible.line- the line (nullnot permitted).lineStroke- the stroke (nullnot permitted).linePaint- the line paint (nullnot permitted).
-
-
Method Detail
-
characterIteratorToString
private java.lang.String characterIteratorToString(java.text.CharacterIterator iterator)
Returns a string containing the characters from the given iterator.- Parameters:
iterator- the iterator (nullnot permitted).- Returns:
- A string.
-
getDataset
public Dataset getDataset()
Returns the dataset.- Returns:
- The dataset.
- See Also:
setDatasetIndex(int)
-
setDataset
public void setDataset(Dataset dataset)
Sets the dataset.- Parameters:
dataset- the dataset.
-
getDatasetIndex
public int getDatasetIndex()
Returns the dataset index for this legend item.- Returns:
- The dataset index.
- See Also:
setDatasetIndex(int),getDataset()
-
setDatasetIndex
public void setDatasetIndex(int index)
Sets the dataset index for this legend item.- Parameters:
index- the index.- See Also:
getDatasetIndex()
-
getSeriesKey
public java.lang.Comparable getSeriesKey()
Returns the series key.- Returns:
- The series key.
- See Also:
setSeriesKey(Comparable)
-
setSeriesKey
public void setSeriesKey(java.lang.Comparable key)
Sets the series key.- Parameters:
key- the series key.
-
getSeriesIndex
public int getSeriesIndex()
Returns the series index for this legend item.- Returns:
- The series index.
-
setSeriesIndex
public void setSeriesIndex(int index)
Sets the series index for this legend item.- Parameters:
index- the index.
-
getLabel
public java.lang.String getLabel()
Returns the label.- Returns:
- The label (never
null).
-
getLabelFont
public java.awt.Font getLabelFont()
Returns the label font.- Returns:
- The label font (possibly
null).
-
setLabelFont
public void setLabelFont(java.awt.Font font)
Sets the label font.- Parameters:
font- the font (nullpermitted).
-
getLabelPaint
public java.awt.Paint getLabelPaint()
Returns the paint used to draw the label.- Returns:
- The paint (possibly
null).
-
setLabelPaint
public void setLabelPaint(java.awt.Paint paint)
Sets the paint used to draw the label.- Parameters:
paint- the paint (nullpermitted).
-
getAttributedLabel
public java.text.AttributedString getAttributedLabel()
Returns the attributed label.- Returns:
- The attributed label (possibly
null).
-
getDescription
public java.lang.String getDescription()
Returns the description for the legend item.- Returns:
- The description (possibly
null). - See Also:
setDescription(java.lang.String)
-
setDescription
public void setDescription(java.lang.String text)
Sets the description for this legend item.- Parameters:
text- the description (nullpermitted).- See Also:
getDescription()
-
getToolTipText
public java.lang.String getToolTipText()
Returns the tool tip text.- Returns:
- The tool tip text (possibly
null). - See Also:
setToolTipText(java.lang.String)
-
setToolTipText
public void setToolTipText(java.lang.String text)
Sets the tool tip text for this legend item.- Parameters:
text- the text (nullpermitted).- See Also:
getToolTipText()
-
getURLText
public java.lang.String getURLText()
Returns the URL text.- Returns:
- The URL text (possibly
null). - See Also:
setURLText(java.lang.String)
-
setURLText
public void setURLText(java.lang.String text)
Sets the URL text.- Parameters:
text- the text (nullpermitted).- See Also:
getURLText()
-
isShapeVisible
public boolean isShapeVisible()
Returns a flag that indicates whether or not the shape is visible.- Returns:
- A boolean.
- See Also:
setShapeVisible(boolean)
-
setShapeVisible
public void setShapeVisible(boolean visible)
Sets the flag that controls whether or not the shape is visible.- Parameters:
visible- the new flag value.- See Also:
isShapeVisible(),isLineVisible()
-
getShape
public java.awt.Shape getShape()
Returns the shape used to label the series represented by this legend item.- Returns:
- The shape (never
null). - See Also:
setShape(java.awt.Shape)
-
setShape
public void setShape(java.awt.Shape shape)
Sets the shape for the legend item.- Parameters:
shape- the shape (nullnot permitted).- See Also:
getShape()
-
isShapeFilled
public boolean isShapeFilled()
Returns a flag that controls whether or not the shape is filled.- Returns:
- A boolean.
-
getFillPaint
public java.awt.Paint getFillPaint()
Returns the fill paint.- Returns:
- The fill paint (never
null).
-
setFillPaint
public void setFillPaint(java.awt.Paint paint)
Sets the fill paint.- Parameters:
paint- the paint (nullnot permitted).
-
isShapeOutlineVisible
public boolean isShapeOutlineVisible()
Returns the flag that controls whether or not the shape outline is visible.- Returns:
- A boolean.
-
getLineStroke
public java.awt.Stroke getLineStroke()
Returns the line stroke for the series.- Returns:
- The stroke (never
null).
-
setLineStroke
public void setLineStroke(java.awt.Stroke stroke)
Sets the line stroke.- Parameters:
stroke- the stroke (nullnot permitted).
-
getLinePaint
public java.awt.Paint getLinePaint()
Returns the paint used for lines.- Returns:
- The paint (never
null).
-
setLinePaint
public void setLinePaint(java.awt.Paint paint)
Sets the line paint.- Parameters:
paint- the paint (nullnot permitted).
-
getOutlinePaint
public java.awt.Paint getOutlinePaint()
Returns the outline paint.- Returns:
- The outline paint (never
null).
-
setOutlinePaint
public void setOutlinePaint(java.awt.Paint paint)
Sets the outline paint.- Parameters:
paint- the paint (nullnot permitted).
-
getOutlineStroke
public java.awt.Stroke getOutlineStroke()
Returns the outline stroke.- Returns:
- The outline stroke (never
null). - See Also:
setOutlineStroke(java.awt.Stroke)
-
setOutlineStroke
public void setOutlineStroke(java.awt.Stroke stroke)
Sets the outline stroke.- Parameters:
stroke- the stroke (nullnot permitted).- See Also:
getOutlineStroke()
-
isLineVisible
public boolean isLineVisible()
Returns a flag that indicates whether or not the line is visible.- Returns:
- A boolean.
- See Also:
setLineVisible(boolean)
-
setLineVisible
public void setLineVisible(boolean visible)
Sets the flag that controls whether or not the line shape is visible for this legend item.- Parameters:
visible- the new flag value.- See Also:
isLineVisible()
-
getLine
public java.awt.Shape getLine()
Returns the line.- Returns:
- The line (never
null). - See Also:
setLine(java.awt.Shape),isLineVisible()
-
setLine
public void setLine(java.awt.Shape line)
Sets the line.- Parameters:
line- the line (nullnot permitted).- See Also:
getLine()
-
getFillPaintTransformer
public GradientPaintTransformer getFillPaintTransformer()
Returns the transformer used when the fill paint is an instance ofGradientPaint.- Returns:
- The transformer (never
null). - See Also:
setFillPaintTransformer(GradientPaintTransformer)
-
setFillPaintTransformer
public void setFillPaintTransformer(GradientPaintTransformer transformer)
Sets the transformer used when the fill paint is an instance ofGradientPaint.- Parameters:
transformer- the transformer (nullnot permitted).- See Also:
getFillPaintTransformer()
-
equals
public boolean equals(java.lang.Object obj)
Tests this item for equality with an arbitrary object.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object (nullpermitted).- Returns:
- A boolean.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionReturns an independent copy of this object (except that the clone will still reference the same dataset as the originalLegendItem).- Overrides:
clonein classjava.lang.Object- Returns:
- A clone.
- Throws:
java.lang.CloneNotSupportedException- if the legend item cannot be cloned.
-
writeObject
private void writeObject(java.io.ObjectOutputStream stream) throws java.io.IOExceptionProvides serialization support.- Parameters:
stream- the output stream (nullnot permitted).- Throws:
java.io.IOException- if there is an I/O error.
-
readObject
private void readObject(java.io.ObjectInputStream stream) throws java.io.IOException, java.lang.ClassNotFoundExceptionProvides serialization support.- Parameters:
stream- the input stream (nullnot permitted).- Throws:
java.io.IOException- if there is an I/O error.java.lang.ClassNotFoundException- if there is a classpath problem.
-
-