* java/awt/ScrollPane.java: Wrote. * java/awt/peer/ScrollPanePeer.java (setBlockIncrement): New method. * java/awt/Panel.java (Panel()): Fixed. * java/awt/Component.java (isShowing): Return false if no peer exists, and true if component is visible and no parent exists. (getLocationOnScreen): Wrote. (getPreferredSize): Removed FIXME comment. (getMinimumSize): Likewise. (getAlignmentX, getAlignmentY): Wrote. (list): Wrote. (requestFocus): Wrote. (transferFocus): Wrote. (findNextFocusComponent): New method. (hasFocus()): Wrote. (checkImage): Wrote. (enableEvents): Call setEventMask on the peer. * java/awt/Container.java (list): Use super.list() to print self. (findNextFocusComponent): New method. (setLayout): Call invalidate. (findComponentAt): Wrote. From-SVN: r38639
23 lines
633 B
Java
23 lines
633 B
Java
/* Copyright (C) 2000 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
package java.awt.peer;
|
|
|
|
import java.awt.Adjustable;
|
|
|
|
public interface ScrollPanePeer extends ContainerPeer
|
|
{
|
|
void childResized(int width, int height);
|
|
int getHScrollbarHeight();
|
|
int getVScrollbarWidth();
|
|
void setScrollPosition(int x, int y);
|
|
void setUnitIncrement(Adjustable adj, int increment);
|
|
void setBlockIncrement(Adjustable adj, int increment);
|
|
void setValue(Adjustable adj, int value);
|
|
}
|