|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.annotation.AbstractAnnotation
public abstract class AbstractAnnotation
Title: IJChart
IAnnotation的抽象类实现.Description: a chart library for the Java(tm) platform.
Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
AbstractAnnotation()
没有参数的构造器. |
Method Summary | |
---|---|
void |
addChangeListener(IAnnotationChangeListener listener)
注册监听注解(annotation)对象变化的监听者对象. |
void |
annotationChanged(AnnotationChangeEvent event)
接收到注解(annotation)对象变化的通知. |
java.lang.Object |
clone()
返回克隆的对象. |
boolean |
equals(java.lang.Object obj)
测试两个对象是否相等. |
protected void |
fireAnnotationChanged()
通过所有监听器注解(annotation)对象发生了变化. |
java.lang.String |
getTooltipText()
返回annotation的提示字符. |
int |
hashCode()
计算对象的hashcode值. |
boolean |
hasListener(IAnnotationChangeListener listener)
返回指定的listener是否存在,本方法主要用于单元测试. |
void |
removeAllChangeListener()
清除所有的注解(annotation)对象变化监听者对象. |
void |
removeChangeListener(IAnnotationChangeListener listener)
删除注册的注解(annotation)对象变化监听者对象. |
void |
setTooltipText(java.lang.String tooltipText)
设置annotation的提示字符,并向所有监听器发送 AnnotationChangeEvent 事件.
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAnnotation()
Method Detail |
---|
public java.lang.String getTooltipText()
public void setTooltipText(java.lang.String tooltipText)
AnnotationChangeEvent
事件.
tooltipText
- String 字符串 (可为null).
public void annotationChanged(AnnotationChangeEvent event)
annotationChanged
in interface IAnnotationChangeListener
event
- 描述注解(annotation)对象变化的对象
public void addChangeListener(IAnnotationChangeListener listener)
listener
- 注册的监听器对象.
public void removeChangeListener(IAnnotationChangeListener listener)
listener
- 要删除的监听者对象
public void removeAllChangeListener()
public boolean hasListener(IAnnotationChangeListener listener)
listener
- 要测试的监听器.
protected void fireAnnotationChanged()
protected void notifyListeners(AnnotationChangeEvent event)
event
- 触发监听器的事件.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- 要比较的对象
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |