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

Classes

class  JointTableLabelProvider
 
class  SensorTableLabelProvider
 

Public Member Functions

 GrxRobotStatView (String name, GrxPluginManager manager, GrxBaseViewPart vp, Composite parent)
 
boolean propertyChanged (String key, String value)
 
void registerItemChange (GrxBaseItem item, int event)
 
void setUp ()
 
void shutdown ()
 
void update (GrxBasePlugin plugin, Object...arg)
 
void updatePosition (GrxBasePlugin plugin, Integer arg_pos)
 
void updateTableFont ()
 
- 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 = "Robot State"
 

Private Member Functions

Integer[] _createJointTVInput ()
 
Integer[] _createSensorTVInput ()
 
void _refresh ()
 
void setJointList ()
 
void updateTableViewer ()
 

Private Attributes

String[] accName_
 
Color black_
 
Color blue_
 
Font boldFont_
 
int[][] columnWidth_
 
Combo comboModelName_
 
GrxModelItem currentModel_ = null
 
double[] currentPower_
 
double[] currentRefAng_
 
SensorState currentSensor_
 
WorldStateEx currentState_ = null
 
int[] currentSvStat_
 
GrxWorldStateItem currentWorld_ = null
 
String[] forceName_
 
String[] gyroName_
 
List< GrxLinkItemjointList_ = new ArrayList<GrxLinkItem>()
 
TableViewer jointTV_
 
Composite mainPanel_
 
List< GrxModelItemmodelList_
 
String osName_ = "Windows"
 
Font plainFont_
 
Color red_
 
TableViewer sensorTV_
 
TableViewer[] viewers_
 
Composite[] viewPanel_ = new Composite[2]
 
Color white_
 
Color yellow_
 

Static Private Attributes

static final int COMBO_WIDTH = 100
 
static final DecimalFormat FORMAT1 = new DecimalFormat(" 0.0;-0.0")
 
static final DecimalFormat FORMAT2 = new DecimalFormat(" 0.000;-0.000")
 

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 69 of file GrxRobotStatView.java.

Constructor & Destructor Documentation

com.generalrobotix.ui.view.GrxRobotStatView.GrxRobotStatView ( String  name,
GrxPluginManager  manager,
GrxBaseViewPart  vp,
Composite  parent 
)
inline

Definition at line 119 of file GrxRobotStatView.java.

Member Function Documentation

Integer [] com.generalrobotix.ui.view.GrxRobotStatView._createJointTVInput ( )
inlineprivate

Definition at line 272 of file GrxRobotStatView.java.

Integer [] com.generalrobotix.ui.view.GrxRobotStatView._createSensorTVInput ( )
inlineprivate

Definition at line 280 of file GrxRobotStatView.java.

void com.generalrobotix.ui.view.GrxRobotStatView._refresh ( )
inlineprivate

Definition at line 500 of file GrxRobotStatView.java.

boolean com.generalrobotix.ui.view.GrxRobotStatView.propertyChanged ( String  key,
String  value 
)
inline

Definition at line 300 of file GrxRobotStatView.java.

void com.generalrobotix.ui.view.GrxRobotStatView.registerItemChange ( GrxBaseItem  item,
int  event 
)
inline
void com.generalrobotix.ui.view.GrxRobotStatView.setJointList ( )
inlineprivate

Definition at line 350 of file GrxRobotStatView.java.

void com.generalrobotix.ui.view.GrxRobotStatView.setUp ( )
inline
void com.generalrobotix.ui.view.GrxRobotStatView.shutdown ( )
inline

Definition at line 899 of file GrxRobotStatView.java.

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

Implements com.generalrobotix.ui.GrxObserver.

Definition at line 444 of file GrxRobotStatView.java.

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

Implements com.generalrobotix.ui.GrxPositionObserver.

Definition at line 459 of file GrxRobotStatView.java.

void com.generalrobotix.ui.view.GrxRobotStatView.updateTableFont ( )
inline

Definition at line 915 of file GrxRobotStatView.java.

void com.generalrobotix.ui.view.GrxRobotStatView.updateTableViewer ( )
inlineprivate

Definition at line 468 of file GrxRobotStatView.java.

Member Data Documentation

String [] com.generalrobotix.ui.view.GrxRobotStatView.accName_
private

Definition at line 89 of file GrxRobotStatView.java.

Color com.generalrobotix.ui.view.GrxRobotStatView.black_
private

Definition at line 102 of file GrxRobotStatView.java.

Color com.generalrobotix.ui.view.GrxRobotStatView.blue_
private

Definition at line 104 of file GrxRobotStatView.java.

Font com.generalrobotix.ui.view.GrxRobotStatView.boldFont_
private

Definition at line 76 of file GrxRobotStatView.java.

int [][] com.generalrobotix.ui.view.GrxRobotStatView.columnWidth_
private
Initial value:
= new int[][]{
{5,16,11,11,11,7,7,7,7,9,9},
{22,13,13,13,13,13,13},
{30,90,60,60,60,40,40,40,40,50,50},
{110,75,75,75,75,75,75}
}

Definition at line 110 of file GrxRobotStatView.java.

final int com.generalrobotix.ui.view.GrxRobotStatView.COMBO_WIDTH = 100
staticprivate

Definition at line 109 of file GrxRobotStatView.java.

Combo com.generalrobotix.ui.view.GrxRobotStatView.comboModelName_
private

Definition at line 91 of file GrxRobotStatView.java.

GrxModelItem com.generalrobotix.ui.view.GrxRobotStatView.currentModel_ = null
private

Definition at line 79 of file GrxRobotStatView.java.

double [] com.generalrobotix.ui.view.GrxRobotStatView.currentPower_
private

Definition at line 83 of file GrxRobotStatView.java.

double [] com.generalrobotix.ui.view.GrxRobotStatView.currentRefAng_
private

Definition at line 81 of file GrxRobotStatView.java.

SensorState com.generalrobotix.ui.view.GrxRobotStatView.currentSensor_
private

Definition at line 80 of file GrxRobotStatView.java.

WorldStateEx com.generalrobotix.ui.view.GrxRobotStatView.currentState_ = null
private

Definition at line 84 of file GrxRobotStatView.java.

int [] com.generalrobotix.ui.view.GrxRobotStatView.currentSvStat_
private

Definition at line 82 of file GrxRobotStatView.java.

GrxWorldStateItem com.generalrobotix.ui.view.GrxRobotStatView.currentWorld_ = null
private

Definition at line 78 of file GrxRobotStatView.java.

String [] com.generalrobotix.ui.view.GrxRobotStatView.forceName_
private

Definition at line 87 of file GrxRobotStatView.java.

final DecimalFormat com.generalrobotix.ui.view.GrxRobotStatView.FORMAT1 = new DecimalFormat(" 0.0;-0.0")
staticprivate

Definition at line 72 of file GrxRobotStatView.java.

final DecimalFormat com.generalrobotix.ui.view.GrxRobotStatView.FORMAT2 = new DecimalFormat(" 0.000;-0.000")
staticprivate

Definition at line 73 of file GrxRobotStatView.java.

String [] com.generalrobotix.ui.view.GrxRobotStatView.gyroName_
private

Definition at line 88 of file GrxRobotStatView.java.

List<GrxLinkItem> com.generalrobotix.ui.view.GrxRobotStatView.jointList_ = new ArrayList<GrxLinkItem>()
private

Definition at line 86 of file GrxRobotStatView.java.

TableViewer com.generalrobotix.ui.view.GrxRobotStatView.jointTV_
private

Definition at line 95 of file GrxRobotStatView.java.

Composite com.generalrobotix.ui.view.GrxRobotStatView.mainPanel_
private

Definition at line 117 of file GrxRobotStatView.java.

List<GrxModelItem> com.generalrobotix.ui.view.GrxRobotStatView.modelList_
private

Definition at line 92 of file GrxRobotStatView.java.

String com.generalrobotix.ui.view.GrxRobotStatView.osName_ = "Windows"
private

Definition at line 107 of file GrxRobotStatView.java.

Font com.generalrobotix.ui.view.GrxRobotStatView.plainFont_
private

Definition at line 75 of file GrxRobotStatView.java.

Color com.generalrobotix.ui.view.GrxRobotStatView.red_
private

Definition at line 103 of file GrxRobotStatView.java.

TableViewer com.generalrobotix.ui.view.GrxRobotStatView.sensorTV_
private

Definition at line 96 of file GrxRobotStatView.java.

final String com.generalrobotix.ui.view.GrxRobotStatView.TITLE = "Robot State"
static

Definition at line 70 of file GrxRobotStatView.java.

TableViewer [] com.generalrobotix.ui.view.GrxRobotStatView.viewers_
private

Definition at line 94 of file GrxRobotStatView.java.

Composite [] com.generalrobotix.ui.view.GrxRobotStatView.viewPanel_ = new Composite[2]
private

Definition at line 116 of file GrxRobotStatView.java.

Color com.generalrobotix.ui.view.GrxRobotStatView.white_
private

Definition at line 101 of file GrxRobotStatView.java.

Color com.generalrobotix.ui.view.GrxRobotStatView.yellow_
private

Definition at line 105 of file GrxRobotStatView.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 Sat Apr 13 2019 02:14:30