Public Member Functions | Static Public Attributes | Package Attributes | Private Member Functions | Private Attributes | Static Private Attributes
com.generalrobotix.ui.view.GrxLoggerView Class Reference
Inheritance diagram for com.generalrobotix.ui.view.GrxLoggerView:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void disableControl ()
void enableControl ()
int getCurrentPos ()
int getMaximum ()
double getPlayRate ()
 GrxLoggerView (String name, GrxPluginManager manager, GrxBaseViewPart vp, Composite parent)
boolean isPlaying ()
 check where playing now or not
void pause ()
 pause playback
void registerItemChange (GrxBaseItem item, int event)
void restoreProperties ()
 restore properties. Called by menu item "restore Properties"
void setUp ()
void shutdown ()
void update (GrxBasePlugin plugin, Object...arg)
void updatePosition (GrxBasePlugin plugin, Integer arg_pos)

Static Public Attributes

static final String TITLE = "Logger"

Package Attributes

double logTimeStepMs_
final long mills2nano = 1000 * 1000
long nextTimerNs_
long prevDispNs_

Private Member Functions

boolean _isAtTheEndAfterPlayback ()
void _setTimeSeriesItem (GrxWorldStateItem item)
void _updateTimeField (GrxWorldStateItem item)
void backPosition ()
void forwardPosition ()
void play ()
void setEnabled (boolean b)
void sliderTimeSetMaximam (int value)
void startBackPosTimer ()
void startForwardPosTimer ()
void stopBackPosTimer ()
void stopForwardPosTimer ()

Private Attributes

String[] actToolTips_
Runnable backPosRun_
Button btnFrameF_
Button btnFrameR_
Button[] btns_ = new Button[2]
String[] btnToolTips
boolean buttonClick_ = false
int current_ = 0
GrxWorldStateItem currentItem_ = null
Runnable forwardPosRun_
int frameRate_ = defaultFrameRate_
boolean inSimulation_ = false
boolean isControlDisabled_ = false
boolean isMouseOverBtnF_ = false
boolean isMouseOverBtnR_ = false
boolean isPlaying_ = false
Label lblFrameRate_
Label lblPlayRate_
int mouseBtnAccelNeed_ = 5
int mouseBtnAccelRepeat_ = 30
int mouseBtnActionNum = 0
int mouseBtnRepeat_ = 200
double playRate_ = 1.0
GrxSimulationItem simItem_ = null
Scale sliderFrameRate_
Scale sliderTime_
Text tFldTime_
Action[] toolActs_ = new Action[6]

Static Private Attributes

static final String[] actDIcons_
static final String[] actIcons_
static final int defaultFrameRate_ = 10
static DecimalFormat FORMAT_FAST = new DecimalFormat("Play x ##;Play x-##")
static DecimalFormat FORMAT_SLOW = new DecimalFormat("Play x 1/##;Play x-1/##")
static final String[] icons_ = { "icon_frame-.png", "icon_frame+.png" }
static final int maxFrameRate_ = 50
static String timeFormat = "%8.3f"

Detailed Description

Definition at line 59 of file GrxLoggerView.java.


Constructor & Destructor Documentation

com.generalrobotix.ui.view.GrxLoggerView.GrxLoggerView ( String  name,
GrxPluginManager  manager,
GrxBaseViewPart  vp,
Composite  parent 
) [inline]
Parameters:
name
manager
vp
parent

Definition at line 147 of file GrxLoggerView.java.


Member Function Documentation

Definition at line 450 of file GrxLoggerView.java.

Definition at line 565 of file GrxLoggerView.java.

update time field

Definition at line 634 of file GrxLoggerView.java.

Definition at line 761 of file GrxLoggerView.java.

Definition at line 727 of file GrxLoggerView.java.

Definition at line 732 of file GrxLoggerView.java.

Definition at line 766 of file GrxLoggerView.java.

get current position of playback

Returns:
current position

Definition at line 657 of file GrxLoggerView.java.

get maximum position

Returns:
maximum position

Definition at line 649 of file GrxLoggerView.java.

get playback rate

Returns:
playback rate

Definition at line 710 of file GrxLoggerView.java.

check where playing now or not

Returns:
true if playing, false otherwise

Definition at line 551 of file GrxLoggerView.java.

pause playback

Definition at line 542 of file GrxLoggerView.java.

Definition at line 459 of file GrxLoggerView.java.

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 584 of file GrxLoggerView.java.

restore properties. Called by menu item "restore Properties"

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 558 of file GrxLoggerView.java.

Definition at line 714 of file GrxLoggerView.java.

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 429 of file GrxLoggerView.java.

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 737 of file GrxLoggerView.java.

Definition at line 749 of file GrxLoggerView.java.

Definition at line 771 of file GrxLoggerView.java.

Definition at line 789 of file GrxLoggerView.java.

Definition at line 780 of file GrxLoggerView.java.

Definition at line 798 of file GrxLoggerView.java.

void com.generalrobotix.ui.view.GrxLoggerView.update ( GrxBasePlugin  plugin,
Object...  arg 
) [inline]

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 661 of file GrxLoggerView.java.

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 691 of file GrxLoggerView.java.


Member Data Documentation

final String [] com.generalrobotix.ui.view.GrxLoggerView.actDIcons_ [static, private]
Initial value:
 {
        "icond_fastrwd.png", 
        "icond_slowrwd.png", 
        "icond_pause.png", 
        "icond_playback.png", 
        "icond_slowfwd.png", 
        "icond_fastfwd.png" }

Definition at line 104 of file GrxLoggerView.java.

final String [] com.generalrobotix.ui.view.GrxLoggerView.actIcons_ [static, private]
Initial value:
 {
        "icon_fastrwd.png", 
        "icon_slowrwd.png", 
        "icon_pause.png", 
        "icon_playback.png", 
        "icon_slowfwd.png", 
        "icon_fastfwd.png" }

Definition at line 97 of file GrxLoggerView.java.

Initial value:
 new String[] {
        MessageBundle.get("GrxLoggerView.text.fastRwd"),MessageBundle.get("GrxLoggerView.text.slowRwd"), 
        MessageBundle.get("GrxLoggerView.text.pause"), MessageBundle.get("GrxLoggerView.text.play"), 
        MessageBundle.get("GrxLoggerView.text.slowFwd"), MessageBundle.get("GrxLoggerView.text.fastFwd") 
        }

Definition at line 92 of file GrxLoggerView.java.

Definition at line 128 of file GrxLoggerView.java.

Definition at line 79 of file GrxLoggerView.java.

Definition at line 80 of file GrxLoggerView.java.

Button [] com.generalrobotix.ui.view.GrxLoggerView.btns_ = new Button[2] [private]

Definition at line 81 of file GrxLoggerView.java.

Initial value:
 new String[] {
                        MessageBundle.get("GrxLoggerView.text.oneRwd"), MessageBundle.get("GrxLoggerView.text.onePlay")  
                }

Definition at line 83 of file GrxLoggerView.java.

Definition at line 71 of file GrxLoggerView.java.

Definition at line 65 of file GrxLoggerView.java.

Definition at line 62 of file GrxLoggerView.java.

Definition at line 113 of file GrxLoggerView.java.

DecimalFormat com.generalrobotix.ui.view.GrxLoggerView.FORMAT_FAST = new DecimalFormat("Play x ##;Play x-##") [static, private]

Definition at line 116 of file GrxLoggerView.java.

DecimalFormat com.generalrobotix.ui.view.GrxLoggerView.FORMAT_SLOW = new DecimalFormat("Play x 1/##;Play x-1/##") [static, private]

Definition at line 117 of file GrxLoggerView.java.

Definition at line 129 of file GrxLoggerView.java.

Definition at line 67 of file GrxLoggerView.java.

final String [] com.generalrobotix.ui.view.GrxLoggerView.icons_ = { "icon_frame-.png", "icon_frame+.png" } [static, private]

Definition at line 87 of file GrxLoggerView.java.

Definition at line 70 of file GrxLoggerView.java.

Definition at line 69 of file GrxLoggerView.java.

Definition at line 127 of file GrxLoggerView.java.

Definition at line 126 of file GrxLoggerView.java.

Definition at line 68 of file GrxLoggerView.java.

Definition at line 75 of file GrxLoggerView.java.

Definition at line 114 of file GrxLoggerView.java.

Definition at line 133 of file GrxLoggerView.java.

Definition at line 112 of file GrxLoggerView.java.

final long com.generalrobotix.ui.view.GrxLoggerView.mills2nano = 1000 * 1000 [package]

Definition at line 138 of file GrxLoggerView.java.

Definition at line 124 of file GrxLoggerView.java.

Definition at line 125 of file GrxLoggerView.java.

Definition at line 122 of file GrxLoggerView.java.

Definition at line 123 of file GrxLoggerView.java.

Definition at line 137 of file GrxLoggerView.java.

Definition at line 66 of file GrxLoggerView.java.

Definition at line 135 of file GrxLoggerView.java.

Definition at line 63 of file GrxLoggerView.java.

Definition at line 74 of file GrxLoggerView.java.

Definition at line 76 of file GrxLoggerView.java.

Definition at line 89 of file GrxLoggerView.java.

String com.generalrobotix.ui.view.GrxLoggerView.timeFormat = "%8.3f" [static, private]

Definition at line 118 of file GrxLoggerView.java.

final String com.generalrobotix.ui.view.GrxLoggerView.TITLE = "Logger" [static]

Definition at line 60 of file GrxLoggerView.java.

Action [] com.generalrobotix.ui.view.GrxLoggerView.toolActs_ = new Action[6] [private]

Definition at line 91 of file GrxLoggerView.java.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:44:01