Public Member Functions | Public Attributes | List of all members
RtmSystemDraw.MyEvtHandlerOval Class Reference
Inheritance diagram for RtmSystemDraw.MyEvtHandlerOval:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, log, frame)
 
def OnBeginDragLeft (self, x, y, keys=0, attachment=0)
 
def OnDragLeft (self, draw, x, y, keys, attachment)
 
def OnEndDragLeft (self, x, y, keys=0, attachment=0)
 

Public Attributes

 dragOn
 
 log
 
 statbarFrame
 

Detailed Description

線移動用の円のイベントクラス

Definition at line 2849 of file RtmSystemDraw.py.

Constructor & Destructor Documentation

◆ __init__()

def RtmSystemDraw.MyEvtHandlerOval.__init__ (   self,
  log,
  frame 
)
クラスの初期化(ShapeEvtHandlerの作成)

[引数]
log     -- ログ出力クラスのオブジェクト
frame   -- ステータスバーのオブジェクト
※上記引数は、demoプログラムの名残:削除可

[戻り値]
void

Definition at line 2851 of file RtmSystemDraw.py.

Member Function Documentation

◆ OnBeginDragLeft()

def RtmSystemDraw.MyEvtHandlerOval.OnBeginDragLeft (   self,
  x,
  y,
  keys = 0,
  attachment = 0 
)
ドラッグ開始時に呼ばれるイベントハンドラ
ドラッグフラグをonにする

[引数]
x          -- イベント時のx座標
y          -- イベント時のy座標
keys       -- キー押下状態(SHIFT、CTRL)
attachment -- アタッチメント(未使用)

[戻り値]
void

Definition at line 2881 of file RtmSystemDraw.py.

◆ OnDragLeft()

def RtmSystemDraw.MyEvtHandlerOval.OnDragLeft (   self,
  draw,
  x,
  y,
  keys,
  attachment 
)
ドラッグ開始時に呼ばれるイベントハンドラ
移動用の円をドラッグで移動(円のdmoveメソッド内で関連する線も移動させる)

[引数]
x          -- イベント時のx座標
y          -- イベント時のy座標
keys       -- キー押下状態(SHIFT、CTRL)
attachment -- アタッチメント(未使用)

[戻り値]
void

Definition at line 2896 of file RtmSystemDraw.py.

◆ OnEndDragLeft()

def RtmSystemDraw.MyEvtHandlerOval.OnEndDragLeft (   self,
  x,
  y,
  keys = 0,
  attachment = 0 
)
ドラッグ終了時に呼ばれるイベントハンドラ
ドラッグフラグをoffにする

[引数]
x          -- イベント時のx座標
y          -- イベント時のy座標
keys       -- キー押下状態(SHIFT、CTRL)
attachment -- アタッチメント(未使用)

[戻り値]
void

Definition at line 2866 of file RtmSystemDraw.py.

Member Data Documentation

◆ dragOn

RtmSystemDraw.MyEvtHandlerOval.dragOn

Definition at line 2879 of file RtmSystemDraw.py.

◆ log

RtmSystemDraw.MyEvtHandlerOval.log

Definition at line 2863 of file RtmSystemDraw.py.

◆ statbarFrame

RtmSystemDraw.MyEvtHandlerOval.statbarFrame

Definition at line 2864 of file RtmSystemDraw.py.


The documentation for this class was generated from the following file:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:48