1 |
/* GtkScrollPanePeer.java -- Implements ScrollPanePeer with GTK |
/* GtkScrollPanePeer.java -- Implements ScrollPanePeer with GTK |
2 |
Copyright (C) 1998, 1999 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
83 |
setPolicy (((ScrollPane) awtComponent).getScrollbarDisplayPolicy ()); |
setPolicy (((ScrollPane) awtComponent).getScrollbarDisplayPolicy ()); |
84 |
} |
} |
85 |
|
|
86 |
native public int getHScrollbarHeight (); |
public native int getHScrollbarHeight(); |
87 |
native public int getVScrollbarWidth (); |
public native int getVScrollbarWidth(); |
88 |
native public void setScrollPosition (int x, int y); |
public native void setScrollPosition(int x, int y); |
89 |
|
|
90 |
public Dimension getPreferredSize () |
public Dimension getPreferredSize () |
91 |
{ |
{ |