com.monad.homerun.control
Class Panel
java.lang.Object
com.monad.homerun.base.DataObject
com.monad.homerun.control.Panel
- All Implemented Interfaces:
- java.io.Serializable
public class Panel
- extends DataObject
Panel is a group of control specifications - which
may consist of individual object controls, filters, or actions.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
AUTO
|
Constructor Summary |
Panel()
|
Panel(java.lang.String name,
java.lang.String category)
|
Panel(java.lang.String name,
java.lang.String category,
Panel panel)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AUTO
public static final java.lang.String AUTO
- See Also:
- Constant Field Values
Panel
public Panel()
Panel
public Panel(java.lang.String name,
java.lang.String category)
Panel
public Panel(java.lang.String name,
java.lang.String category,
Panel panel)
supportedLayout
public static boolean supportedLayout(java.lang.String layout)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getLayout
public java.lang.String getLayout()
- Returns the panel layout
- Returns:
- layout
the panel layout algorithm
setLayout
public void setLayout(java.lang.String layout)
getNumnSpecs
public int getNumnSpecs()
- Returns the number of control specifications in the panel
- Returns:
- numSpecs
the number of control specifications
getSpecs
public ControlSpec[] getSpecs()
getSpec
public ControlSpec getSpec(int index)
addSpec
public void addSpec(ControlSpec spec)
- Adds a control specification to the panel
- Parameters:
spec
- the specification to be added
removeSpec
public void removeSpec(int index)
- Removes a control specification from a panel
- Parameters:
index
- the location of the specification to remove
Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.