|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
public class SharableImpl
| Constructor Summary | |
|---|---|
SharableImpl()
_more_ |
|
SharableImpl(boolean sharing)
_more_ |
|
SharableImpl(Object group,
boolean sharing)
_more_ |
|
| Method Summary | |
|---|---|
void |
applySharableProperties()
_more_ |
void |
doShare(Object dataId,
Object data)
Share the data identified by dataId with both internal and external objects. |
void |
doShare(Object dataId,
Object[] data)
Share the data identified by dataId with both internal and external objects. |
void |
doShareExternal(Object dataId,
Object data)
Share the data identified by dataId with only external (to the jvm) objects. |
void |
doShareInternal(Object dataId,
Object data)
Share the data identified by dataId with only internal (to the jvm) objects. |
Long |
getReceiveShareTime(Object dataId)
Get the last time this object rcvd the share |
JComponent |
getSharablePropertiesComponent()
_more_ |
Object |
getShareGroup()
_more_ |
boolean |
getSharing()
_more_ |
String |
getUniqueId()
_more_ |
protected void |
initSharable()
Initialize this sharable. |
void |
receiveShareData(Sharable from,
Object dataId,
Object[] data)
_more_ |
void |
removeSharable()
_more_ |
void |
setReceiveShareTime(Object dataId,
Long time)
Record the time when this object rcvd the share |
void |
setShareGroup(Object shareGroup)
_more_ |
void |
setSharing(boolean sharing)
_more_ |
void |
setUniqueId(String id)
_more_ |
void |
showSharableDialog()
_more_ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SharableImpl()
public SharableImpl(boolean sharing)
sharing -
public SharableImpl(Object group,
boolean sharing)
group - sharing - | Method Detail |
|---|
public void showSharableDialog()
public JComponent getSharablePropertiesComponent()
public void applySharableProperties()
protected void initSharable()
public boolean getSharing()
getSharing in interface Sharablepublic void setSharing(boolean sharing)
sharing - public Object getShareGroup()
getShareGroup in interface Sharablepublic void removeSharable()
public void setShareGroup(Object shareGroup)
shareGroup -
public void receiveShareData(Sharable from,
Object dataId,
Object[] data)
receiveShareData in interface Sharablefrom - dataId - data - public Long getReceiveShareTime(Object dataId)
getReceiveShareTime in interface SharabledataId - data id
public void setReceiveShareTime(Object dataId,
Long time)
setReceiveShareTime in interface SharabledataId - data idtime - time
public void doShare(Object dataId,
Object[] data)
dataId - Identifies the attribute that is being shareddata - The array of data that is being shared
public void doShare(Object dataId,
Object data)
dataId - Identifies the attribute that is being shareddata - The data that is being shared
public void doShareExternal(Object dataId,
Object data)
dataId - Identifies the attribute that is being shareddata - The data that is being shared
public void doShareInternal(Object dataId,
Object data)
dataId - data - public String getUniqueId()
getUniqueId in interface Sharablepublic void setUniqueId(String id)
id -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||