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

Public Member Functions

 GrxBaseView (String name, GrxPluginManager manager_, GrxBaseViewPart vp, Composite parent)
 constructor More...
 
- 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...
 

Public Attributes

boolean isScrollable_ = true
 
double min
 

Protected Attributes

Composite composite_
 
- Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin
Document doc_
 
Element element_
 
GrxPluginManager manager_
 

Private Attributes

Composite parent_
 
ScrolledComposite scrollComposite_
 
GrxBaseViewPart vp_
 

Static Private Attributes

static Dimension defaultButtonSize_ = new Dimension(27, 27)
 

name

set name

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 ()
 
static Dimension getDefaultButtonSize ()
 get default button size More...
 

Additional Inherited Members

- Static Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
static Object getField (Class<? extends GrxBasePlugin > cls, String field, Object defaultValue)
 get field More...
 
- 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...
 
- 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 38 of file GrxBaseView.java.

Constructor & Destructor Documentation

◆ GrxBaseView()

com.generalrobotix.ui.GrxBaseView.GrxBaseView ( String  name,
GrxPluginManager  manager_,
GrxBaseViewPart  vp,
Composite  parent 
)
inline

constructor

Parameters
namename
manager_plugin manager
vpview part
parentparent composite

Definition at line 57 of file GrxBaseView.java.

Member Function Documentation

◆ cleanup()

boolean com.generalrobotix.ui.GrxBaseView.cleanup ( List< GrxBaseItem itemList)
inline

cleanup

Parameters
itemList
Returns
true if cleanup finished, false otherwise

Definition at line 121 of file GrxBaseView.java.

◆ focusedItemChanged()

void com.generalrobotix.ui.GrxBaseView.focusedItemChanged ( GrxBaseItem  item)
inline

Definition at line 129 of file GrxBaseView.java.

◆ getComposite()

Composite com.generalrobotix.ui.GrxBaseView.getComposite ( )
inline

get composite. SWTのパーツはここで取得できるコンポジット上に設置する。

Returns
composite

Definition at line 98 of file GrxBaseView.java.

◆ getDefaultButtonSize()

static Dimension com.generalrobotix.ui.GrxBaseView.getDefaultButtonSize ( )
inlinestatic

get default button size

Returns
default button size

Definition at line 113 of file GrxBaseView.java.

◆ getParent()

Composite com.generalrobotix.ui.GrxBaseView.getParent ( )
inline

get parent composite

Returns
parent composite

Definition at line 90 of file GrxBaseView.java.

◆ getViewPart()

GrxBaseViewPart com.generalrobotix.ui.GrxBaseView.getViewPart ( )
inline

get view part

Returns
view part

Definition at line 82 of file GrxBaseView.java.

◆ itemListChanged()

void com.generalrobotix.ui.GrxBaseView.itemListChanged ( )
inline

this method is called by PluginManager when list of items is changed

Definition at line 126 of file GrxBaseView.java.

◆ propertyChanged()

void com.generalrobotix.ui.GrxBaseView.propertyChanged ( )
inline

This method is called when a property of plugin is changed.

Definition at line 135 of file GrxBaseView.java.

◆ registerItemChange()

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

Implements com.generalrobotix.ui.GrxItemChangeListener.

Definition at line 138 of file GrxBaseView.java.

◆ restoreProperties()

void com.generalrobotix.ui.GrxBaseView.restoreProperties ( )
inline

Definition at line 153 of file GrxBaseView.java.

◆ setName()

void com.generalrobotix.ui.GrxBaseView.setName ( String  name)
inline

Definition at line 74 of file GrxBaseView.java.

◆ setScrollMinSize()

void com.generalrobotix.ui.GrxBaseView.setScrollMinSize ( int  width,
int  height 
)
inline

set scroll minimum size

Definition at line 105 of file GrxBaseView.java.

◆ setUp()

void com.generalrobotix.ui.GrxBaseView.setUp ( )
inline

Implements com.generalrobotix.ui.GrxItemChangeListener.

Definition at line 203 of file GrxBaseView.java.

◆ storeProperties()

Element com.generalrobotix.ui.GrxBaseView.storeProperties ( )
inline

Definition at line 167 of file GrxBaseView.java.

◆ update()

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

Implements com.generalrobotix.ui.GrxObserver.

Definition at line 141 of file GrxBaseView.java.

◆ updateEditerFont()

void com.generalrobotix.ui.GrxBaseView.updateEditerFont ( )
inline

Definition at line 150 of file GrxBaseView.java.

◆ updatePosition()

void com.generalrobotix.ui.GrxBaseView.updatePosition ( GrxBasePlugin  plugin,
Integer  pos 
)
inline

Implements com.generalrobotix.ui.GrxPositionObserver.

Definition at line 144 of file GrxBaseView.java.

◆ updateTableFont()

void com.generalrobotix.ui.GrxBaseView.updateTableFont ( )
inline

Definition at line 147 of file GrxBaseView.java.

Member Data Documentation

◆ composite_

Composite com.generalrobotix.ui.GrxBaseView.composite_
protected

Definition at line 48 of file GrxBaseView.java.

◆ defaultButtonSize_

Dimension com.generalrobotix.ui.GrxBaseView.defaultButtonSize_ = new Dimension(27, 27)
staticprivate

Definition at line 40 of file GrxBaseView.java.

◆ isScrollable_

boolean com.generalrobotix.ui.GrxBaseView.isScrollable_ = true

Definition at line 41 of file GrxBaseView.java.

◆ min

double com.generalrobotix.ui.GrxBaseView.min

Definition at line 43 of file GrxBaseView.java.

◆ parent_

Composite com.generalrobotix.ui.GrxBaseView.parent_
private

Definition at line 46 of file GrxBaseView.java.

◆ scrollComposite_

ScrolledComposite com.generalrobotix.ui.GrxBaseView.scrollComposite_
private

Definition at line 47 of file GrxBaseView.java.

◆ vp_

GrxBaseViewPart com.generalrobotix.ui.GrxBaseView.vp_
private

Definition at line 45 of file GrxBaseView.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:07