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

List of all members.

Public Member Functions

File chooseSaveFile ()
GrxBaseItem clone ()
 Override clone method.
boolean create ()
void delete ()
 delete this item
File getDefaultDir ()
 get default directory
String getFileExtention ()
 get file extension
Object getValue ()
boolean load (File file)
void paste (String clipVal)
 paste object
void setValue (Object o)

Protected Member Functions

 GrxBaseItem (String name, GrxPluginManager manager)
 constructor
void setDefaultDirectory (String dir)
void setFileExtension (String ext)

Protected Attributes

String clipValue_ = ""
File file_

Static Protected Attributes

static final String[] jointTypeComboItem_ = new String[] { "fixed", "rotate", "free", "slide" }
static final String[] methodComboItem_ = new String[] { "EULER", "RUNGE_KUTTA" }
static final String[] modeComboItem_ = new String[] { "Torque", "HighGain" }

Private Attributes

File defaultFileDir_
String ext_
Object value_ = null

Detailed Description

Definition at line 35 of file GrxBaseItem.java.


Constructor & Destructor Documentation

com.generalrobotix.ui.GrxBaseItem.GrxBaseItem ( String  name,
GrxPluginManager  manager 
) [inline, protected]

constructor

Parameters:
namename
managermanager

Definition at line 51 of file GrxBaseItem.java.


Member Function Documentation

choose a file to save

Returns:
file to save

Definition at line 155 of file GrxBaseItem.java.

get default directory

Returns:
default directory

Definition at line 111 of file GrxBaseItem.java.

get file extension

Returns:
file extension

Definition at line 101 of file GrxBaseItem.java.

void com.generalrobotix.ui.GrxBaseItem.paste ( String  clipVal) [inline]

paste object

Definition at line 167 of file GrxBaseItem.java.

void com.generalrobotix.ui.GrxBaseItem.setDefaultDirectory ( String  dir) [inline, protected]

set default directory

Parameters:
dirnew default directory. If dir is invalid, home is set.

Definition at line 137 of file GrxBaseItem.java.

void com.generalrobotix.ui.GrxBaseItem.setFileExtension ( String  ext) [inline, protected]

set file extension

Parameters:
extfile extension

Definition at line 129 of file GrxBaseItem.java.

set value

Parameters:
onew value

Definition at line 147 of file GrxBaseItem.java.


Member Data Documentation

Definition at line 40 of file GrxBaseItem.java.

Definition at line 37 of file GrxBaseItem.java.

Definition at line 39 of file GrxBaseItem.java.

Definition at line 38 of file GrxBaseItem.java.

final String [] com.generalrobotix.ui.GrxBaseItem.jointTypeComboItem_ = new String[] { "fixed", "rotate", "free", "slide" } [static, protected]

Definition at line 43 of file GrxBaseItem.java.

final String [] com.generalrobotix.ui.GrxBaseItem.methodComboItem_ = new String[] { "EULER", "RUNGE_KUTTA" } [static, protected]

Definition at line 44 of file GrxBaseItem.java.

final String [] com.generalrobotix.ui.GrxBaseItem.modeComboItem_ = new String[] { "Torque", "HighGain" } [static, protected]

Definition at line 42 of file GrxBaseItem.java.

Definition at line 36 of file GrxBaseItem.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 Apr 11 2019 03:30:21