GrxGraphItem.java
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008, AIST, the University of Tokyo and General Robotix Inc.
3  * All rights reserved. This program is made available under the terms of the
4  * Eclipse Public License v1.0 which accompanies this distribution, and is
5  * available at http://www.eclipse.org/legal/epl-v10.html
6  * Contributors:
7  * General Robotix Inc.
8  * National Institute of Advanced Industrial Science and Technology (AIST)
9  */
10 /*
11  * GrxGraphItem.java
12  *
13  * Copyright (C) 2007 GeneralRobotix, Inc.
14  * All Rights Reserved
15  *
16  * @author Yuichiro Kawasumi (General Robotix, Inc.)
17  */
18 
19 package com.generalrobotix.ui.item;
20 
23 
24 @SuppressWarnings("serial")
25 public class GrxGraphItem extends GrxBaseItem {
26  public static final String TITLE = "Graph Contents";
27 
28  public GrxGraphItem(String name, GrxPluginManager manager) {
29  super(name, manager);
30  setExclusive(true);
31  setIcon("graph.png");
32  }
33 
34  public boolean create() {
35  setDblAry("timeRange", new double[]{1.0, 0.8});
36  return true;
37  }
38 
39  public void restoreProperties() {
40  super.restoreProperties();
41  if(getDblAry("timeRange", null)==null)
42  setDblAry("timeRange", new double[]{1.0, 0.8});
43  }
44 }
com.generalrobotix.ui.item.GrxGraphItem.create
boolean create()
Definition: GrxGraphItem.java:34
com.generalrobotix.ui.item.GrxGraphItem
Definition: GrxGraphItem.java:25
com.generalrobotix.ui.item.GrxGraphItem.GrxGraphItem
GrxGraphItem(String name, GrxPluginManager manager)
Definition: GrxGraphItem.java:28
name
png_infop png_charpp name
Definition: png.h:2379
com.generalrobotix
com.generalrobotix.ui.GrxPluginManager
プラグイン管理クラス GrxUIの核になるクラス。プラグインのロード等の、初期化を実行する。 プラグインとそのアイテムのマップ(::pluginMap_)、プラグインとその情報のマップ(::pinfoM...
Definition: GrxPluginManager.java:79
com.generalrobotix.ui.item.GrxGraphItem.restoreProperties
void restoreProperties()
restore properties. Called by menu item "restore Properties"
Definition: GrxGraphItem.java:39
com.generalrobotix.ui.GrxBaseItem
Definition: GrxBaseItem.java:35
com
com.generalrobotix.ui


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:02