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

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 More...
 
void pause ()
 pause playback More...
 
void registerItemChange (GrxBaseItem item, int event)
 
void restoreProperties ()
 
void setUp ()
 
void shutdown ()
 
void update (GrxBasePlugin plugin, Object... arg)
 
void updatePosition (GrxBasePlugin plugin, Integer arg_pos)
 
- Public Member Functions inherited from com.generalrobotix.ui.GrxBaseView
 GrxBaseView (String name, GrxPluginManager manager_, GrxBaseViewPart vp, Composite parent)
 constructor More...
 
void setName (String name)
 
GrxBaseViewPart getViewPart ()
 get view part More...
 
Composite getParent ()
 get parent composite More...
 
Composite getComposite ()
 get composite. SWTのパーツはここで取得できるコンポジット上に設置する。 More...
 
void setScrollMinSize (int width, int height)
 set scroll minimum size More...
 
boolean cleanup (List< GrxBaseItem > itemList)
 cleanup More...
 
void itemListChanged ()
 this method is called by PluginManager when list of items is changed More...
 
void focusedItemChanged (GrxBaseItem item)
 
void propertyChanged ()
 This method is called when a property of plugin is changed. More...
 
void registerItemChange (GrxBaseItem item, int event)
 
void update (GrxBasePlugin plugin, Object... arg)
 
void updatePosition (GrxBasePlugin plugin, Integer pos)
 
void updateTableFont ()
 
void updateEditerFont ()
 
void restoreProperties ()
 
Element storeProperties ()
 
void setUp ()
 
- Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
void addObserver (GrxObserver v)
 
GrxBasePlugin clone ()
 Override clone method. More...
 
void deleteObserver (GrxObserver v)
 
boolean equals (Object obj)
 check whether obj equals to this More...
 
Element getElement ()
 get element More...
 
Image getIcon ()
 get icon More...
 
Vector< Action > getMenu ()
 get menu More...
 
String [] getMenuPath ()
 get menu path More...
 
final String getName ()
 get name More...
 
ArrayList< GrxObservergetObserver ()
 
String getOldName ()
 
Vector< MenuManager > getSubMenu ()
 get subMenu More...
 
String getURL (boolean expand)
 
ValueEditType GetValueEditType (String key)
 Return editing type of the key item. More...
 
boolean isExclusive ()
 check whether this is exclusive or not More...
 
boolean isSelected ()
 check whether this is selected or not More...
 
void notifyObservers (Object... arg)
 
boolean propertyChanged (String property, String value)
 check validity of new value of property and update if valid More...
 
boolean registerCORBA ()
 
void rename (String newName)
 rename this item More...
 
void restoreProperties ()
 restore properties. Called by menu item "restore Properties" More...
 
void setDocument (Document doc)
 set document More...
 
void setElement (Element element)
 set element More...
 
void setExclusive (boolean b)
 set exclusive flag More...
 
void setFocused (boolean b)
 set/unset focus on this plugin More...
 
void setMenuItem (Action a)
 add a menu item More...
 
void setName (String name)
 set name More...
 
Object setProperty (String key, String value)
 set property value associated with a keyword More...
 
void setSelected (boolean b)
 set selected flag More...
 
void setSubMenu (MenuManager m)
 add a submenu More...
 
void setURL (String url)
 set URL property More...
 
void shutdown ()
 
Element storeProperties ()
 store properties More...
 
final String toString ()
 convert to String. Currently, name is returned. More...
 
void unregisterCORBA ()
 
- Public Member Functions inherited from com.generalrobotix.ui.util.GrxConfigBundle
final Double getDbl (String key, Double defaultVal)
 get double value associated to key More...
 
Double getDbl (String value)
 
final double [] getDblAry (String key, double[] defaultVal)
 get double array associated to key More...
 
double [] getDblAry (String value)
 get array of double from String More...
 
final Float getFlt (String key, Float defaultVal)
 get float value associated to key More...
 
final Float getFlt (String value)
 
final float [] getFltAry (String key, float[] defaultVal)
 get float array associated to key More...
 
float [] getFltAry (String value)
 
final Integer getInt (String key, Integer defaultVal)
 get integer value associated to key More...
 
final int [] getIntAry (String key)
 get integer array associated to key More...
 
final Short getShort (String key, Short defaultVal)
 get short value associated to key More...
 
Short getShort (String value)
 
final String getStr (String key)
 get value associated to keyword More...
 
final String getStr (String key, String defaultVal)
 get value associated to key More...
 
 GrxConfigBundle ()
 constructor More...
 
 GrxConfigBundle (String fname) throws IOException
 construct from a file More...
 
final boolean isFalse (String key)
 check whether value associated to key includes a word "false" More...
 
final boolean isFalse (String key, boolean defaultVal)
 check whether value associated to key includes a word "false" More...
 
final boolean isTrue (String key)
 check whether value associated to key includes a word "true" More...
 
final boolean isTrue (String key, boolean defaultVal)
 check whether value associated to key includes a word "true" More...
 
void load (String fname) throws IOException
 load config from a file More...
 
final void setBool (String key, boolean value)
 
final void setDbl (String key, double value)
 associate double value to key More...
 
final void setDbl (String key, double value, int digits)
 associate double value to key More...
 
final void setDblAry (String key, double[] value, int digits)
 associate double array to key More...
 
final void setDblAry (String key, double[] value)
 associate double array to key More...
 
final void setFlt (String key, float value)
 associate float value to key More...
 
final void setFltAry (String key, float[] value)
 associate float array to key More...
 
final void setInt (String key, int value)
 associate int value to key More...
 
final void setShort (String key, short value)
 associate short value to key More...
 
void store (String fname, String comments) throws IOException
 store this config More...
 

Static Public Attributes

static final String TITLE = "Logger"
 

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"
 

Additional Inherited Members

- Static Public Member Functions inherited from com.generalrobotix.ui.GrxBaseView
static Dimension getDefaultButtonSize ()
 get default button size More...
 
- Static Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
static Object getField (Class<? extends GrxBasePlugin > cls, String field, Object defaultValue)
 get field More...
 
- Public Attributes inherited from com.generalrobotix.ui.GrxBaseView
boolean isScrollable_ = true
 
double min
 
- Protected Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
 GrxBasePlugin (String name, GrxPluginManager manager)
 constructor More...
 
void setIcon (String iconName)
 set icon More...
 
void setMenuPath (String[] path)
 set menu path More...
 
boolean syncExec (Runnable r)
 Transfer SWT UI thread. More...
 
- Protected Attributes inherited from com.generalrobotix.ui.GrxBaseView
Composite composite_
 
- Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin
Document doc_
 
Element element_
 
GrxPluginManager manager_
 
- Static Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin
static final String [] booleanComboItem_ = new String[] {"true", "false" }
 
static final String INDENT4 = " "
 
static final String ITEM_TAG = "item"
 
static final String PROPERTY_TAG = "property"
 
static final String VIEW_TAG = "view"
 

Detailed Description

Definition at line 59 of file GrxLoggerView.java.

Constructor & Destructor Documentation

◆ GrxLoggerView()

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

◆ _isAtTheEndAfterPlayback()

boolean com.generalrobotix.ui.view.GrxLoggerView._isAtTheEndAfterPlayback ( )
inlineprivate

Definition at line 450 of file GrxLoggerView.java.

◆ _setTimeSeriesItem()

void com.generalrobotix.ui.view.GrxLoggerView._setTimeSeriesItem ( GrxWorldStateItem  item)
inlineprivate

Definition at line 565 of file GrxLoggerView.java.

◆ _updateTimeField()

void com.generalrobotix.ui.view.GrxLoggerView._updateTimeField ( GrxWorldStateItem  item)
inlineprivate

update time field

Definition at line 634 of file GrxLoggerView.java.

◆ backPosition()

void com.generalrobotix.ui.view.GrxLoggerView.backPosition ( )
inlineprivate

Definition at line 761 of file GrxLoggerView.java.

◆ disableControl()

void com.generalrobotix.ui.view.GrxLoggerView.disableControl ( )
inline

Definition at line 727 of file GrxLoggerView.java.

◆ enableControl()

void com.generalrobotix.ui.view.GrxLoggerView.enableControl ( )
inline

Definition at line 732 of file GrxLoggerView.java.

◆ forwardPosition()

void com.generalrobotix.ui.view.GrxLoggerView.forwardPosition ( )
inlineprivate

Definition at line 766 of file GrxLoggerView.java.

◆ getCurrentPos()

int com.generalrobotix.ui.view.GrxLoggerView.getCurrentPos ( )
inline

get current position of playback

Returns
current position

Definition at line 657 of file GrxLoggerView.java.

◆ getMaximum()

int com.generalrobotix.ui.view.GrxLoggerView.getMaximum ( )
inline

get maximum position

Returns
maximum position

Definition at line 649 of file GrxLoggerView.java.

◆ getPlayRate()

double com.generalrobotix.ui.view.GrxLoggerView.getPlayRate ( )
inline

get playback rate

Returns
playback rate

Definition at line 710 of file GrxLoggerView.java.

◆ isPlaying()

boolean com.generalrobotix.ui.view.GrxLoggerView.isPlaying ( )
inline

check where playing now or not

Returns
true if playing, false otherwise

Definition at line 551 of file GrxLoggerView.java.

◆ pause()

void com.generalrobotix.ui.view.GrxLoggerView.pause ( )
inline

pause playback

Definition at line 542 of file GrxLoggerView.java.

◆ play()

void com.generalrobotix.ui.view.GrxLoggerView.play ( )
inlineprivate

Definition at line 459 of file GrxLoggerView.java.

◆ registerItemChange()

void com.generalrobotix.ui.view.GrxLoggerView.registerItemChange ( GrxBaseItem  item,
int  event 
)
inline

Implements com.generalrobotix.ui.GrxItemChangeListener.

Definition at line 584 of file GrxLoggerView.java.

◆ restoreProperties()

void com.generalrobotix.ui.view.GrxLoggerView.restoreProperties ( )
inline

Definition at line 558 of file GrxLoggerView.java.

◆ setEnabled()

void com.generalrobotix.ui.view.GrxLoggerView.setEnabled ( boolean  b)
inlineprivate

Definition at line 714 of file GrxLoggerView.java.

◆ setUp()

void com.generalrobotix.ui.view.GrxLoggerView.setUp ( )
inline

Implements com.generalrobotix.ui.GrxItemChangeListener.

Definition at line 429 of file GrxLoggerView.java.

◆ shutdown()

void com.generalrobotix.ui.view.GrxLoggerView.shutdown ( )
inline

Definition at line 737 of file GrxLoggerView.java.

◆ sliderTimeSetMaximam()

void com.generalrobotix.ui.view.GrxLoggerView.sliderTimeSetMaximam ( int  value)
inlineprivate

Definition at line 749 of file GrxLoggerView.java.

◆ startBackPosTimer()

void com.generalrobotix.ui.view.GrxLoggerView.startBackPosTimer ( )
inlineprivate

Definition at line 771 of file GrxLoggerView.java.

◆ startForwardPosTimer()

void com.generalrobotix.ui.view.GrxLoggerView.startForwardPosTimer ( )
inlineprivate

Definition at line 789 of file GrxLoggerView.java.

◆ stopBackPosTimer()

void com.generalrobotix.ui.view.GrxLoggerView.stopBackPosTimer ( )
inlineprivate

Definition at line 780 of file GrxLoggerView.java.

◆ stopForwardPosTimer()

void com.generalrobotix.ui.view.GrxLoggerView.stopForwardPosTimer ( )
inlineprivate

Definition at line 798 of file GrxLoggerView.java.

◆ update()

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

Implements com.generalrobotix.ui.GrxObserver.

Definition at line 661 of file GrxLoggerView.java.

◆ updatePosition()

void com.generalrobotix.ui.view.GrxLoggerView.updatePosition ( GrxBasePlugin  plugin,
Integer  arg_pos 
)
inline

Implements com.generalrobotix.ui.GrxPositionObserver.

Definition at line 691 of file GrxLoggerView.java.

Member Data Documentation

◆ actDIcons_

final String [] com.generalrobotix.ui.view.GrxLoggerView.actDIcons_
staticprivate
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.

◆ actIcons_

final String [] com.generalrobotix.ui.view.GrxLoggerView.actIcons_
staticprivate
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.

◆ actToolTips_

String [] com.generalrobotix.ui.view.GrxLoggerView.actToolTips_
private
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.

◆ backPosRun_

Runnable com.generalrobotix.ui.view.GrxLoggerView.backPosRun_
private

Definition at line 128 of file GrxLoggerView.java.

◆ btnFrameF_

Button com.generalrobotix.ui.view.GrxLoggerView.btnFrameF_
private

Definition at line 79 of file GrxLoggerView.java.

◆ btnFrameR_

Button com.generalrobotix.ui.view.GrxLoggerView.btnFrameR_
private

Definition at line 80 of file GrxLoggerView.java.

◆ btns_

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

Definition at line 81 of file GrxLoggerView.java.

◆ btnToolTips

String [] com.generalrobotix.ui.view.GrxLoggerView.btnToolTips
private
Initial value:
= new String[] {
MessageBundle.get("GrxLoggerView.text.oneRwd"), MessageBundle.get("GrxLoggerView.text.onePlay")
}

Definition at line 83 of file GrxLoggerView.java.

◆ buttonClick_

boolean com.generalrobotix.ui.view.GrxLoggerView.buttonClick_ = false
private

Definition at line 71 of file GrxLoggerView.java.

◆ current_

int com.generalrobotix.ui.view.GrxLoggerView.current_ = 0
private

Definition at line 65 of file GrxLoggerView.java.

◆ currentItem_

GrxWorldStateItem com.generalrobotix.ui.view.GrxLoggerView.currentItem_ =null
private

Definition at line 62 of file GrxLoggerView.java.

◆ defaultFrameRate_

final int com.generalrobotix.ui.view.GrxLoggerView.defaultFrameRate_ = 10
staticprivate

Definition at line 113 of file GrxLoggerView.java.

◆ FORMAT_FAST

DecimalFormat com.generalrobotix.ui.view.GrxLoggerView.FORMAT_FAST = new DecimalFormat("Play x ##;Play x-##")
staticprivate

Definition at line 116 of file GrxLoggerView.java.

◆ FORMAT_SLOW

DecimalFormat com.generalrobotix.ui.view.GrxLoggerView.FORMAT_SLOW = new DecimalFormat("Play x 1/##;Play x-1/##")
staticprivate

Definition at line 117 of file GrxLoggerView.java.

◆ forwardPosRun_

Runnable com.generalrobotix.ui.view.GrxLoggerView.forwardPosRun_
private

Definition at line 129 of file GrxLoggerView.java.

◆ frameRate_

int com.generalrobotix.ui.view.GrxLoggerView.frameRate_ = defaultFrameRate_
private

Definition at line 67 of file GrxLoggerView.java.

◆ icons_

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

Definition at line 87 of file GrxLoggerView.java.

◆ inSimulation_

boolean com.generalrobotix.ui.view.GrxLoggerView.inSimulation_ = false
private

Definition at line 70 of file GrxLoggerView.java.

◆ isControlDisabled_

boolean com.generalrobotix.ui.view.GrxLoggerView.isControlDisabled_ = false
private

Definition at line 69 of file GrxLoggerView.java.

◆ isMouseOverBtnF_

boolean com.generalrobotix.ui.view.GrxLoggerView.isMouseOverBtnF_ = false
private

Definition at line 127 of file GrxLoggerView.java.

◆ isMouseOverBtnR_

boolean com.generalrobotix.ui.view.GrxLoggerView.isMouseOverBtnR_ = false
private

Definition at line 126 of file GrxLoggerView.java.

◆ isPlaying_

boolean com.generalrobotix.ui.view.GrxLoggerView.isPlaying_ = false
private

Definition at line 68 of file GrxLoggerView.java.

◆ lblFrameRate_

Label com.generalrobotix.ui.view.GrxLoggerView.lblFrameRate_
private

Definition at line 75 of file GrxLoggerView.java.

◆ lblPlayRate_

Label com.generalrobotix.ui.view.GrxLoggerView.lblPlayRate_
private

Definition at line 114 of file GrxLoggerView.java.

◆ maxFrameRate_

final int com.generalrobotix.ui.view.GrxLoggerView.maxFrameRate_ = 50
staticprivate

Definition at line 112 of file GrxLoggerView.java.

◆ mouseBtnAccelNeed_

int com.generalrobotix.ui.view.GrxLoggerView.mouseBtnAccelNeed_ = 5
private

Definition at line 124 of file GrxLoggerView.java.

◆ mouseBtnAccelRepeat_

int com.generalrobotix.ui.view.GrxLoggerView.mouseBtnAccelRepeat_ = 30
private

Definition at line 125 of file GrxLoggerView.java.

◆ mouseBtnActionNum

int com.generalrobotix.ui.view.GrxLoggerView.mouseBtnActionNum = 0
private

Definition at line 122 of file GrxLoggerView.java.

◆ mouseBtnRepeat_

int com.generalrobotix.ui.view.GrxLoggerView.mouseBtnRepeat_ = 200
private

Definition at line 123 of file GrxLoggerView.java.

◆ playRate_

double com.generalrobotix.ui.view.GrxLoggerView.playRate_ = 1.0
private

Definition at line 66 of file GrxLoggerView.java.

◆ simItem_

GrxSimulationItem com.generalrobotix.ui.view.GrxLoggerView.simItem_ =null
private

Definition at line 63 of file GrxLoggerView.java.

◆ sliderFrameRate_

Scale com.generalrobotix.ui.view.GrxLoggerView.sliderFrameRate_
private

Definition at line 74 of file GrxLoggerView.java.

◆ sliderTime_

Scale com.generalrobotix.ui.view.GrxLoggerView.sliderTime_
private

Definition at line 76 of file GrxLoggerView.java.

◆ tFldTime_

Text com.generalrobotix.ui.view.GrxLoggerView.tFldTime_
private

Definition at line 89 of file GrxLoggerView.java.

◆ timeFormat

String com.generalrobotix.ui.view.GrxLoggerView.timeFormat = "%8.3f"
staticprivate

Definition at line 118 of file GrxLoggerView.java.

◆ TITLE

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

Definition at line 60 of file GrxLoggerView.java.

◆ toolActs_

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 Thu Sep 8 2022 02:24:08