|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.dataselectors.html.RelationalMenuBar
public class RelationalMenuBar
The RelationalMenuBar is a TransformationBean that generates the appropriate HTML 4.0 that is used to display a menubar of available data selectors for a relational viewer, such as the TableView. The menubar is not visible by default, so the user must call setVisible(true) before calling write to display the menubar.
Note that the toString() method on this class calls the write
method, which may have undesirable side effects. See BaseTransformation.toString() for more information. Debuggers often use toString() to show the value of a variable, and this may cause unexpected behavior while debugging
For More Information:
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on the sas:RelationalMenuBar custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
Constructor Summary | |
---|---|
RelationalMenuBar()
Constructor. |
Method Summary | |
---|---|
javax.swing.table.TableModel |
getModel()
Returns the menubar data model |
void |
setModel(javax.swing.table.TableModel model)
Sets the menubar data model |
void |
write(java.io.PrintWriter arg0)
Writes the full version of the transformation which includes the following content: Opening container html element. |
Methods inherited from class com.sas.servlet.tbeans.BaseActionTransformation |
---|
dispose, getActionProvider, getActionSupportType, getUniqueId, isActionVisible, listActionTypes, listAreaTypes, setActionProvider, setActionSupportType, setActionVisible, setUniqueId |
Methods inherited from interface com.sas.servlet.tbeans.TransformationInterface |
---|
getCustomAttributes, getDescription, getId, getLocale, getName, getRequest, getResponse, getTagEpilog, getTagProlog, isVisible, setCustomAttributes, setDescription, setId, setLocale, setName, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, write, write, write |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderViewInterface |
---|
getRequest, setRequest |
Constructor Detail |
---|
public RelationalMenuBar()
Method Detail |
---|
public void setModel(javax.swing.table.TableModel model)
model
- the relational viewer modelpublic javax.swing.table.TableModel getModel()
public void write(java.io.PrintWriter arg0) throws java.io.IOException
BaseActionTransformation2
write
in interface TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class com.sas.servlet.tbeans.BaseActionTransformation2
arg0
- The output stream to which the full content
is written.
java.io.IOException
- Thrown if some type of I/O error occurs#preWrite(PrintWriter)
,
BaseActionTransformation2.writeContent(PrintWriter)
,
#postWrite(PrintWriter)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |