Package net.helipilot50.stocktrade.framework

Examples of net.helipilot50.stocktrade.framework.EventRegistration


              cachedRowSet.updateBigDecimal(pColOrdinal, value.getBigDecimal());
            } else if (pValue instanceof BooleanData) {
              BooleanData value = (BooleanData) pValue;
              cachedRowSet.updateBoolean(pColOrdinal, value.getBooleanValue());
            } else if (pValue instanceof DateTimeData) {
              DateTimeData value = (DateTimeData) pValue;
              cachedRowSet.updateDate(pColOrdinal, new Date(value.asDate().getTime()));
            } else if (pValue instanceof BinaryData) {
              BinaryData value = (BinaryData) pValue;
              cachedRowSet.updateBinaryStream(pColOrdinal, new ByteArrayInputStream(value.getValue()), value.getActualSize());
            }
          } catch (SQLException e) {
            UsageException errorVar = new UsageException(e.getMessage(), net.helipilot50.stocktrade.framework.Constants.SP_ER_USER, net.helipilot50.stocktrade.framework.Constants.SP_ER_PARAMETERERROR, e);
            ErrorMgr.addError(errorVar);
            throw errorVar;
View Full Code Here


              cachedRowSet.updateInt(pColOrdinal, integerValue.getIntegerValue());
            } else if (pValue instanceof DoubleData) {
              DoubleData doubleValue = (DoubleData) pValue;
              cachedRowSet.updateDouble(pColOrdinal, doubleValue.getDoubleValue());
            } else if (pValue instanceof DecimalData) {
              DecimalData value = (DecimalData) pValue;
              cachedRowSet.updateBigDecimal(pColOrdinal, value.getBigDecimal());
            } else if (pValue instanceof BooleanData) {
              BooleanData value = (BooleanData) pValue;
              cachedRowSet.updateBoolean(pColOrdinal, value.getBooleanValue());
            } else if (pValue instanceof DateTimeData) {
              DateTimeData value = (DateTimeData) pValue;
              cachedRowSet.updateDate(pColOrdinal, new Date(value.asDate().getTime()));
            } else if (pValue instanceof BinaryData) {
              BinaryData value = (BinaryData) pValue;
              cachedRowSet.updateBinaryStream(pColOrdinal, new ByteArrayInputStream(value.getValue()), value.getActualSize());
            }
          } catch (SQLException e) {
            UsageException errorVar = new UsageException(e.getMessage(), net.helipilot50.stocktrade.framework.Constants.SP_ER_USER, net.helipilot50.stocktrade.framework.Constants.SP_ER_PARAMETERERROR, e);
            ErrorMgr.addError(errorVar);
            throw errorVar;
View Full Code Here

              cachedRowSet.updateString(pColOrdinal, textValue.toString());
            } else if (pValue instanceof IntegerData) {
              IntegerData integerValue = (IntegerData) pValue;
              cachedRowSet.updateInt(pColOrdinal, integerValue.getIntegerValue());
            } else if (pValue instanceof DoubleData) {
              DoubleData doubleValue = (DoubleData) pValue;
              cachedRowSet.updateDouble(pColOrdinal, doubleValue.getDoubleValue());
            } else if (pValue instanceof DecimalData) {
              DecimalData value = (DecimalData) pValue;
              cachedRowSet.updateBigDecimal(pColOrdinal, value.getBigDecimal());
            } else if (pValue instanceof BooleanData) {
              BooleanData value = (BooleanData) pValue;
View Full Code Here

            DataValue theAttribute = null;
            if (attribute.getValue() instanceof java.lang.Integer) {
                theAttribute = new IntegerData((Integer)attribute.getValue());
            }
            if (attribute.getValue() instanceof java.lang.Double) {
                theAttribute = new DoubleData((Double)attribute.getValue());
            }
            if (attribute.getValue() instanceof java.lang.String) {
                theAttribute = new TextData((String)attribute.getValue());
            }
            ((ConfigValueInst)instrument).updateData(theAttribute);
View Full Code Here

        qq_Params.put("row", new ParameterHolder(0));
        qq_Params.put("column", new ParameterHolder(0));
        if (e.getSource() instanceof JRadioButtonMenuItem) {
            ButtonGroup bg = ((DefaultButtonModel) ((JRadioButtonMenuItem) e
                    .getSource()).getModel()).getGroup();
            eventsToPost.add(new EventHandle(bg, "Activate", qq_Params));
        } else {
            Component me = (Component) e.getSource();

            //System.out.println("Activate on ["+ me.toString() + "]");
            eventsToPost.add(new EventHandle(me, "Activate", qq_Params));
            // TF:13/11/07:Commented this out as there is now a childActivateListener to take care of this
            //ChildEventHelper.postEventToAllParents(me, "ChildActivate", null, eventsToPost);
        }
        /*
         * toData() must be called to update the mapped data object.
View Full Code Here

    public void toData() {

    }

    private void afterValueChange(Component me, List<EventHandle> eventsToPost) {
        eventsToPost.add(new EventHandle(me, "AfterValueChange"));
        ChildEventHelper.postEventToAllParents(me, "ChildAfterValueChange", null, eventsToPost);
    }
View Full Code Here

                      JButton defaultBtn = FillInField.this.getRootPane().getDefaultButton();
                     
                      if (defaultBtn != null) {
                        FocusHelper.buttonClick(
                            defaultBtn,
                            new EventHandle(defaultBtn, "Click", ClickListener.makeParamList(e)));
                      }
                    }
                }
            });
        }
View Full Code Here

     * <p>
     * @return EventRegistration
     */
        public EventRegistration dateCellHandler()
        {
            EventRegistration qq_resultRegistration = new EventRegistration();

            // ----------
            // <F1>.Click
            // ----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F1(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F1") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F1().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F1().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F1().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // ----------
            // <F2>.Click
            // ----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F2(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F2") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F2().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F2().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F2().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // ----------
            // <F3>.Click
            // ----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F3(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F3") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F3().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F3().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F3().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // ----------
            // <F4>.Click
            // ----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F4(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F4") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F4().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F4().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F4().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // ----------
            // <F5>.Click
            // ----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F5(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F5") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F5().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F5().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F5().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // ----------
            // <F6>.Click
            // ----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F6(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F6") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F6().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F6().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F6().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // ----------
            // <F7>.Click
            // ----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F7(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F7") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F7().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // ----------
            // <F8>.Click
            // ----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F8(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F8") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F8().getText());
                                highlightDay();
                                //highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // ----------
            // <F9>.Click
            // ----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F9(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F9") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F9().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F10>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F10(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F10") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F10().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F11>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F11(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F11") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F11().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F12>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F12(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F12") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F12().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F13>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F13(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F13") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F13().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F14>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F14(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F14") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F14().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F15>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F15(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F15") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F15().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F16>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F16(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F16") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F16().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F17>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F17(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F17") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F17().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F18>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F18(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F18") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F18().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F19>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F19(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F19") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F19().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F20>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F20(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F20") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F20().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F21>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F21(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F21") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F21().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F22>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F22(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F22") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F22().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F23>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F23(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F23") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F23().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F24>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F24(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F24") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F24().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F25>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F25(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F25") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F25().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F26>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F26(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F26") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F26().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F27>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F27(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F27") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F27().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F28>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F28(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F28") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================
                                CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F28().getText());
                                highlightDay();
                                qq_HandlerResult = false;
                                break qq_Block;
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F29>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F29(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F29") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F29().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F29().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F29().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F30>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F30(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F30") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F30().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F30().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F30().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F31>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F31(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F31") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F31().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F31().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F31().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F32>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F32(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F32") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F32().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F32().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F32().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F33>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F33(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F33") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F33().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F33().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F33().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F34>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F34(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F34") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F34().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F34().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F34().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F35>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F35(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F35") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F35().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F35().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F35().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F36>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F36(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F36") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
                            qq_Block: try {
                                UIutils.startWaitCursor();
                                // ================ Begin Forte Event Handler Translation ================

                                if (CalendarWindow.this.getqq_F36().getText().equals("")) { //$NON-NLS-1$
                                    CalendarWindow.this.getqq_F36().setOpaque(false);

                                }
                                else {
                                    CalendarWindow.this.setCurrentDay(CalendarWindow.this.getqq_F36().getText());
                                    highlightDay();
                                    qq_HandlerResult = false;
                                    break qq_Block;
                                }
                                // ================= End Forte Event Handler Translation =================
                            }
                            finally {
                                UIutils.stopWaitCursor();
                            }
                            return qq_HandlerResult;
                        }
                    }) );


            // -----------
            // <F37>.Click
            // -----------
            qq_resultRegistration.addRegistration( EventManager.register(
                    this.getqq_F37(), "Click", //$NON-NLS-1$
                    new EventRegistrationCallback("TextGraphic_Click_getqq_F37") //$NON-NLS-1$
                    {
                        public boolean handleEvent(EventHandle qq_currentEvent) {
                            boolean qq_HandlerResult = true;
View Full Code Here

            // ----------
            // Event Loop
            // ----------
            EventManager.startEventLoop();
            try {
                EventRegistration TaskHandle_Shutdown_task = EventManager.register( this, "Shutdown" ); //$NON-NLS-1$
                EventRegistration TextGraphic_AfterValueChange_getqq_MonthYear = EventManager.register( this.getqq_MonthYear(), "AfterValueChange" ); //$NON-NLS-1$
                EventRegistration PictureButton_Click_getqq_LeftArrow = EventManager.register( this.getqq_LeftArrow(), "Click" ); //$NON-NLS-1$
                EventRegistration PictureButton_Click_getqq_RightArrow = EventManager.register( this.getqq_RightArrow(), "Click" ); //$NON-NLS-1$
                EventRegistration PictureButton_Click_getqq_LeftArrow2 = EventManager.register( this.getqq_LeftArrow2(), "Click" ); //$NON-NLS-1$
                EventRegistration PictureButton_Click_getqq_RightArrow2 = EventManager.register( this.getqq_RightArrow2(), "Click" ); //$NON-NLS-1$
                EventRegistration Window_FunctionKeyPress_this = ClientEventManager.register( this, "FunctionKeyPress" );
                EventRegistration PushButton_Click_getqq_CancelDate = ClientEventManager.register( this.getqq_CancelDate(), "Click" );
                this.dateCellHandler();

                while (true) {

                    UIutils.processGUIActions();
View Full Code Here

        // ----------
        // Event Loop
        // ----------
        EventManager.startEventLoop();
        try {
            EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );
            EventRegistration PushButton_Click_getqq_SubmitBtn = ClientEventManager.register( this.getqq_SubmitBtn(), "Click" );
            EventRegistration PushButton_Click_getqq_CancelBtn = ClientEventManager.register( this.getqq_CancelBtn(), "Click" );

            while (true) {

                UIutils.processGUIActions();
                EventHandle qq_currentEvent = EventManager.waitForEvent();
View Full Code Here

TOP

Related Classes of net.helipilot50.stocktrade.framework.EventRegistration

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.