DataManager.getDataContext(Component)
instead@Deprecated public static class DataManagerImpl.MyDataContext extends java.lang.Object implements DataContext, UserDataHolder
EMPTY_CONTEXT
Constructor and Description |
---|
MyDataContext(java.awt.Component component)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
calcData(java.lang.String dataId,
java.awt.Component component)
Deprecated.
|
java.lang.Object |
getData(java.lang.String dataId)
Deprecated.
Returns the object corresponding to the specified data identifier.
|
<T> T |
getUserData(Key<T> key)
Deprecated.
|
<T> void |
putUserData(Key<T> key,
T value)
Deprecated.
Add a new user data value to this object.
|
void |
setEventCount(int eventCount)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getData
public void setEventCount(int eventCount)
public java.lang.Object getData(java.lang.String dataId)
DataContext
PlatformDataKeys
class.getData
in interface DataContext
dataId
- the data identifier for which the value is requested.protected java.lang.Object calcData(java.lang.String dataId, java.awt.Component component)
public java.lang.String toString()
toString
in class java.lang.Object
public <T> T getUserData(Key<T> key)
getUserData
in interface UserDataHolder
public <T> void putUserData(Key<T> key, T value)
UserDataHolder
putUserData
in interface UserDataHolder