Package net.alteiar.campaign.player.gui.centerViews.map.tools.actions.filter

Examples of net.alteiar.campaign.player.gui.centerViews.map.tools.actions.filter.ShowHideAreaAction$ShowHideListener


        // depend on filter
        MapFilter filter = CampaignClient.getInstance().getBean(
            getMapInfo().getMap().getFilter());
        if (filter instanceof ManualMapFilter) {
          popup.add(new JMenuItem(new ShowHideAreaAction(
              getMapInfo(), true)));
          popup.add(new JMenuItem(new ShowHideAreaAction(
              getMapInfo(), false)));
        }
      }

      popup.show(event.getMouseEvent().getComponent(), event
View Full Code Here


    }
  }

  private void initManualFilter() {

    JButton showMap = new JButton(new ShowHideAreaAction(mapInfo, true));
    this.add(showMap);

    JButton hideMap = new JButton(new ShowHideAreaAction(mapInfo, false));
    this.add(hideMap);

    JButton showAll = new JButton(new ShowHideAllAction(mapInfo, true));
    this.add(showAll);
View Full Code Here

TOP

Related Classes of net.alteiar.campaign.player.gui.centerViews.map.tools.actions.filter.ShowHideAreaAction$ShowHideListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.