Package DisplayProject

Examples of DisplayProject.BodyGridCell


     * @param pAction the action to add
     */
    public static void addAction(PendingAction pAction) {
      // Tricky stuff -- if the top level object is associated with a body grid cell, this is a pending
      // action for a JTable component, not a standard pending action
      BodyGridCell cell = BodyGridCell.getAssociatedCell(pAction.getComponent());
      if (cell != null) {
        cell.add(pAction);
        // TF:29/9/07: We might be doing something like setting the background colour on a click. Hence we
        // need to invalidate the cell and force it to be re-painted.
        cell.getBodyGrid().getTable().repaint();
      }
      else {
        if (SwingUtilities.isEventDispatchThread()) {
          pAction.performAction();
        }
View Full Code Here


     * @param pAction the action to add
     */
    public static void addAction(PendingAction pAction) {
      // Tricky stuff -- if the top level object is associated with a body grid cell, this is a pending
      // action for a JTable component, not a standard pending action
      BodyGridCell cell = BodyGridCell.getAssociatedCell(pAction.getComponent());
      if (cell != null) {
        cell.add(pAction);
        // TF:29/9/07: We might be doing something like setting the background colour on a click. Hence we
        // need to invalidate the cell and force it to be re-painted.
        cell.getBodyGrid().getTable().repaint();
      }
      else {
        if (SwingUtilities.isEventDispatchThread()) {
          pAction.performAction();
        }
View Full Code Here

TOP

Related Classes of DisplayProject.BodyGridCell

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.