public abstract class ActiveGlyph
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected ChartComponent |
chartComponent |
protected Glyph |
parentGlyph |
构造器和说明 |
---|
ActiveGlyph(ChartComponent chartComponent,
Glyph parentGlyph) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
contains(int mouseX,
int mouseY)
当前的ActiveGlyph是否包含坐标mouseX, mouseY
|
void |
drawAllGlyph(java.awt.Graphics2D g2d,
int resolution) |
protected void |
drawSelectedBounds4Active(java.awt.Graphics2D g2d) |
ActiveGlyph |
findActionGlyphFromChildren(int mouseX,
int mouseY)
在当前选中的ActiveGlyph中,仅仅在其Children中找与mouseX, mouseY匹配的ActiveGlyph
|
abstract Glyph |
getGlyph() |
abstract void |
goRightPane()
属性表中, 通过点击 展开到对应的界面.
|
java.awt.geom.Point2D |
offset4Paint()
画的偏移的
|
void |
onMouseDragged(java.awt.event.MouseEvent e)
拖拽
|
void |
onMouseMove(java.awt.event.MouseEvent e)
移动事件
|
void |
paint4ActiveGlyph(java.awt.Graphics2D g2d,
BaseChartGlyph chartGlyph) |
protected Glyph parentGlyph
protected ChartComponent chartComponent
public ActiveGlyph(ChartComponent chartComponent, Glyph parentGlyph)
public abstract Glyph getGlyph()
public void drawAllGlyph(java.awt.Graphics2D g2d, int resolution)
public abstract void goRightPane()
public java.awt.geom.Point2D offset4Paint()
public void paint4ActiveGlyph(java.awt.Graphics2D g2d, BaseChartGlyph chartGlyph)
protected void drawSelectedBounds4Active(java.awt.Graphics2D g2d)
public boolean contains(int mouseX, int mouseY)
mouseX
- 坐标XmouseY
- 坐标Ypublic ActiveGlyph findActionGlyphFromChildren(int mouseX, int mouseY)
mouseX
- 坐标XmouseY
- 坐标Ypublic void onMouseDragged(java.awt.event.MouseEvent e)
e
- 事件public void onMouseMove(java.awt.event.MouseEvent e)
e
- 事件