Package net.helipilot50.stocktrade.displayproject.actions

Examples of net.helipilot50.stocktrade.displayproject.actions.PendingAction


     * rows is more than the passed value, the number of rows will be
     * set to the number of rows used. This method is thread-safe and may be
     * called on or off the GUI thread
     */
    public void setRows(final int pRows) {
        ActionMgr.addAction(new PendingAction(null) {
            @Override
            public String toString() {
                return GridField.this.getName() + ".setRows(" + pRows + ")";
            }
            @Override
View Full Code Here


     * columns is more than the passed value, the number of columns will be
     * set to the number of columns used. This method is thread-safe and may be
     * called on or off the GUI thread
     */
    public void setColumns(final int pColumns) {
        ActionMgr.addAction(new PendingAction(null) {
            @Override
            public String toString() {
                return GridField.this.getName() + ".setColumns(" + pColumns + ")";
            }
            @Override
View Full Code Here

        builder.append(trace[i].toString()).append("\n");
      }
      traceback = builder.toString();
     
      // Replace the trace with the real traceback if we can get it.
      PendingAction action = ActionMgr.getCurrentAction();
      if (action != null) {
        traceback = action.getTraceback();
      }
    }
View Full Code Here

     *         scrolling occurs if line is already in display area.
     * AF_MIDDLE  Scrolls line to middle outline field display line.
     * AF_TOP    Scrolls line to top outline field display line.
     */
    public void requestScroll(final int pLine, final int pScrollPolicy) {
        ActionMgr.addAction(new PendingAction(null) {
            @Override
            public String toString() {
                return "OutlineField.requestScroll(" + pLine + ", " + pScrollPolicy + ")";
            }
            @Override
View Full Code Here

     * interface of the outline field in Forte, but should not be needed -- the outline field should
     * automatically update itself. Hence, this method has been deprecated.
     * @deprecated this method should not be needed
     */
    public void refresh() {
      ActionMgr.addAction(new PendingAction(null) {
        @Override
        public void performAction() {
          redraw();
        }
      });
View Full Code Here

      }
    }
   
    public void setElementList(Array_Of_ListElement<ListElement> elements){
        final Array_Of_ListElement<ListElement> data = CloneHelper.clone(elements, false);
        ActionMgr.addAction(new PendingAction(null) {
            @Override
            public String toString() {
                return "MenuList.setElementList(" + data + ")";
            }
            @Override
View Full Code Here

     * AF_TOP    Scrolls line to top outline field display line.
     *
     * CraigM:16/05/2008 - Copied from OutlineField.
     */
    public void requestScroll(final int pLine, final int pScrollPolicy) {
        ActionMgr.addAction(new PendingAction(null) {
            @Override
            public String toString() {
                return "TreeViewWidget.requestScroll(" + pLine + ", " + pScrollPolicy + ")";
            }
            @Override
View Full Code Here

    public static void reloadLabelText(final JMenuItem comp, final MsgCatalog mcat, final int defaultSet) {
        if (comp == null || mcat == null) {
            return;
        }
        // TF:Mar 9, 2010:Changed this to process it on the EDT
        ActionMgr.addAction(new PendingAction(null) {
      @Override
      public void performAction() {
            Integer msgSet, msgNumber = null;
            msgSet = (Integer) comp.getClientProperty("qq_msgSet");
            msgNumber = (Integer) comp.getClientProperty("qq_msgNumber");
View Full Code Here

    public static void reloadLabelText(final JPopupMenu comp, final MsgCatalog mcat, final int defaultSet) {
        if (comp == null || mcat == null) {
            return;
        }
        // TF:Mar 9, 2010:Changed this to process it on the EDT
        ActionMgr.addAction(new PendingAction(null) {
      @Override
      public void performAction() {
            Integer msgSet, msgNumber = null;
            msgSet = (Integer) comp.getClientProperty("qq_msgSet");
            msgNumber = (Integer) comp.getClientProperty("qq_msgNumber");
View Full Code Here

        finally {
          // TF:Mar 9, 2010:Changed this to perform its actions on the EDT
          final int defSet = defaultSet;
          final JPanel theForm = form;
          final Field[] theFields = fields;
          ActionMgr.addAction(new PendingAction(null) {
            @Override
            public void performAction() {
                    JMenuBar jmb = (JMenuBar) win.getJMenuBar();
                    if (jmb != null) {
                        MenuElement[] kids = jmb.getSubElements();
View Full Code Here

TOP

Related Classes of net.helipilot50.stocktrade.displayproject.actions.PendingAction

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.