Examples of PendingAction


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

     * return the weight of the row in the grid field. This method is thread-safe.
     * @param row
     * @return
     */
    public int getRowJustifyWeight(int row) {
        PendingAction action = ActionMgr.getAction(new RowJustifyWeightFilter(row));
        if (action != null) {
            return ((RowJustifyWeight)action).weight;
        }
        Integer val = layout.rowWeights.get(row);
        return (val == null) ? 0 : val.intValue();
View Full Code Here

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

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

     * 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

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

        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

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

     *         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

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

     * 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

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

      }
    }
   
    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

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

     * 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

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

    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

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

    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
TOP
Copyright © 2018 www.massapi.com. 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.