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.GElement
createCopy
in interface jp.fric.graphics.draw.GElement
public java.lang.String getName()
jp.fric.graphics.draw.GElement
getName
in interface jp.fric.graphics.draw.GElement
public java.awt.geom.Rectangle2D.Double getRepaintBounds()
jp.fric.graphics.draw.GElement
getRepaintBounds
in interface jp.fric.graphics.draw.GElement
public boolean inShape(double x, double y)
jp.fric.graphics.draw.GElement
inShape
in interface jp.fric.graphics.draw.GElement
x
- 判定対象となる論理座標空間内の座標点のX座標y
- 判定対象となる論理座標空間内の座標点のY座標public boolean onEdge(double x, double y)
jp.fric.graphics.draw.GElement
onEdge
in interface jp.fric.graphics.draw.GElement
x
- 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.GElement
intersects
in interface jp.fric.graphics.draw.GElement
selectArea
- 判定領域public boolean isHighlighted()
jp.fric.graphics.draw.GElement
isHighlighted
in interface jp.fric.graphics.draw.GElement
public void setHighlighted(boolean highlight)
jp.fric.graphics.draw.GElement
setHighlighted
in interface jp.fric.graphics.draw.GElement
highlight
- ハイライトするならばtrue、解除するならばfalsepublic void setName(java.lang.String name)
jp.fric.graphics.draw.GElement
setName
in interface jp.fric.graphics.draw.GElement
name
- 名前となる文字列public boolean popupAvailable()
jp.fric.graphics.draw.GElement
popupAvailable
in interface jp.fric.graphics.draw.GElement
public void showPopup(java.awt.event.MouseEvent e, double x, double y, jp.fric.graphics.draw.GStructure structure)
jp.fric.graphics.draw.GElement
showPopup
in interface jp.fric.graphics.draw.GElement
e
- マウスイベント.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()