rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
Filter filter, TransactionRepository tr) | Filter filter, TransactionRepository tr, int fullSize, int pageSize, int downCacheSize) | public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr) { ... |
super(name, id, ms, pm, acceptReliableMessages, recoverable, executor, filter); | super(name, id, ms, pm, acceptReliableMessages, recoverable, executor, filter, fullSize, pageSize, downCacheSize); | public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr) { ... |
public SimpleReceiver(String name, String state) | public SimpleReceiver() | public SimpleReceiver(String name, String state) { this(name, state, null); } |
this(name, state, null); | this(ACKING); | public SimpleReceiver(String name, String state) { this(name, state, null); } |
locator = new InvokerLocator(s); | locator = new InvokerLocator(s + "&socketTimeout=0"); | private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); log.debug("LocatorURI: " + getLocatorURI()); // add the JMS subsy... |
Object obj = getObjectInstance (null, cpe.getAltName (), cpe.getAltNameCtx (), env); | Object obj = getObjectInstance (cpe.getResolvedObj(), cpe.getAltName (), cpe.getAltNameCtx (), env); | public static Context getContinuationContext (CannotProceedException cpe) throws NamingException { Hashtable env = cpe.getEnvironment (); if (env != null) env.put (CPE, cpe); // It is really unclear to me if this is right. try { Object obj = getObjectInstance (null, cpe.getAltName (), cp... |
cpe.fillInStackTrace(); | public static Context getContinuationContext (CannotProceedException cpe) throws NamingException { Hashtable env = cpe.getEnvironment (); if (env != null) env.put (CPE, cpe); // It is really unclear to me if this is right. try { Object obj = getObjectInstance (null, cpe.getAltName (), cp... | |
icf = (InitialContextFactory) Class.forName (java_naming_factory_initial).newInstance (); | icf = (InitialContextFactory)Class.forName (java_naming_factory_initial, true, Thread.currentThread().getContextClassLoader()) .newInstance (); | public static Context getInitialContext (Hashtable environment) throws NamingException { InitialContextFactory icf = null; if (icfb != null) icf = icfb.createInitialContextFactory(environment); else { String java_naming_factory_initial = null; if (environment != null) java_naming_factor... |
Class k = Class.forName (fClass); | Class k = Class.forName (fClass, true, Thread.currentThread().getContextClassLoader()); | public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ... |
Class k = Class.forName (klassName); | Class k = Class.forName (klassName, true, Thread.currentThread().getContextClassLoader()); | public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ... |
Class k = Class.forName (klassName); | Class k = Class.forName (klassName, true, Thread.currentThread().getContextClassLoader()); | public static Object getStateToBind (Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException { StringTokenizer tokens = getPlusPath (Context.STATE_FACTORIES, environment, nameCtx); while (tokens.hasMoreTokens ()) { String klassName = tokens.nextToken (); tr... |
scheme += "URLContextFactory"; | scheme = scheme + "." + scheme + "URLContextFactory"; | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... |
Class factoryClass = Class.forName (aTry + "." + scheme); | Class factoryClass = Class.forName (aTry + "." + scheme, true, Thread.currentThread().getContextClassLoader()); | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... |
public Context getInitialContext (Hashtable environment) throws NamingException; | Context getInitialContext (Hashtable environment) throws NamingException; | public Context getInitialContext (Hashtable environment) throws NamingException; |
public ObjectFactory createObjectFactory(Object obj, | ObjectFactory createObjectFactory(Object obj, | public ObjectFactory createObjectFactory(Object obj, Hashtable environment) throws NamingException; |
public Reference getReference() throws NamingException; | Reference getReference() throws NamingException; | public Reference getReference() throws NamingException; |
public Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception; | Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception; | public Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception; |
public Hashtable getEnvironment () throws NamingException; | Hashtable getEnvironment () throws NamingException; | public Hashtable getEnvironment () throws NamingException; |
public Object getStateToBind(Object obj, Name name, Context nameCtx, | Object getStateToBind(Object obj, Name name, Context nameCtx, | public Object getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException; |
public ClientConnectionDelegate(String objectID, | public ClientConnectionDelegate(int objectID, | public ClientConnectionDelegate(String objectID, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; } |
return "ConnectionDelegate[" + Util.guidToString(id) + "]"; | return "ConnectionDelegate[" + id + "]"; | public String toString() { return "ConnectionDelegate[" + Util.guidToString(id) + "]"; } |
protected abstract Client getClient(); | protected abstract Client getClient() throws Exception; | protected abstract Client getClient(); |
return intersectsLine(cssCtx, clip) || (isContainsBlockLevelContent() && intersectsInlineBlocks(cssCtx, clip)); | return clip == null || (intersectsLine(cssCtx, clip) || (isContainsBlockLevelContent() && intersectsInlineBlocks(cssCtx, clip))); | public boolean intersects(CssContext cssCtx, Shape clip) { return intersectsLine(cssCtx, clip) || (isContainsBlockLevelContent() && intersectsInlineBlocks(cssCtx, clip)); } |
(lbContext.isUnbreakable() && currentLine.isContainsContent())) { | (lbContext.isUnbreakable() && ! currentLine.isContainsContent())) { | 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 generateAbsolute(LayoutContext c, Content content, LineBox currentLine) { | public static BlockBox generateAbsolute(LayoutContext c, Content content, LineBox currentLine) { | 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); ... |
return box; | 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); ... | |
LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { | LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { | 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... |
c.setFloatingY(curr_line.y + ((FloatedBlockContent)content).getMarginFromPrevious()); | 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... | |
if (pendingFloats.size() > 0) { block.y = 0; } | 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... | |
if (box == null) { XRLog.render(Level.WARNING, "null box"); return; } if (box.margin == null) { XRLog.render(Level.WARNING, "translate insets: null margin on box of type " + box.getClass().getName() + " content " + (box.getContent() == null ? "null" : box.getContent().getClass().getName())); return; } if (box.border ==... | public void translateInsets(Box box) { translate(box.margin.left + box.border.left + box.padding.left, box.margin.top + box.border.top + box.padding.top); } | |
if (box.margin == null) { XRLog.render(Level.WARNING, "translate insets: null margin on box of type " + box.getClass().getName() + " content " + (box.getContent() == null ? "null" : box.getContent().getClass().getName())); return; } if (box.border == null) { XRLog.render(Level.WARNING, "translate insets: null border on... | public void untranslateInsets(Box box) { translate(-(box.margin.left + box.border.left + box.padding.left), -(box.margin.top + box.border.top + box.padding.top)); } | |
throws NotImplementedException | public RenderableImageProducer(RenderableImage image, RenderContext context) throws NotImplementedException { throw new Error("not implemented"); } | |
throw new Error("not implemented"); | this.image = image; this.context = context; | public RenderableImageProducer(RenderableImage image, RenderContext context) throws NotImplementedException { throw new Error("not implemented"); } |
throws NotImplementedException | public void addConsumer(ImageConsumer consumer) throws NotImplementedException { } | |
synchronized (consumers) { if (! consumers.contains(consumer)) consumers.add(consumer); } | public void addConsumer(ImageConsumer consumer) throws NotImplementedException { } | |
throws NotImplementedException | public boolean isConsumer(ImageConsumer consumer) throws NotImplementedException { return false; } | |
return false; | synchronized (consumers) { return consumers.contains(consumer); } | public boolean isConsumer(ImageConsumer consumer) throws NotImplementedException { return false; } |
throws NotImplementedException | public void removeConsumer(ImageConsumer consumer) throws NotImplementedException { } | |
synchronized (consumers) { consumers.remove(consumer); } | public void removeConsumer(ImageConsumer consumer) throws NotImplementedException { } | |
throws NotImplementedException | public void setRenderContext(RenderContext context) throws NotImplementedException { } | |
this.context = context; | public void setRenderContext(RenderContext context) throws NotImplementedException { } | |
throws NotImplementedException | public void startProduction(ImageConsumer consumer) throws NotImplementedException { } | |
Thread t = new Thread(this, "RenderableImageProducerWorker"); t.start(); | public void startProduction(ImageConsumer consumer) throws NotImplementedException { } | |
XRLog.general("Element "+e+" tested for hover styling "+isHoverStyled); | 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 java.io.Reader getDefaultStylesheet(); | public InputStream getDefaultStylesheet(); | public java.io.Reader getDefaultStylesheet(); |
protected Message createMessage(int i) throws Exception | protected Message createMessage(byte i) throws Exception | 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... |
new GUID().toString(), | randInt().intValue(), | 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 | protected Message createMessage(byte i) throws Exception | 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() + ... |
new GUID().toString(), | randInt().intValue(), | 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() + ... |
public JBossTextMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, String destination, boolean replyToIsQueue, String replyTo, String connectionID, Map jmsP... | public JBossTextMessage() { | public JBossTextMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ... |
if (oldclip.intersects(box_rect) || (box instanceof AnonymousBlockBox)) { | if(box.getState() == 2) { | 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))... |
} else { if (oldclip.intersects(box_rect) || (box instanceof AnonymousBlockBox)) { BoxRendering.paint(c, box, false, restyle); } else { } | 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))... | |
BrowserStartup bs = new BrowserStartup(); | final BrowserStartup bs = new BrowserStartup(); | 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... |
frame.addComponentListener( new ComponentAdapter() { public void componentResized( ComponentEvent e ) { bs.panel.view.relayout(); } } ); | 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... | |
Object[] cells = new Object[]{stepCell}; | Object[] cells = new Object[1 + stepCell.getChildCount()]; cells[0] = stepCell; Object[] children = stepCell.getChildren().toArray(); System.arraycopy(children, 0, cells, 1, children.length); | 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 Point getLabelPosition(int resultKey) | public Point2D getLabelPosition(int resultKey) | public Point getLabelPosition(int resultKey) { ResultLayout rl = ((ResultLayout)results.get(new Integer(resultKey))); return rl != null && rl.labelPosition != null ? rl.labelPosition : null; } |
public ResultEdge(ResultDescriptor descriptor, Point labelPos) | public ResultEdge(ResultDescriptor descriptor, Point2D labelPos) | 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... |
GraphConstants.setLabelPosition(attributes, labelPos); | GraphConstants.setLabelPosition(attributes, new Point((int)labelPos.getX(), (int)labelPos.getY())); | 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 DefaultGraphCell getFromCell() | public WorkflowCell getFromCell() | public DefaultGraphCell getFromCell() { return fromCell; } |
Up: for (i = from; i>=0; i=sel.nextSetBit(i+1)) | for (i = from; i>=0; i=sel.nextSetBit(i+1)) | 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); } |
sel.clear(); | 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); } | |
model.listenerList = new EventListenerList(); | public Object clone() throws CloneNotSupportedException { DefaultListSelectionModel model = (DefaultListSelectionModel) super.clone(); model.sel = (BitSet) sel.clone(); return model; } | |
public void setSelectionMode(int a) | public void setSelectionMode(int mode) | public void setSelectionMode(int a) { selectionMode = a; } |
selectionMode = a; | if (mode < ListSelectionModel.SINGLE_SELECTION || mode > ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) throw new IllegalArgumentException("Unrecognised mode: " + mode); selectionMode = mode; | public void setSelectionMode(int a) { selectionMode = a; } |
throw new Error ("not implemented"); | return (ListSelectionListener[]) getListeners(ListSelectionListener.class); | public ListSelectionListener[] getListSelectionListeners() { throw new Error ("not implemented"); } |
Object getSelectedValue() { int index = getSelectedIndex(); if (index == -1) return null; return getModel().getElementAt(index); } | public 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); } |
Color getSelectionBackground() { return select_back; } | public Color getSelectionBackground() { return selectionBackground; } | Color getSelectionBackground() { return select_back; } |
Color getSelectionForeground() { return select_fore; } | public Color getSelectionForeground() { return selectionForeground; } | Color getSelectionForeground() { return select_fore; } |
{ return visibles; } | { return visibleRowCount; } | public int getVisibleRowCount() { return visibles; } |
{ render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); | { dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 8; | 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(); } |
select_back = new Color(0,0,255); select_fore = new Color(255,255,255); | cellRenderer = new DefaultListCellRenderer(); listListener = new ListListener(); | 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(); } |
updateUI(); } | setModel(new DefaultListModel()); setSelectionModel(new DefaultListSelectionModel()); 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(); } |
sel_model.removeListSelectionListener (listener); | listenerList.remove(ListSelectionListener.class, listener); | public void removeListSelectionListener (ListSelectionListener listener) { sel_model.removeListSelectionListener (listener); } |
{ class AL extends AbstractListModel { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }; setModel (new AL()); } | { setModel(new AbstractListModel() { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }); } | 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()); } |
consumerSession.commit(); | public void testSendMessageAndCloseConsumer2() throws Exception { // create my consumer from scratch consumerConnection.close(); TextMessage tm = producerSession.createTextMessage(); tm.setText("One"); queueProducer.send(tm); tm.setText("Two"); queueProducer.send(tm); consum... | |
throws NotImplementedException | public FixedHeightLayoutCache() throws NotImplementedException { // TODO } | |
public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException | public Rectangle getBounds(TreePath path, Rectangle rect) { if (dirty) update(); Object last = path.getLastPathComponent(); NodeRecord r = (NodeRecord) nodes.get(last); if (r == null) return new Rectangle(); else { if (r.bounds == null) | public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } |
return null; | Rectangle dim = getNodeDimensions(last, r.row, r.depth, r.isExpanded, rect); r.bounds = dim; } return r.bounds; } | public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } |
public boolean getExpandedState(TreePath value0) throws NotImplementedException | public boolean getExpandedState(TreePath path) | public boolean getExpandedState(TreePath value0) throws NotImplementedException { return false; // TODO } |
return false; | return expanded.contains(path.getLastPathComponent()); | public boolean getExpandedState(TreePath value0) throws NotImplementedException { return false; // TODO } |
public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException | public TreePath getPathClosestTo(int x, int y) | public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { return null; // TODO } |
return null; | 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) nodes.get(node); return nr.getPath(); | public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { return null; // TODO } |
throws NotImplementedException | public TreePath getPathForRow(int row) throws NotImplementedException { //TODO return null; } | |
if (dirty) update(); Object last = row2node.get(new Integer(row)); if (last == null) | public TreePath getPathForRow(int row) throws NotImplementedException { //TODO return null; } | |
else { NodeRecord r = (NodeRecord) nodes.get(last); return r.getPath(); } | public TreePath getPathForRow(int row) throws NotImplementedException { //TODO return null; } | |
throws NotImplementedException | public int getRowCount() throws NotImplementedException { return 0; // TODO } | |
return 0; | if (dirty) update(); return row2node.size(); | public int getRowCount() throws NotImplementedException { return 0; // TODO } |
public int getRowForPath(TreePath value0) throws NotImplementedException | public int getRowForPath(TreePath path) | public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; } |
return 0; | if (dirty) update(); NodeRecord r = (NodeRecord) nodes.get(path.getLastPathComponent()); if (r == null) return - 1; else return r.row; | public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; } |
public int getVisibleChildCount(TreePath value0) throws NotImplementedException | public int getVisibleChildCount(TreePath path) | public int getVisibleChildCount(TreePath value0) throws NotImplementedException { return 0; // TODO } |
return 0; | if (isExpanded(path)) return 0; else return treeModel.getChildCount(path.getLastPathComponent()); | public int getVisibleChildCount(TreePath value0) throws NotImplementedException { return 0; // TODO } |
public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException | public Enumeration getVisiblePathsFrom(TreePath parentPath) | public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { return null; // TODO } |
return null; | 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); if (nr.row >= 0) p.add(node); } return p.elements(); | public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { return null; // TODO } |
public void invalidatePathBounds(TreePath value0) throws NotImplementedException { | public void invalidatePathBounds(TreePath path) { | public void invalidatePathBounds(TreePath value0) throws NotImplementedException { // TODO } |
throws NotImplementedException | public void invalidateSizes() throws NotImplementedException { // TODO } | |
dirty = true; | public void invalidateSizes() throws NotImplementedException { // TODO } | |
public boolean isExpanded(TreePath value0) throws NotImplementedException { return false; | public boolean isExpanded(TreePath path) { return expanded.contains(path.getLastPathComponent()); | public boolean isExpanded(TreePath value0) throws NotImplementedException { return false; // TODO } |
public void setExpandedState(TreePath value0, boolean value1) throws NotImplementedException | public void setExpandedState(TreePath path, boolean isExpanded) | public void setExpandedState(TreePath value0, boolean value1) throws NotImplementedException { // TODO } |
if (isExpanded) expanded.add(path.getLastPathComponent()); else expanded.remove(path.getLastPathComponent()); dirty = true; | public void setExpandedState(TreePath value0, boolean value1) throws NotImplementedException { // TODO } | |
public void treeNodesChanged(TreeModelEvent value0) throws NotImplementedException | public void treeNodesChanged(TreeModelEvent event) | public void treeNodesChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.