コード例 #1
0
 @Override
 public void onCheckIn() {
   super.onCheckIn();
   AdviserManager.getInstance().removeAdviser(this.m_watcherContainerAdviser);
   this.m_align = null;
   this.m_target = null;
   this.m_watcherContainerAdviser = null;
   MasterRootContainer.getInstance().removeEventListener(Events.RESIZED, this, false);
 }
コード例 #2
0
 @Override
 public void onCheckOut() {
   super.onCheckOut();
   this.setVisible(true);
   this.m_useTargetPositionning = true;
   this.m_align = Alignment9.NORTH;
   this.m_watcherContainerAdviser = new WatcherContainerAdviser();
   MasterRootContainer.getInstance().addEventListener(Events.RESIZED, this, false);
 }
コード例 #3
0
 protected final int getHalfDisplayHeight() {
   return MasterRootContainer.getInstance().getHeight() / 2;
 }