org.millstone.base.ui
Class FrameWindow.Frame

java.lang.Object
  |
  +--org.millstone.base.ui.FrameWindow.Frame
Direct Known Subclasses:
FrameWindow.Frameset
Enclosing class:
FrameWindow

public class FrameWindow.Frame
extends java.lang.Object

An individual frame that contains either a window or the contents of the url set to frame.

The frames can be only created to framesets using the newFrame() functions of the frameset.


Field Summary
protected  FrameWindow.Frameset parentFrameset
          Parent frameset
 
Constructor Summary
FrameWindow.Frame()
           
 
Method Summary
 java.lang.String getName()
          Name of the freame
 FrameWindow.Frameset getParentFrameset()
          Get the parent frameset
 Resource getResource()
          Resource connected to frame
 java.net.URL getURL()
          URL of the frame
 Window getWindow()
          Window connected to frame
 void setAbsoluteSize(int widthInPixels)
          Absolute width/height of the frame in pixels
 void setFreeSize()
          Set the frame size to be freely specified by the terminal
 void setRelativeSize(int widthInPercents)
          Set the frame width/height as a percentage of the containing frameset size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parentFrameset

protected FrameWindow.Frameset parentFrameset
Parent frameset

Constructor Detail

FrameWindow.Frame

public FrameWindow.Frame()
Method Detail

getURL

public java.net.URL getURL()
URL of the frame


getParentFrameset

public FrameWindow.Frameset getParentFrameset()
Get the parent frameset


getName

public java.lang.String getName()
Name of the freame


getWindow

public Window getWindow()
Window connected to frame


getResource

public Resource getResource()
Resource connected to frame


setAbsoluteSize

public void setAbsoluteSize(int widthInPixels)
Absolute width/height of the frame in pixels


setFreeSize

public void setFreeSize()
Set the frame size to be freely specified by the terminal


setRelativeSize

public void setRelativeSize(int widthInPercents)
Set the frame width/height as a percentage of the containing frameset size



Copyright © 2000,2001,2002 IT Mill Ltd. All Rights Reserved.