| |
|
| java.lang.Object org.swingml.AbstractSwingMLModel org.swingml.SwingMLModel org.swingml.model.JSplitPaneModel
Method Summary | |
public void | addChild(Object anObject) | public List | getChildren() | public Object | getLocation() Returns the location of the JSplitPane's divider bar. | public int | getSize() Returns the size of the JSplitPane's divider bar. | public String | getType() Returns the type of divider orientation for the JSplitPane. | public boolean | isExpandable() | public void | setExpandable(boolean expand) | public void | setLocation(Object aLocation) Sets the location of the JSplitPane's divider bar.
Parameters: location - A reference to an object. | public void | setSize(int aSize) Sets the size of the JSplitPane's divider bar. | public void | setType(String aType) Set the type of divider orientation for the JSplitPane.
Parameters: type - Must be one of the following "Vertical" or "Horizontal". | public void | validate() |
JSplitPaneModel | public JSplitPaneModel()(Code) | | |
addChild | public void addChild(Object anObject)(Code) | | See Also: swingml.model.ContainerModel.addChild(Object) |
getChildren | public List getChildren()(Code) | | See Also: swingml.model.ContainerModel.getChildren |
getLocation | public Object getLocation()(Code) | | Returns the location of the JSplitPane's divider bar. If the return is an
Integer instance, it represents an absolute location. If the return is a
Double instance, it represents a percentage.
|
getSize | public int getSize()(Code) | | Returns the size of the JSplitPane's divider bar.
|
getType | public String getType()(Code) | | Returns the type of divider orientation for the JSplitPane. Will return
one of the following: "Vertical" or "Horizontal".
|
isExpandable | public boolean isExpandable()(Code) | | |
setExpandable | public void setExpandable(boolean expand)(Code) | | |
setLocation | public void setLocation(Object aLocation)(Code) | | Sets the location of the JSplitPane's divider bar.
Parameters: location - A reference to an object. Current, only Integer and Double areaccepted. Any other type passed in, i.e. a String, causes adefault assignment of new Double(25). |
setSize | public void setSize(int aSize)(Code) | | Sets the size of the JSplitPane's divider bar.
Parameters: size - The size of the split pane's divider bar. |
setType | public void setType(String aType)(Code) | | Set the type of divider orientation for the JSplitPane.
Parameters: type - Must be one of the following "Vertical" or "Horizontal". Inthe even any other value is supplied, it is assume to beHorizontal |
validate | public void validate()(Code) | | See Also: swingml.model.Renderable.validate(ContainerModel) |
|
|
|