|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itmill.toolkit.ui.FrameWindow.Frame
com.itmill.toolkit.ui.FrameWindow.Frameset
public class FrameWindow.Frameset
Vertical or horizontal set of frames.
| Field Summary |
|---|
| Fields inherited from class com.itmill.toolkit.ui.FrameWindow.Frame |
|---|
parentFrameset |
| Constructor Summary | |
|---|---|
FrameWindow.Frameset()
|
|
| Method Summary | |
|---|---|
FrameWindow.Frame |
getFrame(int index)
Gets the frame by index. |
FrameWindow.Frame |
getFrame(String name)
Gets the frame by name. |
List |
getFrames()
Gets the list of frames. |
boolean |
isVertical()
Checks if the frameset is vertical. |
FrameWindow.Frame |
newFrame(Resource resource,
String name)
Creates the new frame containing a resource. |
FrameWindow.Frame |
newFrame(Resource resource,
String name,
int index)
Creates the new frame containing a resource. |
FrameWindow.Frame |
newFrame(URL url,
String name)
Creates the new frame containing a url. |
FrameWindow.Frame |
newFrame(URL url,
String name,
int index)
Creates the new frame containing a url. |
FrameWindow.Frame |
newFrame(Window window)
Creates the new frame containing a window. |
FrameWindow.Frame |
newFrame(Window window,
int index)
Creates the new frame containing a window. |
FrameWindow.Frameset |
newFrameset(boolean isVertical,
int index)
Creates the new frameset. |
void |
removeAllFrames()
Removes all frames from this frameset. |
void |
removeFrame(FrameWindow.Frame frame)
Removes the frame from this frameset. |
void |
setVertical(boolean isVertical)
Sets the framaset to be vertical. |
int |
size()
Number of frames in this frameset. |
| Methods inherited from class com.itmill.toolkit.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 List getFrames()
public FrameWindow.Frame newFrame(Window window)
The new frame will be in the end of the frames list.
window - the window connected to the frame.
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.
window - the window connected to the frame.index - the given index.
public FrameWindow.Frame newFrame(URL url,
String name)
The new frame will be put in the end of the frames list.
url - the URL of the frame contents.name - the Name of the frame.
public FrameWindow.Frame newFrame(Resource resource,
String name)
The new frame will be put in the end of the frames list.
resource - the resource.name - the Name of the frame.
public FrameWindow.Frame newFrame(URL url,
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.
url - the URL of the frame contents.name - the Name of the frame.index - the given index.
public FrameWindow.Frame newFrame(Resource resource,
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.
resource - the resource.name - the Name of the frame.index - the given index.
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.
isVertical - is the frames are on top of each other.index - the given index.
public void removeFrame(FrameWindow.Frame frame)
frame - the frame to remove.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.
isVertical - is the frames are on top of each other.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.
true if the frameset is Vertical, otherwise
false.public FrameWindow.Frame getFrame(String name)
name - the Name of the frame.
public FrameWindow.Frame getFrame(int index)
index - the given index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||