Package com.poker.ui.settings.rooms.events

Examples of com.poker.ui.settings.rooms.events.Event


  }
 
    public void addMainEvents() {

      // redesign
        Event event;
        EventCondition eventCondition;

        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(ptMainErr1, colorSERRFrom, colorSERRTo, true));
        eventCondition.addPointCondition(new PointCondition(ptMainErr2, colorSERRFrom, colorSERRTo, true));

        event = new Event();
        event.setEventType(EventType.ET_SYSTEM_MN_ERROR_OPEN_WINDOW);
        event.setEventCondition(eventCondition);
        this.mainEvents.add(event);
    }
View Full Code Here


    }
    public void addEvents() {

      // redesign
     
        Event event;
        EventCondition eventCondition;

        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(435, 284),
                getRoomSystemColorFrom(), getRoomSystemColorTo(), true));
               
        eventCondition.addPointCondition(new PointCondition(new Point(175, 294),
            colorSysButtonFrom, colorSysButtonTo, true));

       
        event = new Event();
        event.setEventType(EventType.ET_SYSTEM_MESSAGE);
        event.setEventCondition(eventCondition);
        this.events.add(event);

        /*==============================================*/
               
        // redesign
        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(435, 284),
                getRoomSystemColorFrom(), getRoomSystemColorTo(), true));
        eventCondition.addPointCondition(new PointCondition(new Point(175, 273),
            colorSysButtonFrom, colorSysButtonTo, true));
       
        event = new Event();
        event.setEventType(EventType.ET_SYSTEM_MESSAGE_2);
        event.setEventCondition(eventCondition);
        this.events.add(event);

        /*==============================================*/
       
/*
        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(262, 334), new Color(29, 46,
                28), new Color(36, 52, 36), true));
        event = new Event();
        event.setEventType(EventType.ET_WAIT_ACTION);
        event.setEventCondition(eventCondition);
        // events.add(event);
*/
        /*==============================================*/
     // redesign
        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(267, 325),
            colorActionButtonFrom, colorActionButtonTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 324),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 333),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 342),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(421, 325),
            colorActionButtonFrom, colorActionButtonTo, true));
       
        event = new Event();
        event.setEventType(EventType.ET_NEED_WAIT_BB);
        event.setEventCondition(eventCondition);
        events.add(event);
       
        /*==============================================*/
        // redesign
        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(267, 325),
            colorActionButtonFrom, colorActionButtonTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 324),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 333),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 342),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(421, 324),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(421, 323),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(421, 342),
            ColorBackgFrom, ColorBackgTo, true));
       
        event = new Event();
        event.setEventType(EventType.ET_SET_BB);
        event.setEventCondition(eventCondition);
        events.add(event);

        /*==============================================*/
        // redesign
        eventCondition = new EventCondition();
       
        eventCondition.addPointCondition(new PointCondition(new Point(267, 325),
            colorActionButtonFrom, colorActionButtonTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(328, 325),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(411, 325),
            colorActionButtonFrom, colorActionButtonTo, true));

        event = new Event();
        event.setEventType(EventType.ET_ACTION_FOLD_ANY_RAISE);
        event.setEventCondition(eventCondition);

        this.events.add(event);       
        /*==============================================*/
        // redesign
        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(267, 325),
            colorActionButtonFrom, colorActionButtonTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(328, 325),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(411, 325),
            ColorBackgFrom, ColorBackgTo, true));
        event = new Event();
        event.setEventType(EventType.ET_ACTION_FOLD_CALL);
        event.setEventCondition(eventCondition);

        this.events.add(event);
    }
View Full Code Here

 
  }
 
    public void addMainEvents() {

        Event event;
        EventCondition eventCondition;

        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(ptMainErr1, colorSERRFrom, colorSERRTo, true));
        eventCondition.addPointCondition(new PointCondition(ptMainErr2, colorSERRFrom, colorSERRTo, true));

        event = new Event();
        event.setEventType(EventType.ET_SYSTEM_MN_ERROR_OPEN_WINDOW);
        event.setEventCondition(eventCondition);
        this.mainEvents.add(event);
    }
View Full Code Here

        event.setEventCondition(eventCondition);
        this.mainEvents.add(event);
    }
    public void addEvents() {

        Event event;
        EventCondition eventCondition;

        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(440, 284),
                getRoomSystemColorFrom(), getRoomSystemColorTo(), true));
               
        eventCondition.addPointCondition(new PointCondition(new Point(175, 294),
            colorSysButtonFrom, colorSysButtonTo, true));

       
        event = new Event();
        event.setEventType(EventType.ET_SYSTEM_MESSAGE);
        event.setEventCondition(eventCondition);
        this.events.add(event);

        /*==============================================*/
               

        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(440, 284),
                getRoomSystemColorFrom(), getRoomSystemColorTo(), true));
        eventCondition.addPointCondition(new PointCondition(new Point(175, 273),
            colorSysButtonFrom, colorSysButtonTo, true));
       
        event = new Event();
        event.setEventType(EventType.ET_SYSTEM_MESSAGE_2);
        event.setEventCondition(eventCondition);
        this.events.add(event);

        /*==============================================*/
       
/*
        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(262, 334), new Color(29, 46,
                28), new Color(36, 52, 36), true));
        event = new Event();
        event.setEventType(EventType.ET_WAIT_ACTION);
        event.setEventCondition(eventCondition);
        // events.add(event);
*/
        /*==============================================*/
        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(267, 325),
            new Color(72, 122, 72), new Color(92, 142, 92), true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 324),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 333),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 342),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(421, 325),
            colorActionButtonFrom, colorActionButtonTo, true));
       
        event = new Event();
        event.setEventType(EventType.ET_NEED_WAIT_BB);
        event.setEventCondition(eventCondition);
        events.add(event);
       
        /*==============================================*/
        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(267, 325),
            colorActionButtonFrom, colorActionButtonTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 324),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 333),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(350, 342),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(421, 324),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(421, 323),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(421, 342),
            ColorBackgFrom, ColorBackgTo, true));
       
        event = new Event();
        event.setEventType(EventType.ET_SET_BB);
        event.setEventCondition(eventCondition);
        events.add(event);

        /*==============================================*/
        eventCondition = new EventCondition();

        eventCondition.addPointCondition(new PointCondition(new Point(267, 325),
            colorActionButtonFrom, colorActionButtonTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(328, 325),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(411, 325),
            colorActionButtonFrom, colorActionButtonTo, true));

        event = new Event();
        event.setEventType(EventType.ET_ACTION_FOLD_ANY_RAISE);
        event.setEventCondition(eventCondition);

        this.events.add(event);
        /*==============================================*/
        eventCondition = new EventCondition();
        eventCondition.addPointCondition(new PointCondition(new Point(267, 325),
            colorActionButtonFrom, colorActionButtonTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(328, 325),
            ColorBackgFrom, ColorBackgTo, true));
        eventCondition.addPointCondition(new PointCondition(new Point(411, 325),
            ColorBackgFrom, ColorBackgTo, true));
        event = new Event();
        event.setEventType(EventType.ET_ACTION_FOLD_CALL);
        event.setEventCondition(eventCondition);

        this.events.add(event);
    }
View Full Code Here

TOP

Related Classes of com.poker.ui.settings.rooms.events.Event

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.