equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Sun designates this |
7 * published by the Free Software Foundation. Sun designates this |
28 import java.awt.*; |
28 import java.awt.*; |
29 import java.awt.event.*; |
29 import java.awt.event.*; |
30 import java.awt.image.VolatileImage; |
30 import java.awt.image.VolatileImage; |
31 import java.awt.peer.ComponentPeer; |
31 import java.awt.peer.ComponentPeer; |
32 import java.applet.Applet; |
32 import java.applet.Applet; |
|
33 import java.beans.Transient; |
33 import javax.swing.plaf.ViewportUI; |
34 import javax.swing.plaf.ViewportUI; |
34 |
35 |
35 import javax.swing.event.*; |
36 import javax.swing.event.*; |
36 import javax.swing.border.*; |
37 import javax.swing.border.*; |
37 import javax.accessibility.*; |
38 import javax.accessibility.*; |
1255 /** |
1256 /** |
1256 * Returns the size of the visible part of the view in view coordinates. |
1257 * Returns the size of the visible part of the view in view coordinates. |
1257 * |
1258 * |
1258 * @return a <code>Dimension</code> object giving the size of the view |
1259 * @return a <code>Dimension</code> object giving the size of the view |
1259 */ |
1260 */ |
|
1261 @Transient |
1260 public Dimension getExtentSize() { |
1262 public Dimension getExtentSize() { |
1261 return getSize(); |
1263 return getSize(); |
1262 } |
1264 } |
1263 |
1265 |
1264 |
1266 |