bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void setModel(ListModel m) { ListModel old = model; if (old != null) old.removeListDataListener(listListener); model = m; if (model != null) model.addListDataListener(listListener); firePropertyChange(MODEL_PROPERTY_CHANGED, old, m); revalidate(); repaint(); }
public void setModel(ListModel m) { ListModel old = model; if (old != null) old.removeListDataListener(listListener); model = m; if (model != null) model.addListDataListener(listListener); firePropertyChange(MODEL_PROPERTY_CHANGED, old, m); revalidate(); repaint(); }
25,760
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_M...
public void setSelectionModel(ListSelectionModel model) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTI...
25,761
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_M...
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_M...
25,762
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_M...
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_M...
25,763
private InputStream createResponseBodyStream(Headers responseHeaders, int majorVersion, int minorVersion, InputStream in) throws IOException { long contentLength = -1; He...
private InputStream createResponseBodyStream(Headers responseHeaders, int majorVersion, int minorVersion, InputStream in, boolean mayHaveBody) throws IOException { long cont...
25,764
private InputStream createResponseBodyStream(Headers responseHeaders, int majorVersion, int minorVersion, InputStream in) throws IOException { long contentLength = -1; He...
private InputStream createResponseBodyStream(Headers responseHeaders, int majorVersion, int minorVersion, InputStream in) throws IOException { long contentLength = -1; He...
25,765
Response readResponse(InputStream in) throws IOException { String line; int len; // Read response status line LineInputStream lis = new LineInputStream(in); line = lis.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.start...
Response readResponse(InputStream in) throws IOException { String line; int len; // Read response status line LineInputStream lis = new LineInputStream(in); line = lis.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.start...
25,766
public Rectangle getHeaderRect(int column) { Rectangle r = getTable().getCellRect(-1, column, true); r.height = getHeight(); return r; }
public Rectangle getHeaderRect(int column) { Rectangle r = getTable().getCellRect(-1, column, false); r.height = getHeight(); return r; }
25,767
public FTPFSDirectory(FTPFileSystem fileSystem, FTPFile ftpFile) { super(fileSystem, ftpFile); }
FTPFSDirectory(FTPFileSystem fileSystem, FTPFile ftpFile) { super(fileSystem, ftpFile); }
25,769
protected int getViewIndexAtPosition(int pos) { int index = -1; for (int i = 0; i < children.length; i++) { if (children[i].getStartOffset() >= pos && children[i].getEndOffset() < pos) { index = i; break; } } return index; }
protected int getViewIndexAtPosition(int pos) { int index = -1; for (int i = 0; i < children.length; i++) { if (children[i].getStartOffset() >= pos && children[i].getEndOffset() < pos) { index = i; break; } } return index; }
25,773
public static TypeCode type() { ORB orb = Restricted_ORB.Singleton; return orb.create_alias_tc(id(), "Identifier", orb.create_string_tc(0)); }
public static TypeCode type() { ORB orb = OrbRestricted.Singleton; return orb.create_alias_tc(id(), "Identifier", orb.create_string_tc(0)); }
25,774
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context LinkedList values = new LinkedList(); // set the parameters ...
25,776
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
25,777
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
25,778
public void columnAdded (TableColumnModelEvent event) { throw new Error ("Not implemented"); }
public void columnAdded (TableColumnModelEvent event) { revalidate(); repaint(); }
25,779
public void columnMarginChanged (ChangeEvent event) { throw new Error ("Not implemented"); }
public void columnMarginChanged (ChangeEvent event) { revalidate(); repaint(); }
25,780
public void columnMoved (TableColumnModelEvent event) { throw new Error ("Not implemented"); }
public void columnMoved (TableColumnModelEvent event) { revalidate(); repaint(); }
25,781
public void columnRemoved (TableColumnModelEvent event) { throw new Error ("Not implemented"); }
public void columnRemoved (TableColumnModelEvent event) { revalidate(); repaint(); }
25,782
public void columnSelectionChanged (ListSelectionEvent event) { throw new Error ("Not implemented"); }
public void columnSelectionChanged (ListSelectionEvent event) { repaint(); }
25,783
public void editingCanceled (ChangeEvent event) { throw new Error ("Not implemented"); }
public void editingCanceled (ChangeEvent event) { repaint(); }
25,784
public void editingStopped (ChangeEvent event) { throw new Error ("Not implemented"); }
public void editingStopped (ChangeEvent event) { repaint(); }
25,785
public boolean getColumnSelectionAllowed() { return columnModel.getColumnSelectionAllowed(); }
public boolean getColumnSelectionAllowed() { return getColumnModel().getColumnSelectionAllowed(); }
25,786
public TableCellRenderer getDefaultRenderer(Class columnClass) { // FIXME: return null; }
public TableCellRenderer getDefaultRenderer(Class columnClass) { // FIXME: if (defaultRenderersByColumnClass.containsKey(columnClass)) return (TableCellRenderer) defaultRenderersByColumnClass.get(columnClass); else { TableCellRenderer r = new DefaultTableCellRenderer(); defaultRenderersByColumnClass.put(column...
25,787
public Dimension getPreferredScrollableViewportSize () { throw new Error ("Not implemented"); }
public Dimension getPreferredScrollableViewportSize () { return preferredScrollableViewportSize; }
25,788
public int getScrollableBlockIncrement (Rectangle visibleRect, int orientation, int direction) { throw new Error ("Not implemented"); }
public int getScrollableBlockIncrement (Rectangle visibleRect, int orientation, int direction) { if (orientation == SwingConstants.VERTICAL) return visibleRect.height * direction; else return visibleRect.width * direction; }
25,789
public boolean getScrollableTracksViewportHeight () { throw new Error ("Not implemented"); }
public boolean getScrollableTracksViewportHeight () { return false; }
25,790
public boolean getScrollableTracksViewportWidth () { throw new Error ("Not implemented"); }
public boolean getScrollableTracksViewportWidth () { if (autoResizeMode == AUTO_RESIZE_OFF) return false; else return true; }
25,791
public int getScrollableUnitIncrement (Rectangle visibleRect, int orientation, int direction) { throw new Error ("Not implemented"); }
public int getScrollableUnitIncrement (Rectangle visibleRect, int orientation, int direction) { if (orientation == SwingConstants.VERTICAL) return rowHeight; else { int sum = 0; for (int i = 0; i < getColumnCount(); ++i) sum += columnModel.getColumn(0).getWidth(); return getColumnCount() == 0 ? 10 : sum / getColu...
25,792
public void setAutoResizeMode(int mode) { autoResizeMode = mode; }
public void setAutoResizeMode(int a) { autoResizeMode = mode; }
25,793
public void setAutoResizeMode(int mode) { autoResizeMode = mode; }
public void setAutoResizeMode(int mode) { autoResizeMode = a; revalidate(); repaint(); }
25,794
public void setColumnSelectionAllowed(boolean flag) { columnModel.setColumnSelectionAllowed(flag); }
public void setColumnSelectionAllowed(boolean c) { columnModel.setColumnSelectionAllowed(flag); }
25,795
public void setColumnSelectionAllowed(boolean flag) { columnModel.setColumnSelectionAllowed(flag); }
public void setColumnSelectionAllowed(boolean flag) { getColumnModel().setColumnSelectionAllowed(c); repaint(); }
25,796
public void setModel (TableModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); }
public void setModel(TableModel m) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); }
25,797
public void setModel (TableModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); }
public void setModel (TableModel model) { if (m == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); }
25,798
public void setModel (TableModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); }
public void setModel (TableModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); }
25,800
public void setRowSelectionAllowed(boolean flag) { rowSelectionAllowed = flag; }
public void setRowSelectionAllowed(boolean r) { rowSelectionAllowed = flag; }
25,801
public void setRowSelectionAllowed(boolean flag) { rowSelectionAllowed = flag; }
public void setRowSelectionAllowed(boolean flag) { rowSelectionAllowed = r; repaint(); }
25,802
public void setSelectionMode (int selectionMode) { throw new Error ("Not implemented"); }
public void setSelectionMode(int s) { throw new Error ("Not implemented"); }
25,803
public void setSelectionMode (int selectionMode) { throw new Error ("Not implemented"); }
public void setSelectionMode (int selectionMode) { selectionModel.setSelectionMode(s); repaint(); }
25,804
public void setSelectionModel (ListSelectionModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); }
public void setSelectionModel(ListSelectionModel s) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); }
25,805
public void setSelectionModel (ListSelectionModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); }
public void setSelectionModel (ListSelectionModel model) { if (s == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); }
25,806
public void setSelectionModel (ListSelectionModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); }
public void setSelectionModel (ListSelectionModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); }
25,807
public void setShowGrid (boolean showGrid) { throw new Error ("Not implemented"); }
public void setShowGrid(boolean s) { throw new Error ("Not implemented"); }
25,808
public void setShowGrid (boolean showGrid) { throw new Error ("Not implemented"); }
public void setShowGrid (boolean showGrid) { setShowVerticalLines(s); setShowHorizontalLines(s); }
25,809
public void setTableHeader(JTableHeader newHeader) { tableHeader = newHeader; }
public void setTableHeader(JTableHeader t) { tableHeader = newHeader; }
25,810
public void setTableHeader(JTableHeader newHeader) { tableHeader = newHeader; }
public void setTableHeader(JTableHeader newHeader) { if (tableHeader != null) tableHeader.setTable(null); tableHeader = t; if (tableHeader != null) tableHeader.setTable(this); revalidate(); repaint(); }
25,811
public void tableChanged (TableModelEvent event) { throw new Error ("Not implemented"); }
public void tableChanged (TableModelEvent event) { repaint(); }
25,812
public void valueChanged (ListSelectionEvent event) { throw new Error ("Not implemented"); }
public void valueChanged (ListSelectionEvent event) { repaint(); }
25,813
public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException { Element el = getElement(); if (pos < el.getStartOffset() || pos >= el.getEndOffset()) throw new BadLocationException("Illegal offset for this view", pos); Rectangle r = a.getBounds(); Icon icon = StyleConsta...
public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException { Element el = getElement(); if (pos < el.getStartOffset() || pos >= el.getEndOffset()) throw new BadLocationException("Illegal offset for this view", pos); Rectangle r = a.getBounds(); Icon icon = StyleConsta...
25,815
public final Class getCategory() { return PrinterIsAcceptingJobs.class; }
public Class getCategory() { return PrinterIsAcceptingJobs.class; }
25,816
public final String getName() { return "printer-is-accepting-jobs"; }
public String getName() { return "printer-is-accepting-jobs"; }
25,817
public static synchronized Provider provider () { if (singleton == null) singleton = new Provider (); return singleton; }
public static synchronized Provider provider () { if (singleton == null) singleton = (Provider) AccessController.doPrivileged (new PrivilegedAction() { public Object run() { return new Provider(); } }); return singleton; }
25,818
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
25,820
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
25,821
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
25,822
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
25,823
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
25,824
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t...
25,825
public void stateChanged(ChangeEvent event);
void stateChanged(ChangeEvent event);
25,827
void setView(Component c) { if (this.c != null) remove(c); this.c = c; add(c); }
void setView(Component c) { if (this.c != null) remove(c); this.c = c; add(c); }
25,828
public static ComponentUI createUI(JComponent c) { Exception e = new Exception("createUI from ComponentUI should never be called"); e.printStackTrace(); System.exit(1); return null; }
public static ComponentUI createUI(JComponent c) { Exception e = new Exception("createUI from ComponentUI should never be called"); e.printStackTrace(); System.exit(1); return null; }
25,829
public Font getFont() { Font f = font; if (f != null) return f; Component p = parent; if (p != null) return p.getFont(); if (peer != null) return peer.getGraphics().getFont(); return null; }
public Font getFont() { Font f = font; if (f != null) return f; Component p = parent; if (p != null) return p.getFont(); if (peer != null) return peer.getGraphics().getFont(); return null; }
25,830
public Rectangle getTabBounds(JTabbedPane pane, int index) { return null; }
public Rectangle getTabBounds(JTabbedPane pane, int index) { return null; }
25,831
public int getTabRunCount(JTabbedPane pane) { return 0; }
public int getTabRunCount(JTabbedPane pane) { return 0; }
25,832
public void addPropertyChangeListener(PropertyChangeListener listener) { listenerList.add(PropertyChangeListener.class, listener); }
public void addPropertyChangeListener(PropertyChangeListener listener) { if (changeSupport == null) changeSupport = new SwingPropertyChangeSupport(this); changeSupport.addPropertyChangeListener(listener); }
25,833
public void installUI(JComponent c) { String id = c.getUIClassID() + ".border"; Border s = UIManager.getBorder( id ); if (s != null) { c.setBorder( s ); //System.out.println("OK-INSTALL: " + this + ", ID=" + id + ",B="+s); } else { ///System.out.println("FAIL-INSTALL: " + this + ", " + id); }...
public void installUI(JComponent c) { String id = c.getUIClassID() + ".border"; Border s = UIManager.getBorder( id ); if (s != null) { c.setBorder( s ); //System.out.println("OK-INSTALL: " + this + ", ID=" + id + ",B="+s); } else { ///System.out.println("FAIL-INSTALL: " + this + ", " + id); }...
25,834
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,835
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,836
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,837
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,838
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,839
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,840
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,841
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,842
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,843
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ...
25,844
public int tabForCoordinate(JTabbedPane pane, int x, int y) { return 0; }
public int tabForCoordinate(JTabbedPane pane, int x, int y) { return 0; }
25,845
public void removePropertyChangeListener(PropertyChangeListener listener) { listenerList.remove(PropertyChangeListener.class, listener); }
public void removePropertyChangeListener(PropertyChangeListener listener) { if (changeSupport != null) changeSupport.removePropertyChangeListener(listener); }
25,846
public static void paint(Context c, Box box, boolean stylePushed, boolean restyle) { Box block = (Box) box; restyle = restyle || box.restyle;//cascade it down box.restyle = false;//reset if (block instanceof AnonymousBlockBox) { InlineRendering.paintInlineContext(c, block, res...
public static void paint(Context c, Box box, boolean stylePushed, boolean restyle) { Box block = (Box) box; restyle = restyle || box.restyle;//cascade it down box.restyle = false;//reset if (block instanceof AnonymousBlockBox) { InlineRendering.paintInlineContext(c, block, res...
25,847
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b...
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b...
25,848
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b...
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b...
25,849
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b...
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b...
25,850
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ...
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ...
25,853
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ...
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ...
25,854
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ...
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ...
25,855
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren...
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren...
25,856
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren...
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren...
25,857
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (_marginTopOverrideSet) { result.top = (int) _marginTopOverride; } if (_marginBottomOverrideSet) { result.bottom...
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (_marginTopOverrideSet) { result.top = (int) _marginTopOverride; } if (_marginBottomOverrideSet) { result.bottom...
25,858
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (_marginTopOverrideSet) { result.top = (int) _marginTopOverride; } if (_marginBottomOverrideSet) { result.bottom...
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (_marginTopOverrideSet) { result.top = (int) _marginTopOverride; } if (_marginBottomOverrideSet) { result.bottom...
25,859
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { { if ( border.noTop()) { sides -= TOP; } } if ((...
25,860
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } } if ((...
25,861
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si...
25,862
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si...
25,863
public static void translateRelative(Context c) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(left, top); } }
public static void translateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(left, top); } ...
25,865
public static void untranslateRelative(Context c) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(-left, -top); } }
public static void untranslateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(-left, -top); ...
25,867
public InitialContext() { init(null); }
public InitialContext() { init(null); }
25,871
public Object lookup(String name) throws NamingException { return getURLOrDefaultInitCtx(name).lookup(name); }
public Object lookup(String name) throws NamingException { return getURLOrDefaultInitCtx(name).lookup(name); }
25,872
public Context createSubcontext(String name) throws NamingException { return getURLOrDefaultInitCtx(name).createSubcontext(name); }
public Context createSubcontext(String name) throws NamingException { return getURLOrDefaultInitCtx(name).createSubcontext(name); }
25,873
public void rebind (String name, Object obj) throws NamingException;
void rebind (Name name, Object obj) throws NamingException;
25,874
public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Exception e) {...
public void setSecurityConfig(boolean isQueue, String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Ex...
25,875