/**
* Returns the domain description.
*
* @return The domain description (possibly <code>null</code>).
*
* @see #setDomainDescription(String)
*/
/**
* Returns the domain description.
*
* @return The domain description (possibly <code>null</code>).
*
* @see #getRangeDescription()
* @see #setDomainDescription(String)
*/
public String getDomainDescription() {
return this.domain;
}
/**
* Sets the domain description and sends a <code>PropertyChangeEvent</code>
* (with the property name <code>Domain</code>) to all registered
* property change listeners.
*
* @param description the description (<code>null</code> permitted).
*
* @see #getDomainDescription()
*/
/**
* Sets the domain description and fires a property change event (with the
* property name <code>Domain</code> if the description changes).
*
* @param description the new description (<code>null</code> permitted).
*
* @see #getDomainDescription()
*/
public void setDomainDescription(String description) {
String old = this.domain;
this.domain = description;
firePropertyChange("Domain", old, description);
}
/**
* Returns the range description.
*
* @return The range description (possibly <code>null</code>).
*
* @see #setRangeDescription(String)
*/
/**
* Returns the range description.
*
* @return The range description (possibly <code>null</code>).
*
* @see #getDomainDescription()
* @see #setRangeDescription(String)
*/
public String getRangeDescription() {
return this.range;
}
/**
* Sets the range description and sends a <code>PropertyChangeEvent</code>
* (with the property name <code>Range</code>) to all registered listeners.
*
* @param description the description (<code>null</code> permitted).
*
* @see #getRangeDescription()
*/
/**
* Sets the range description and fires a property change event with the
* name <code>Range</code>.
*
* @param description the new description (<code>null</code> permitted).
*
* @see #getRangeDescription()
*/
public void setRangeDescription(String description) {
String old = this.range;
this.range = description;
firePropertyChange("Range", old, description);
}
/**
* Returns the number of items in the series.
*
* @return The item count.
*/
public int getItemCount() {
return this.data.size();
}
|