コード例 #1
0
ファイル: CutPanelView.java プロジェクト: OceanAtlas/JOA
 /**
  * Pushes ChangeableInfo through to the ChangeableInfoManager for dissemination to all interested
  * objects; this method provides a bridge to the ChangeableInfoManager for lower level objects
  * scattered throughout the bean that lack access to the ChangeableInfoManager object.
  *
  * @param id string identifier describing information that's changing. This identifier will be
  *     used as a tag by other objects interested in this type of change. For instance,
  *     "LongitudeStart" says the start longitude has changed.
  * @param oldValue object containing old value, if available
  * @param newValue object containing new value
  * @param undoable boolean flag indicating whether this change should be kept by the back/forward
  *     manager for "undoing"
  */
 public void pushChangeableInfo(String id, Object oldValue, Object newValue, boolean undoable) {
   cim.pushChangeableInfo(new ChangeableInfo(id, oldValue, newValue, undoable));
 }
コード例 #2
0
ファイル: CutPanelView.java プロジェクト: OceanAtlas/JOA
 /**
  * Adds a changeableInfoListener object to the ChangeableInfoManager's listener list; this method
  * provides a bridge to the ChangeableInfoManager for lower level objects scattered throughout the
  * bean that lack access to the ChangeableInfoManager object.
  *
  * @param obj object interested in listening for ChangeableInfo
  */
 public void addChangeableInfoListener(ChangeableInfoListener obj) {
   cim.addChangeableInfoListener(obj);
 }
コード例 #3
0
ファイル: CutPanelView.java プロジェクト: OceanAtlas/JOA
 public void pushChangeableInfo(ChangeableInfo ci) {
   cim.pushChangeableInfo(ci);
 }