com.kuka.parameters.user.internal
Class UserParameter<T>

java.lang.Object
  extended by com.kuka.parameters.user.internal.UserParameter<T>
Type Parameters:
T - The concrete type of the class that implements this IUserParameter.
All Implemented Interfaces:
IUserParameter<T>

public class UserParameter<T>
extends Object
implements IUserParameter<T>

Represents the user parameters for a geometric object that may be part of the scene graph.


Method Summary
 String getDisplayName()
          Returns the display name corresponding to this user parameter.
 String getKey()
          Returns the key corresponding to this user parameter.
 T getValue()
          Returns the value corresponding to this user parameter.
 Class<T> getValueType()
          Returns a Class object that identifies the declared type for the value corresponding to this user parameter - the type of generic type parameter T.
 void setDisplayName(String displayName)
          Sets the display name corresponding to this user parameter.
 void setValue(T value)
          Sets the value corresponding to this user parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKey

public String getKey()
Returns the key corresponding to this user parameter.

Specified by:
getKey in interface IUserParameter<T>
Returns:
The key corresponding to this user parameter.

getValue

public T getValue()
Returns the value corresponding to this user parameter.

Specified by:
getValue in interface IUserParameter<T>
Returns:
The value corresponding to this user parameter.

getDisplayName

public String getDisplayName()
Returns the display name corresponding to this user parameter.

Specified by:
getDisplayName in interface IUserParameter<T>
Returns:
The display name corresponding to this user parameter.

getValueType

public Class<T> getValueType()
Returns a Class object that identifies the declared type for the value corresponding to this user parameter - the type of generic type parameter T.

Specified by:
getValueType in interface IUserParameter<T>
Returns:
A Class object that identifies the declared type for the value corresponding to this user parameter.

setDisplayName

public void setDisplayName(String displayName)
Sets the display name corresponding to this user parameter.

Specified by:
setDisplayName in interface IUserParameter<T>
Parameters:
displayName - The display name property of this user parameter, allowed object is String.

setValue

public void setValue(T value)
Sets the value corresponding to this user parameter.

Specified by:
setValue in interface IUserParameter<T>
Parameters:
value - The value corresponding to this user parameter. The type of the value is restricted to the generic template parameter.


Copyright © 2019. All rights reserved.