Revision 11052
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/styles/ILabelStyle.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.5 2007-04-04 15:41:05 jaume
|
|
46 |
* Revision 1.6 2007-04-04 15:42:03 jaume
|
|
47 | 47 |
* *** empty log message *** |
48 | 48 |
* |
49 |
* Revision 1.5 2007/04/04 15:41:05 jaume |
|
50 |
* *** empty log message *** |
|
51 |
* |
|
49 | 52 |
* Revision 1.4 2007/04/02 16:34:56 jaume |
50 | 53 |
* Styled labeling (start commiting) |
51 | 54 |
* |
... | ... | |
124 | 127 |
*/ |
125 | 128 |
public void setMarkerPoint(Point2D p) throws IllegalArgumentException; |
126 | 129 |
|
127 |
public Dimension getPreferredSize(); |
|
128 | 130 |
} |
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/styles/SimpleLabelStyle.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.6 2007-04-04 15:41:05 jaume
|
|
46 |
* Revision 1.7 2007-04-04 15:42:03 jaume
|
|
47 | 47 |
* *** empty log message *** |
48 | 48 |
* |
49 |
* Revision 1.6 2007/04/04 15:41:05 jaume |
|
50 |
* *** empty log message *** |
|
51 |
* |
|
49 | 52 |
* Revision 1.5 2007/04/02 16:34:56 jaume |
50 | 53 |
* Styled labeling (start commiting) |
51 | 54 |
* |
... | ... | |
182 | 185 |
g.drawString(Messages.getString("labeled_point"), x + size + 5, y); |
183 | 186 |
} |
184 | 187 |
|
185 |
public Dimension getPreferredSize() { |
|
186 |
return new Dimension(getBounds().width, getBounds().height); |
|
187 |
} |
|
188 | 188 |
} |
Also available in: Unified diff