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 |
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 |
/** |
/** |
108 |
*/ |
*/ |
109 |
public AbstractLayoutCache() |
public AbstractLayoutCache() |
110 |
{ |
{ |
111 |
// Do nothing here. |
// Do nothing here. |
112 |
} |
} |
113 |
|
|
114 |
/** |
/** |
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 |
/** |
/** |
158 |
*/ |
*/ |
159 |
public void setModel(TreeModel model) |
public void setModel(TreeModel model) |
160 |
{ |
{ |
161 |
treeModel = model; |
treeModel = model; |
162 |
} |
} |
163 |
|
|
164 |
/** |
/** |