public abstract class GeneralGlyph extends java.lang.Object implements Glyph
构造器和说明 |
---|
GeneralGlyph() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
void |
dealCondition(ConditionCollection conditionCollection,
Result result,
java.awt.Color[] colors)
处理条件属性
|
void |
dealConditionWithSeriesColor(ConditionCollection conditionCollection,
Result result,
java.awt.Color[] colors)
处理颜色数组
|
void |
draw(java.awt.Graphics g,
int resolution)
画GeneralGlyph
|
void |
drawOnlyBorder(java.awt.Graphics g,
int resolution) |
void |
drawWithOutBorder(java.awt.Graphics g,
int resolution) |
boolean |
equals(java.lang.Object ob) |
float |
getAlpha() |
Background |
getBackground() |
java.awt.Color |
getBorderColor() |
int |
getBorderStyle() |
GeneralInfo |
getGeneralInfo() |
abstract java.awt.Shape |
getOutline4Fill()
返回画GeneralGlyph的背景轮廓
|
int |
getRoundRadius() |
void |
is3DIE6(boolean is3DIE6)
是否为ie6 3d
|
boolean |
isRoundBorder()
是否为圆角
|
boolean |
isShadow()
返回是否开启阴影
|
protected void |
paint(java.awt.Graphics g)
画GeneralGlyph的阴影、外发光、背景和边框
|
protected void |
paintBackground(java.awt.Graphics2D g2d,
java.awt.Shape shape) |
void |
putBackgroundJSON(JSONObject js,
Repository repo) |
void |
putPlotBackgroundJSON(JSONObject js,
Repository repo) |
void |
setAlpha(float alpha) |
void |
setBackground(Background background) |
void |
setBorderColor(java.awt.Color color) |
void |
setBorderStyle(int borderStyle) |
void |
setGeneralInfo(GeneralInfo info) |
void |
setRoundBorder(boolean isRoundBorder) |
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
JSONObject |
toVanJSONObject(Repository repo) |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getShape, selectableChildren
public void setGeneralInfo(GeneralInfo info)
public GeneralInfo getGeneralInfo()
public Background getBackground()
public void setBackground(Background background)
public float getAlpha()
public void setAlpha(float alpha)
public java.awt.Color getBorderColor()
public void setBorderColor(java.awt.Color color)
public int getBorderStyle()
public void setBorderStyle(int borderStyle)
public int getRoundRadius()
public boolean isShadow()
public boolean isRoundBorder()
public void setRoundBorder(boolean isRoundBorder)
public void dealCondition(ConditionCollection conditionCollection, Result result, java.awt.Color[] colors)
conditionCollection
- 条件属性result
- 结果colors
- 颜色数组public void dealConditionWithSeriesColor(ConditionCollection conditionCollection, Result result, java.awt.Color[] colors)
conditionCollection
- 条件属性result
- 结果colors
- 颜色数组public abstract java.awt.Shape getOutline4Fill()
public void draw(java.awt.Graphics g, int resolution)
public void drawWithOutBorder(java.awt.Graphics g, int resolution)
public void drawOnlyBorder(java.awt.Graphics g, int resolution)
protected void paint(java.awt.Graphics g)
g
- 图形对象protected void paintBackground(java.awt.Graphics2D g2d, java.awt.Shape shape)
public void is3DIE6(boolean is3DIE6)
is3DIE6
- ie63D 是否public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
repo
- 请求JSONException
- 抛错public JSONObject toVanJSONObject(Repository repo) throws JSONException
JSONException
public void putBackgroundJSON(JSONObject js, Repository repo) throws JSONException
JSONException
public void putPlotBackgroundJSON(JSONObject js, Repository repo) throws JSONException
JSONException
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常