| javax.swing.JScrollPane net.xoetrope.swing.XScrollPane net.xoetrope.swing.XScrollableMetaContent
XScrollableMetaContent | public XScrollableMetaContent()(Code) | | Constrcuts a new container for an XMetaContent component
|
getContent | public String getContent()(Code) | | Get the meta content's name .
the model name of the content |
getFileName | public String getFileName()(Code) | | Get the source of the current content
|
setAttribute | public void setAttribute(String attribName, String attribValue)(Code) | | Set one or more attributes of the component.
horizontal scrollbar, values=as needed|always|never
vertical scrollbar, values=as needed|always|never
Parameters: attribName - the attribute name Parameters: attribValue - the attribute value |
setBackground | public void setBackground(Color bkColor)(Code) | | Set the background color and that of the content
Parameters: bkColor - |
setBounds | public void setBounds(int x, int y, int w, int h)(Code) | | Sets the bounds for this component
Parameters: x - Parameters: y - Parameters: w - Parameters: h - |
setContent | public void setContent(String source, XmlElement src)(Code) | | Sets the meta content
Parameters: source - the location from which the xml was obtained Parameters: src - the new content |
setFileName | public void setFileName(String fileName)(Code) | | Get the source of the current content
|
setFont | public void setFont(Font font)(Code) | | Set the font and that of the content
Parameters: font - the new font |
setForeground | public void setForeground(Color fgColor)(Code) | | Set the foreground color and that of the content
Parameters: bkColor - |
setPadding | public void setPadding(int padding)(Code) | | Sets the padding for the content
Parameters: padding - |
setStyle | public void setStyle(String style)(Code) | | Set the current style
Parameters: style - the new style |
|
|