public abstract class InformationDisplayerAbst extends java.lang.Object implements InformationElementImpl
| Constructor and Description |
|---|
InformationDisplayerAbst() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMember(InformationDisplayerAbst member) |
jp.fric.graphics.draw.GElement |
createCopy()
このエレメントのコピーを作成する。
|
void |
deleteMember(InformationDisplayerAbst member) |
java.util.Vector |
getMembers() |
java.lang.String |
getName()
このエレメントの名前を返す。
|
abstract java.lang.Object |
getParent() |
java.awt.geom.Rectangle2D.Double |
getRepaintBounds()
このエレメントの図形全体の再描画用バウンディングボックスを返す。
|
boolean |
inShape(double x,
double y)
Judges whether the whole shape of this element includes the
specified points inside.
|
boolean |
intersects(java.awt.geom.Rectangle2D.Double selectArea)
Returns whether this overwraps with the input selectArea.
|
boolean |
isHighlighted()
このエレメントはハイライトされているか?
|
boolean |
onEdge(double x,
double y)
Judges whether the edge shape of this element includes the
specified points inside.
|
boolean |
popupAvailable()
ポップアップメニューが利用できるかどうか.
|
void |
setColor(java.lang.String mode,
java.awt.Color color1,
java.awt.Color color2) |
void |
setHighlighted(boolean highlight)
このエレメントをハイライトする。または解除する。
|
abstract void |
setInnerPaintColor(java.awt.Color color) |
abstract void |
setInnerPaintMode(java.lang.String mode) |
void |
setName(java.lang.String name)
このエレメントに名前をつける。
|
void |
setOutterLineColor(java.awt.Color color) |
abstract void |
setParent(java.lang.Object parent) |
abstract void |
setPosition(double x,
double y) |
abstract void |
setSize(double w,
double h) |
void |
showPopup(java.awt.event.MouseEvent e,
double x,
double y,
jp.fric.graphics.draw.GStructure structure)
ポップアップメニューを表示する.
|
public jp.fric.graphics.draw.GElement createCopy()
jp.fric.graphics.draw.GElementcreateCopy in interface jp.fric.graphics.draw.GElementpublic java.lang.String getName()
jp.fric.graphics.draw.GElementgetName in interface jp.fric.graphics.draw.GElementpublic java.awt.geom.Rectangle2D.Double getRepaintBounds()
jp.fric.graphics.draw.GElementgetRepaintBounds in interface jp.fric.graphics.draw.GElementpublic boolean inShape(double x,
double y)
jp.fric.graphics.draw.GElementinShape in interface jp.fric.graphics.draw.GElementx - 判定対象となる論理座標空間内の座標点のX座標y - 判定対象となる論理座標空間内の座標点のY座標public boolean onEdge(double x,
double y)
jp.fric.graphics.draw.GElementonEdge in interface jp.fric.graphics.draw.GElementx - x coordinate of the point to be judged.y - y coordinate of the point to be judged.true if included.public boolean intersects(java.awt.geom.Rectangle2D.Double selectArea)
jp.fric.graphics.draw.GElementintersects in interface jp.fric.graphics.draw.GElementselectArea - 判定領域public boolean isHighlighted()
jp.fric.graphics.draw.GElementisHighlighted in interface jp.fric.graphics.draw.GElementpublic void setHighlighted(boolean highlight)
jp.fric.graphics.draw.GElementsetHighlighted in interface jp.fric.graphics.draw.GElementhighlight - ハイライトするならばtrue、解除するならばfalsepublic void setName(java.lang.String name)
jp.fric.graphics.draw.GElementsetName in interface jp.fric.graphics.draw.GElementname - 名前となる文字列public boolean popupAvailable()
jp.fric.graphics.draw.GElementpopupAvailable in interface jp.fric.graphics.draw.GElementpublic void showPopup(java.awt.event.MouseEvent e,
double x,
double y,
jp.fric.graphics.draw.GStructure structure)
jp.fric.graphics.draw.GElementshowPopup in interface jp.fric.graphics.draw.GElemente - マウスイベント.x - ローカル座標x.y - y.structure - リドロー用ストラクチャ.public abstract void setPosition(double x,
double y)
public abstract void setSize(double w,
double h)
public void setOutterLineColor(java.awt.Color color)
public abstract void setInnerPaintMode(java.lang.String mode)
public abstract void setInnerPaintColor(java.awt.Color color)
public void setColor(java.lang.String mode,
java.awt.Color color1,
java.awt.Color color2)
public abstract java.lang.Object getParent()
public abstract void setParent(java.lang.Object parent)
public void addMember(InformationDisplayerAbst member)
public void deleteMember(InformationDisplayerAbst member)
public java.util.Vector getMembers()