Examples of revalidate()


Examples of org.xlightweb.client.HttpCache.CacheEntry.revalidate()

                                exchange.sendError(ioe);
                            }
                           
                        };

                        ce.revalidate(validationHdl);
                    }
                 
                // no, return cached response
                } else {
                    countCacheHit++;
View Full Code Here

Examples of plotter.xy.XYPlot.revalidate()

    if (!slopeDisplay.getText().isEmpty() && locationDisplay.getPreferredSize().width + slopeDisplay.getPreferredSize().width > contentWidth) {
      locationDisplay.setPreferredSize(new Dimension (1,locationDisplay.getPreferredSize().height));
    }
   
    /* Finally, request that these new preferred sizes get enforced */
    plot.revalidate();   
  }

  /**
   * Prevent JLabels from shrinking when empty, but size freely when filled
   * (originally from PlotDataCursor)
View Full Code Here

Examples of plotter.xy.XYPlotContents.revalidate()

      if (timeAxis instanceof XYAxis) { // Only decorate time-like axes; TODO: move to AbstractAxis?
        timeSyncLinePlot = new XYMarkerLine((XYAxis) timeAxis, time.getTimeInMillis());
        timeSyncLinePlot.setForeground(PlotConstants.TIME_SYNC_LINE_COLOR);
        XYPlotContents contents = plot.getPlotView().getContents();
        contents.add(timeSyncLinePlot);
        contents.revalidate();
      }
    } else {
      timeSyncLinePlot.setValue(time.getTimeInMillis());
    }
  }
View Full Code Here

Examples of syberiada.SyberiadaFrame.revalidate()

                        gra.setBounds(sMenu.getBounds());
                        gra.init(0);
                        gra.setAlpha(0);
                        sPanel.add(gra);
                        sPanel.setComponentZOrder(gra, 0);
                        sFrame.revalidate();
                        sFrame.repaint();
                        gra.appear(1f, 100, 200); //1000, 200
//                        SyberiadaMenu.deleteSyberiadaMenu();
                    }
                });
View Full Code Here

Examples of voxo.client.views.components.CustomChatWindow.revalidate()

      chatWindow.setVisible(true);
      chatWindow.setTitle("new message from " + p.getUsername());
    }
   
    //refresh the look
    chatWindow.revalidate();
  }

  public void setDefaultLook() {

    this.textColor = Color.RED;
View Full Code Here

Examples of xgenerator.ui.swing.MetadataTable.revalidate()

    int selectedRow = metadataTable.getSelectedRow();
   
    Object comments = metadataTableModel.getValueAt(selectedRow, MetadataTableModel.COMMENTS_INDEX);
   
    metadataTableModel.setValueAt(comments, selectedRow, MetadataTableModel.DISPLAY_NAME_INDEX);
    metadataTable.revalidate();
    metadataTable.updateUI();
  }
 
  /**
   * <p>
 
View Full Code Here

Examples of xgenerator.ui.swing.MetadataTable.revalidate()

    for (int i = 0; i < metadataTableModel.getRowCount(); i++) {
      Object comments = metadataTableModel.getValueAt(i, MetadataTableModel.COMMENTS_INDEX);
      metadataTableModel.setValueAt(comments, i, MetadataTableModel.DISPLAY_NAME_INDEX);
    }

    metadataTable.revalidate();
    metadataTable.updateUI();
  }
 
  /**
   * <p>
 
View Full Code Here

Examples of xgenerator.ui.swing.MetadataTable.revalidate()

     
      int rowAbove = selectedRow;
      //metadataTableModel.insertRow(rowAbove, metadataTableModel.mapRowData(tableColumnMetadataBean));
      //metadataTableModel.insertRowEditable(rowAbove);
      metadataTableModel.insertNewRow(rowAbove);
      metadataTable.revalidate();
      metadataTable.updateUI();
    } catch (Exception ex) {
      ex.printStackTrace();
      JOptionPane.showMessageDialog(ui, "插入行失败!");
    }
View Full Code Here

Examples of xgenerator.ui.swing.MetadataTable.revalidate()

     
      int rowBelow = selectedRow + 1;
      //metadataTableModel.insertRow(rowBelowIndex, metadataTableModel.mapRowData(tableColumnMetadataBean));
      //metadataTableModel.insertRowEditable(rowBelowIndex);
      metadataTableModel.insertNewRow(rowBelow);
      metadataTable.revalidate();
      metadataTable.updateUI();
    } catch (Exception ex) {
      ex.printStackTrace();
      JOptionPane.showMessageDialog(ui, "插入行失败!");
    }
View Full Code Here

Examples of xgenerator.ui.swing.MetadataTable.revalidate()

      int lastRow = metadataTable.getRowCount();
      //metadataTableModel.insertRow(lastRowIndex, metadataTableModel.mapRow(tableColumnMetadataBean));
      //metadataTableModel.addRow(metadataTableModel.mapRowData(tableColumnMetadataBean));
      //metadataTableModel.insertRowEditable(lastRowIndex);
      metadataTableModel.insertNewRow(lastRow);
      metadataTable.revalidate();
      metadataTable.updateUI();
    } catch (Exception ex) {
      ex.printStackTrace();
      JOptionPane.showMessageDialog(ui, "插入行失败!");
    }
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.