/[classpath]/classpath/javax/swing/tree/AbstractLayoutCache.java
ViewVC logotype

Diff of /classpath/javax/swing/tree/AbstractLayoutCache.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mkoch, Tue Nov 23 16:37:23 2004 UTC revision 1.5 by langel, Wed Jun 29 13:20:01 2005 UTC
# Line 48  import javax.swing.event.TreeModelEvent; Line 48  import javax.swing.event.TreeModelEvent;
48   *   *
49   * @author Andrew Selkirk   * @author Andrew Selkirk
50   */   */
51  public abstract class AbstractLayoutCache implements RowMapper  public abstract class AbstractLayoutCache
52                    implements RowMapper
53  {  {
54          /**          /**
55           * class NodeDimensions           * class NodeDimensions
# Line 74  public abstract class AbstractLayoutCach Line 75  public abstract class AbstractLayoutCach
75                   * @return Rectangle                   * @return Rectangle
76                   */                   */
77                  public abstract Rectangle getNodeDimensions(Object value0, int value1,                  public abstract Rectangle getNodeDimensions(Object value0, int value1,
78                                                              int value2, boolean value3,                                  int value2, boolean value3, Rectangle value4);
                                                             Rectangle value4);  
79          }          }
80    
81          /**          /**
# Line 108  public abstract class AbstractLayoutCach Line 108  public abstract class AbstractLayoutCach
108           */           */
109          public AbstractLayoutCache()          public AbstractLayoutCache()
110          {          {
111            // Do nothing here.                  // Do nothing here.
112          }          }
113    
114          /**          /**
# Line 142  public abstract class AbstractLayoutCach Line 142  public abstract class AbstractLayoutCach
142           *           *
143           * @return Rectangle           * @return Rectangle
144           */           */
145          protected Rectangle getNodeDimensions(Object value0, int value1, int value2, boolean value3, Rectangle value4)          protected Rectangle getNodeDimensions(Object value, int row, int depth,
146                            boolean expanded, Rectangle bounds)
147          {          {
148                  return null; // TODO                  if (bounds == null)
149                            return new Rectangle();
150                    return null;
151                    // TODO        
152          }          }
153    
154          /**          /**
# Line 154  public abstract class AbstractLayoutCach Line 158  public abstract class AbstractLayoutCach
158           */           */
159          public void setModel(TreeModel model)          public void setModel(TreeModel model)
160          {          {
161            treeModel = model;                  treeModel = model;
162          }          }
163    
164          /**          /**

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26