|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.millstone.base.ui.FrameWindow.Frame | +--org.millstone.base.ui.FrameWindow.Frameset
Vertical or horizontal set of frames
Field Summary |
Fields inherited from class org.millstone.base.ui.FrameWindow.Frame |
parentFrameset |
Constructor Summary | |
FrameWindow.Frameset()
|
Method Summary | |
FrameWindow.Frame |
getFrame(int index)
Get frame by index. |
FrameWindow.Frame |
getFrame(java.lang.String name)
Get frame by name. |
java.util.List |
getFrames()
Get a list of frames. |
boolean |
isVertical()
Check if the frameset is vertical. |
FrameWindow.Frame |
newFrame(Resource resource,
java.lang.String name)
Create new frame containing a resource. |
FrameWindow.Frame |
newFrame(Resource resource,
java.lang.String name,
int index)
Create new frame containing a resource. |
FrameWindow.Frame |
newFrame(java.net.URL url,
java.lang.String name)
Create new frame containing a url. |
FrameWindow.Frame |
newFrame(java.net.URL url,
java.lang.String name,
int index)
Create new frame containing a url. |
FrameWindow.Frame |
newFrame(Window window)
Create new frame containing a window. |
FrameWindow.Frame |
newFrame(Window window,
int index)
Create new frame containing a window. |
FrameWindow.Frameset |
newFrameset(boolean isVertical,
int index)
Create new frameset. |
void |
removeAllFrames()
Remove all frames from this frameset |
void |
removeFrame(FrameWindow.Frame frame)
Remove a frame from this frameset |
void |
setVertical(boolean isVertical)
Set the framaset to be vertical. |
int |
size()
Number of frames in this frameset |
Methods inherited from class org.millstone.base.ui.FrameWindow.Frame |
getName, getParentFrameset, getResource, getURL, getWindow, setAbsoluteSize, setFreeSize, setRelativeSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FrameWindow.Frameset()
Method Detail |
public java.util.List getFrames()
public FrameWindow.Frame newFrame(Window window)
The new frame will be in the end of the frames list.
public FrameWindow.Frame newFrame(Window window, int index)
The new frame will be put before the frame identified by the given index. The indexes of the frame previously in the given position and all the positions after it are incremented by one.
public FrameWindow.Frame newFrame(java.net.URL url, java.lang.String name)
The new frame will be put in the end of the frames list..
public FrameWindow.Frame newFrame(Resource resource, java.lang.String name)
The new frame will be put in the end of the frames list..
public FrameWindow.Frame newFrame(java.net.URL url, java.lang.String name, int index)
The new frame will be put before the frame identified by the given index. The indexes of the frame previously in the given position and all the positions after it are incremented by one.
public FrameWindow.Frame newFrame(Resource resource, java.lang.String name, int index)
The new frame will be put before the frame identified by the given index. The indexes of the frame previously in the given position and all the positions after it are incremented by one.
public FrameWindow.Frameset newFrameset(boolean isVertical, int index)
The new frame will be put before the frame identified by the given index. The indexes of the frame previously in the given position and all the positions after it are incremented by one.
public void removeFrame(FrameWindow.Frame frame)
public void removeAllFrames()
public int size()
public void setVertical(boolean isVertical)
By setting this true, the frames will be ordered on top of each other from top to bottom. Setting this false, the frames will be ordered side by side from left to right.
public boolean isVertical()
If this is true, the frames will be ordered on top of each other from top to bottom, otherwise the frames will be ordered side by side from left to right.
public FrameWindow.Frame getFrame(java.lang.String name)
public FrameWindow.Frame getFrame(int index)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |