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 }
#define null
our own NULL pointer
Definition: IceTypes.h:57
png_infop png_charpp name
Definition: png.h:2382
GrxGraphItem(String name, GrxPluginManager manager)
プラグイン管理クラス GrxUIの核になるクラス。プラグインのロード等の、初期化を実行する。 プラグインとそ...


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:38