bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Object getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException; | Object getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException; | 42,511 |
public ClientConnectionDelegate(String objectID, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; } | public ClientConnectionDelegate(int objectID, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; } | 42,512 |
public String toString() { return "ConnectionDelegate[" + Util.guidToString(id) + "]"; } | public String toString() { return "ConnectionDelegate[" + id + "]"; } | 42,513 |
protected abstract Client getClient(); | protected abstract Client getClient(); | 42,514 |
public boolean intersects(CssContext cssCtx, Shape clip) { return intersectsLine(cssCtx, clip) || (isContainsBlockLevelContent() && intersectsInlineBlocks(cssCtx, clip)); } | public boolean intersects(CssContext cssCtx, Shape clip) { return intersectsLine(cssCtx, clip) || (isContainsBlockLevelContent() && intersectsInlineBlocks(cssCtx, clip)); } | 42,515 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | 42,516 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | publicstaticvoidlayoutContent(LayoutContextc,Boxbox,ListcontentList){intmaxAvailableWidth=c.getExtents().width;intremainingWidth=maxAvailableWidth;intminimumLineHeight=(int)c.getCurrentStyle().getLineHeight(c);LineBoxcurrentLine=newLine(c,null,box);LineBoxpreviousLine=null;InlineBoxcurrentIB=null;InlineBoxpreviousIB=nu... | 42,517 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | 42,518 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineW... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineW... | 42,519 |
public static void generateAbsolute(LayoutContext c, Content content, LineBox currentLine) { Rectangle oe = c.getExtents();// copy the extents for safety c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null); ... | public static BlockBox generateAbsolute(LayoutContext c, Content content, LineBox currentLine) { Rectangle oe = c.getExtents();// copy the extents for safety c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null); ... | 42,520 |
public static FloatedBlockBox generateFloated( LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData... | public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurre... | 42,522 |
public static FloatedBlockBox generateFloated( LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData... | public static FloatedBlockBox generateFloated( LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData... | 42,523 |
public String getMedia() { return ctx.getMedia(); } | public String getMedia() { return ctx.getMedia(); } | 42,525 |
public void popBFC() { this.bfc = (BlockFormattingContext)bfc_stack.pop(); } | public void popBFC() { this.bfc = (BlockFormattingContext) bfc_stack.pop(); } | 42,526 |
public RenderableImageProducer(RenderableImage image, RenderContext context) throws NotImplementedException { throw new Error("not implemented"); } | public RenderableImageProducer(RenderableImage image, RenderContext context) { throw new Error("not implemented"); } | 42,529 |
public RenderableImageProducer(RenderableImage image, RenderContext context) throws NotImplementedException { throw new Error("not implemented"); } | public RenderableImageProducer(RenderableImage image, RenderContext context) throws NotImplementedException { this.image = image; this.context = context; } | 42,530 |
public void addConsumer(ImageConsumer consumer) throws NotImplementedException { } | public void addConsumer(ImageConsumer consumer) { } | 42,531 |
public boolean isConsumer(ImageConsumer consumer) throws NotImplementedException { return false; } | public boolean isConsumer(ImageConsumer consumer) { return false; } | 42,533 |
public boolean isConsumer(ImageConsumer consumer) throws NotImplementedException { return false; } | public boolean isConsumer(ImageConsumer consumer) throws NotImplementedException { synchronized (consumers) { return consumers.contains(consumer); } } | 42,534 |
public void removeConsumer(ImageConsumer consumer) throws NotImplementedException { } | public void removeConsumer(ImageConsumer consumer) { } | 42,535 |
public void setRenderContext(RenderContext context) throws NotImplementedException { } | public void setRenderContext(RenderContext context) { } | 42,537 |
public void startProduction(ImageConsumer consumer) throws NotImplementedException { } | public void startProduction(ImageConsumer consumer) { } | 42,539 |
public boolean wasHoverRestyled(Element e) { boolean isHoverStyled = _tbStyleMap.isHoverStyled(e); XRLog.general("Element "+e+" tested for hover styling "+isHoverStyled); if(_tbStyleMap.isHoverStyled(e)) { _styler.restyleTree(e); return true; } return false; ... | public boolean wasHoverRestyled(Element e) { boolean isHoverStyled = _tbStyleMap.isHoverStyled(e); if(_tbStyleMap.isHoverStyled(e)) { _styler.restyleTree(e); return true; } return false; } | 42,541 |
public java.io.Reader getDefaultStylesheet(); | public java.io.Reader getDefaultStylesheet(); | 42,542 |
public static void load( String msg ) { load( Level.INFO, msg ); } | public static void load( String msg ) { load( Level.INFO, msg ); } | 42,543 |
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(new GUID().toString(), true, System.currentTimeMil... | protected Message createMessage(byte i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(new GUID().toString(), true, System.currentTimeMi... | 42,544 |
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(new GUID().toString(), true, System.currentTimeMil... | protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(randInt().intValue(), true, System.currentTimeMill... | 42,545 |
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() + ... | protected Message createMessage(byte i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() +... | 42,546 |
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() + ... | protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(randInt().intValue(), true, System.currentTimeMillis() + 1... | 42,547 |
public JBossTextMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ... | public JBossTextMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ... | 42,548 |
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))... | public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))... | 42,549 |
public static void main(String[] args) throws Exception { //System.out.println(new URI("images/Stop24.gif")); JFrame frame = new JFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); BrowserStartup bs = new BrowserStartup(); bs.frame = frame; bs... | public static void main(String[] args) throws Exception { //System.out.println(new URI("images/Stop24.gif")); JFrame frame = new JFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); final BrowserStartup bs = new BrowserStartup(); bs.frame = frame; ... | 42,551 |
public void insertStepCell(StepCell stepCell, Map attributes, ParentMap pm, UndoableEdit[] edits) { stepCells.add(stepCell); Utils.checkId(context, stepCell.getDescriptor()); Object[] cells = new Object[]{stepCell}; // Insert into Model insert(cells, attributes, null, pm, edits); recordResults(step... | public void insertStepCell(StepCell stepCell, Map attributes, ParentMap pm, UndoableEdit[] edits) { stepCells.add(stepCell); Utils.checkId(context, stepCell.getDescriptor()); Object[] cells = new Object[1 + stepCell.getChildCount()]; cells[0] = stepCell; Object[] children = stepCell.getChildren().toArray();... | 42,553 |
public Point getLabelPosition(int resultKey) { ResultLayout rl = ((ResultLayout)results.get(new Integer(resultKey))); return rl != null && rl.labelPosition != null ? rl.labelPosition : null; } | public Point2D getLabelPosition(int resultKey) { ResultLayout rl = ((ResultLayout)results.get(new Integer(resultKey))); return rl != null && rl.labelPosition != null ? rl.labelPosition : null; } | 42,554 |
public ResultEdge(ResultDescriptor descriptor, Point labelPos) { super(descriptor); setAttributes(new WorkflowAttributeMap(getAttributes())); this.descriptor = descriptor; int arrow = GraphConstants.ARROW_CLASSIC; //GraphConstants.setLabelAlongEdge(attributes, true); GraphConstants.setLineEnd(attri... | public ResultEdge(ResultDescriptor descriptor, Point2D labelPos) { super(descriptor); setAttributes(new WorkflowAttributeMap(getAttributes())); this.descriptor = descriptor; int arrow = GraphConstants.ARROW_CLASSIC; //GraphConstants.setLabelAlongEdge(attributes, true); GraphConstants.setLineEnd(att... | 42,555 |
public ResultEdge(ResultDescriptor descriptor, Point labelPos) { super(descriptor); setAttributes(new WorkflowAttributeMap(getAttributes())); this.descriptor = descriptor; int arrow = GraphConstants.ARROW_CLASSIC; //GraphConstants.setLabelAlongEdge(attributes, true); GraphConstants.setLineEnd(attri... | public ResultEdge(ResultDescriptor descriptor, Point labelPos) { super(descriptor); setAttributes(new WorkflowAttributeMap(getAttributes())); this.descriptor = descriptor; int arrow = GraphConstants.ARROW_CLASSIC; //GraphConstants.setLabelAlongEdge(attributes, true); GraphConstants.setLineEnd(attri... | 42,556 |
public DefaultGraphCell getFromCell() { return fromCell; } | public WorkflowCell getFromCell() { return fromCell; } | 42,557 |
public void clearSelection() { // Find the selected interval. int from = sel.nextSetBit(0); if (from < 0) return; // Empty selection - nothing to do. int to = from; int i; Up: for (i = from; i>=0; i=sel.nextSetBit(i+1)) to = i; fireValueChanged(from, to, valueIsAdjusting); } | public void clearSelection() { // Find the selected interval. int from = sel.nextSetBit(0); if (from < 0) return; // Empty selection - nothing to do. int to = from; int i; for (i = from; i>=0; i=sel.nextSetBit(i+1)) to = i; fireValueChanged(from, to, valueIsAdjusting); } | 42,558 |
public void setSelectionMode(int a) { selectionMode = a; } | public void setSelectionMode(int mode) { selectionMode = a; } | 42,561 |
public void setSelectionMode(int a) { selectionMode = a; } | public void setSelectionMode(int a) { if (mode < ListSelectionModel.SINGLE_SELECTION || mode > ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) throw new IllegalArgumentException("Unrecognised mode: " + mode); selectionMode = mode; } | 42,562 |
public void set(int from, int to) { if (from < 0 || from > to) throw new IndexOutOfBoundsException(); if (from == to) return; int lo_offset = from >>> 6; int hi_offset = to >>> 6; ensure(hi_offset); if (lo_offset == hi_offset) { bits[hi_offset] |= (-1L << from) & ((1L << to) -... | public void set(int pos) { if (from < 0 || from > to) throw new IndexOutOfBoundsException(); if (from == to) return; int lo_offset = from >>> 6; int hi_offset = to >>> 6; ensure(hi_offset); if (lo_offset == hi_offset) { bits[hi_offset] |= (-1L << from) & ((1L << to) - 1); ... | 42,563 |
public void set(int from, int to) { if (from < 0 || from > to) throw new IndexOutOfBoundsException(); if (from == to) return; int lo_offset = from >>> 6; int hi_offset = to >>> 6; ensure(hi_offset); if (lo_offset == hi_offset) { bits[hi_offset] |= (-1L << from) & ((1L << to) -... | public void set(int from, int to) { if (from < 0 || from > to) throw new IndexOutOfBoundsException(); if (from == to) return; int lo_offset = from >>> 6; int hi_offset = to >>> 6; ensure(hi_offset); if (lo_offset == hi_offset) { bits[hi_offset] |= (-1L << from) & ((1L << to) -... | 42,564 |
public BitSet get(int from, int to) { if (from < 0 || from > to) throw new IndexOutOfBoundsException(); BitSet bs = new BitSet(to - from); int lo_offset = from >>> 6; if (lo_offset >= bits.length) return bs; int lo_bit = from & LONG_MASK; int hi_offset = to >>> 6; if (lo_bit == 0) ... | public boolean get(int pos) { if (from < 0 || from > to) throw new IndexOutOfBoundsException(); BitSet bs = new BitSet(to - from); int lo_offset = from >>> 6; if (lo_offset >= bits.length) return bs; int lo_bit = from & LONG_MASK; int hi_offset = to >>> 6; if (lo_bit == 0) { ... | 42,565 |
public BitSet get(int from, int to) { if (from < 0 || from > to) throw new IndexOutOfBoundsException(); BitSet bs = new BitSet(to - from); int lo_offset = from >>> 6; if (lo_offset >= bits.length) return bs; int lo_bit = from & LONG_MASK; int hi_offset = to >>> 6; if (lo_bit == 0) ... | public BitSet get(int from, int to) { if (from < 0 || from > to) throw new IndexOutOfBoundsException(); BitSet bs = new BitSet(to - from); int lo_offset = from >>> 6; if (lo_offset >= bits.length) return bs; int lo_bit = from & LONG_MASK; int hi_offset = to >>> 6; if (lo_bit == 0) ... | 42,566 |
public JList() { init(); } | public JList() { init(); } | 42,567 |
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { return null; } | 42,568 |
public ListSelectionListener[] getListSelectionListeners() { throw new Error ("not implemented"); } | public ListSelectionListener[] getListSelectionListeners() { return (ListSelectionListener[]) getListeners(ListSelectionListener.class); } | 42,569 |
public ListModel getModel() { return model; } | public ListModel getModel() { return model; } | 42,570 |
public Dimension getPreferredScrollableViewportSize() { return null; } | public Dimension getPreferredScrollableViewportSize() { return null; } | 42,571 |
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; } | public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; } | 42,572 |
public boolean getScrollableTracksViewportHeight() { return false; } | public boolean getScrollableTracksViewportHeight() { return false; } | 42,573 |
public boolean getScrollableTracksViewportWidth() { return false; } | public boolean getScrollableTracksViewportWidth() { return false; } | 42,574 |
Object getSelectedValue() { int index = getSelectedIndex(); if (index == -1) return null; return getModel().getElementAt(index); } | Object getSelectedValue() { int index = getSelectedIndex(); if (index == -1) return null; return getModel().getElementAt(index); } | 42,575 |
Color getSelectionBackground() { return select_back; } | Color getSelectionBackground() { return select_back; } | 42,576 |
Color getSelectionForeground() { return select_fore; } | Color getSelectionForeground() { return select_fore; } | 42,577 |
public ListUI getUI() { return (ListUI) ui; } | public ListUI getUI() { return (ListUI) ui; } | 42,578 |
public String getUIClassID() { return "ListUI"; } | public String getUIClassID() { return "ListUI"; } | 42,579 |
public int getVisibleRowCount() { return visibles; } | public int getVisibleRowCount() { return visibles; } | 42,580 |
void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | 42,581 |
void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | 42,582 |
void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | 42,583 |
public void removeListSelectionListener (ListSelectionListener listener) { sel_model.removeListSelectionListener (listener); } | public void removeListSelectionListener(ListSelectionListener listener) { sel_model.removeListSelectionListener (listener); } | 42,584 |
public void removeListSelectionListener (ListSelectionListener listener) { sel_model.removeListSelectionListener (listener); } | public void removeListSelectionListener (ListSelectionListener listener) { listenerList.remove(ListSelectionListener.class, listener); } | 42,585 |
public void setListData(final Object[] listData) { class AL extends AbstractListModel { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }; setModel (new AL()); } | public void setListData(final Object[] listData) { class AL extends AbstractListModel { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }; setModel (new AL()); } | 42,586 |
public void setUI(ListUI ui) { super.setUI(ui); } | public void setUI(ListUI ui) { super.setUI(ui); } | 42,587 |
public void updateUI() { setUI((ListUI)UIManager.getUI(this)); } | public void updateUI() { setUI((ListUI)UIManager.getUI(this)); } | 42,588 |
public FixedHeightLayoutCache() throws NotImplementedException { // TODO } | public FixedHeightLayoutCache() throws NotImplementedException { // TODO } | 42,590 |
public FixedHeightLayoutCache() throws NotImplementedException { // TODO } | public FixedHeightLayoutCache() throws NotImplementedException { // TODO } | 42,591 |
public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } | public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } | 42,592 |
public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } | public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { Rectangle dim = getNodeDimensions(last, r.row, r.depth, r.isExpanded, rect); r.bounds = dim; } return r.bounds; } // TODO } | 42,593 |
public boolean getExpandedState(TreePath value0) throws NotImplementedException { return false; // TODO } | public boolean getExpandedState(TreePath value0) throws NotImplementedException { return false; // TODO } | 42,594 |
public boolean getExpandedState(TreePath value0) throws NotImplementedException { return false; // TODO } | public boolean getExpandedState(TreePath value0) throws NotImplementedException { return expanded.contains(path.getLastPathComponent()); // TODO } | 42,595 |
public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { return null; // TODO } | public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { return null; // TODO } | 42,596 |
public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { return null; // TODO } | public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { if (dirty) update(); int row = y / rowHeight; if (row < 0) row = 0; if (row > getRowCount()) row = getRowCount() - 1; if (row < 0) return null; Object node = row2node.get(new Integer(row)); NodeRecord nr = (NodeRecord) no... | 42,597 |
public TreePath getPathForRow(int row) throws NotImplementedException { //TODO return null; } | public TreePath getPathForRow(int row) throws NotImplementedException { //TODO return null; } | 42,598 |
public TreePath getPathForRow(int row) throws NotImplementedException { //TODO return null; } | publicif (dirty) update(); Object last = row2node.get(new Integer(row)); if (last == null) TreePathif (dirty) update(); Object last = row2node.get(new Integer(row)); if (last == null) getPathForRow(intif (dirty) update(); Object last = row2node.get(new Integer(row)); if (last == null) row)if (dirty) update(); Object l... | 42,599 |
public int getRowCount() throws NotImplementedException { return 0; // TODO } | public int getRowCount() throws NotImplementedException { return 0; // TODO } | 42,601 |
public int getRowCount() throws NotImplementedException { return 0; // TODO } | public int getRowCount() throws NotImplementedException { if (dirty) update(); return row2node.size(); // TODO } | 42,602 |
public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; } | public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; } | 42,603 |
public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; } | public int getRowForPath(TreePath value0) throws NotImplementedException { if (dirty) update(); NodeRecord r = (NodeRecord) nodes.get(path.getLastPathComponent()); if (r == null) return - 1; else return r.row; } | 42,604 |
public int getVisibleChildCount(TreePath value0) throws NotImplementedException { return 0; // TODO } | public int getVisibleChildCount(TreePath value0) throws NotImplementedException { return 0; // TODO } | 42,605 |
public int getVisibleChildCount(TreePath value0) throws NotImplementedException { return 0; // TODO } | public int getVisibleChildCount(TreePath value0) throws NotImplementedException { if (isExpanded(path)) return 0; else return treeModel.getChildCount(path.getLastPathComponent()); // TODO } | 42,606 |
public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { return null; // TODO } | public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { return null; // TODO } | 42,607 |
public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { return null; // TODO } | public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { if (dirty) update(); Vector p = new Vector(parentPath.getPathCount()); Object node; NodeRecord nr; for (int i = 0; i < parentPath.getPathCount(); i++) { node = parentPath.getPathComponent(i); nr = (NodeRecord) nodes.get(node)... | 42,608 |
public void invalidatePathBounds(TreePath value0) throws NotImplementedException { // TODO } | public void invalidatePathBounds(TreePath value0) throws NotImplementedException { // TODO } | 42,609 |
public void invalidateSizes() throws NotImplementedException { // TODO } | public void invalidateSizes() throws NotImplementedException { // TODO } | 42,610 |
public void invalidateSizes() throws NotImplementedException { // TODO } | publicdirty = true; voiddirty = true; invalidateSizes()dirty = true; dirty = true; dirty = true; dirty = true; throwsdirty = true; NotImplementedException { //dirty = true; TODOdirty = true; dirty = true; }dirty = true; | 42,611 |
public boolean isExpanded(TreePath value0) throws NotImplementedException { return false; // TODO } | public boolean isExpanded(TreePath value0) throws NotImplementedException { return false; // TODO } | 42,612 |
public void setExpandedState(TreePath value0, boolean value1) throws NotImplementedException { // TODO } | public void setExpandedState(TreePath value0, boolean value1) throws NotImplementedException { // TODO } | 42,613 |
public void setExpandedState(TreePath value0, boolean value1) throws NotImplementedException { // TODO } | publicif (isExpanded) expanded.add(path.getLastPathComponent()); else expanded.remove(path.getLastPathComponent()); dirty = true; voidif (isExpanded) expanded.add(path.getLastPathComponent()); else expanded.remove(path.getLastPathComponent()); dirty = true; setExpandedState(TreePathif (isExpanded) expanded.add(path.... | 42,614 |
public void treeNodesChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | public void treeNodesChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | 42,615 |
public void treeNodesChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | publicdirty = true; voiddirty = true; treeNodesChanged(TreeModelEventdirty = true; value0)dirty = true; dirty = true; dirty = true; dirty = true; throwsdirty = true; NotImplementedException { //dirty = true; TODOdirty = true; dirty = true; }dirty = true; | 42,616 |
public void treeNodesInserted(TreeModelEvent value0) throws NotImplementedException { // TODO } | public void treeNodesInserted(TreeModelEvent value0) throws NotImplementedException { // TODO } | 42,617 |
public void treeNodesInserted(TreeModelEvent value0) throws NotImplementedException { // TODO } | publicdirty = true; voiddirty = true; treeNodesInserted(TreeModelEventdirty = true; value0)dirty = true; dirty = true; dirty = true; dirty = true; throwsdirty = true; NotImplementedException { //dirty = true; TODOdirty = true; dirty = true; }dirty = true; | 42,618 |
public void treeNodesRemoved(TreeModelEvent value0) throws NotImplementedException { // TODO } | public void treeNodesRemoved(TreeModelEvent value0) throws NotImplementedException { // TODO } | 42,619 |
public void treeNodesRemoved(TreeModelEvent value0) throws NotImplementedException { // TODO } | publicdirty = true; voiddirty = true; treeNodesRemoved(TreeModelEventdirty = true; value0)dirty = true; dirty = true; dirty = true; dirty = true; throwsdirty = true; NotImplementedException { //dirty = true; TODOdirty = true; dirty = true; }dirty = true; | 42,620 |
public void treeStructureChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | public void treeStructureChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | 42,621 |
public void treeStructureChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | publicdirty = true; voiddirty = true; treeStructureChanged(TreeModelEventdirty = true; value0)dirty = true; dirty = true; dirty = true; dirty = true; throwsdirty = true; NotImplementedException { //dirty = true; TODOdirty = true; dirty = true; }dirty = true; | 42,622 |
EventDispatchThread(EventQueue queue) { super(); setName("AWT-EventQueue-" + dispatchThreadNum++); this.queue = queue; setPriority(NORM_PRIORITY + 1); start(); } | EventDispatchThread(EventQueue queue) { super(); setName("AWT-EventQueue-" + dispatchThreadNum++); this.queue = queue; setPriority(NORM_PRIORITY + 1); start(); } | 42,623 |
public void run() { while (true) { try { AWTEvent evt = queue.getNextEvent(); queue.dispatchEvent(evt); } catch (Throwable x) { System.err.println("Exception during event dispatch:"); x.printStackTrace(System.err); } } } | public void run() { while (true) { try { AWTEvent evt = queue.getNextEvent(); queue.dispatchEvent(evt); } catch (Throwable x) { System.err.println("Exception during event dispatch:"); x.printStackTrace(System.err); } } } | 42,624 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.