home *** CD-ROM | disk | FTP | other *** search
- package netscape.application;
-
- class KeyboardArrow extends InternalWindow {
- Image image;
- View view;
-
- public KeyboardArrow() {
- super(0, 0, 0, 0, 0);
- ((InternalWindow)this).setTransparent(true);
- ((InternalWindow)this).setLayer(510);
- ((InternalWindow)this).setCanBecomeMain(false);
- }
-
- public void setImage(Image var1) {
- this.image = var1;
- if (this.image != null) {
- ((View)this).sizeTo(this.image.width(), this.image.height());
- } else {
- ((View)this).sizeTo(0, 0);
- }
- }
-
- public void drawView(Graphics var1) {
- if (this.image != null) {
- this.image.drawAt(var1, 0, 0);
- }
-
- }
-
- public boolean mouseDown(MouseEvent var1) {
- return false;
- }
-
- void setView(View var1) {
- this.view = var1;
- }
-
- View view() {
- return this.view;
- }
-
- public boolean canBecomeSelectedView() {
- return false;
- }
- }
-