Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
GrxUIonEclipse-project-0.9.8
src
com
generalrobotix
ui
view
graph
SEInteger.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
*/
17
package
com.generalrobotix.ui.view.graph;
18
19
public
class
SEInteger
implements
StringExchangeable
{
20
Integer value_;
21
27
public
SEInteger
(
int
value
) {
28
value_ =
new
Integer(value);
29
};
30
31
public
SEInteger
(String
value
) {
32
fromString
(value);
33
}
34
40
public
String
toString
() {
41
return
value_.toString();
42
}
43
50
public
Object
fromString
(String str) {
51
value_ = Integer.decode(str);
52
return
(Object)value_;
53
}
54
60
public
void
setValue
(Object
value
) {
61
value_ = (Integer)value;
62
}
63
69
public
void
setValue
(String str) {
70
value_ = Integer.decode(str);
71
}
72
78
public
Object
getValue
() {
79
return
(Object)value_;
80
}
81
87
public
int
intValue
() {
88
return
value_.intValue();
89
}
90
};
com.generalrobotix.ui.view.graph.SEInteger.fromString
Object fromString(String str)
Definition:
SEInteger.java:50
com.generalrobotix.ui.view.graph.SEInteger.SEInteger
SEInteger(String value)
Definition:
SEInteger.java:31
value
png_voidp int value
Definition:
png.h:2113
com.generalrobotix.ui.view.graph.SEInteger.toString
String toString()
Definition:
SEInteger.java:40
com.generalrobotix.ui.view.graph.SEInteger.getValue
Object getValue()
Definition:
SEInteger.java:78
com.generalrobotix.ui.view.graph.SEInteger.SEInteger
SEInteger(int value)
Definition:
SEInteger.java:27
com.generalrobotix.ui.view.graph.SEInteger.intValue
int intValue()
Definition:
SEInteger.java:87
com.generalrobotix.ui.view.graph.StringExchangeable
Definition:
StringExchangeable.java:19
com.generalrobotix.ui.view.graph.SEInteger.setValue
void setValue(String str)
Definition:
SEInteger.java:69
com.generalrobotix.ui.view.graph.SEInteger.setValue
void setValue(Object value)
Definition:
SEInteger.java:60
com.generalrobotix.ui.view.graph.SEInteger
Definition:
SEInteger.java:19
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:41