| |
|
| java.awt.Frame com.ibm.richtext.awtui.TextFrame
TextFrame | final public class TextFrame extends Frame (Code) | | TextFrame is a Frame containing an editable TextPanel, a set of standard
menus, and a TabRuler. This class can be used as-is, but is
primarily intended to be a simple example of how to use the other classes
in this package.
See Also: com.ibm.richtext.textpanel.TextPanel See Also: AwtMenuBuilder See Also: TabRuler |
Constructor Summary | |
public | TextFrame() Create a new TextFrame with no text and no title. | public | TextFrame(String title) Create a new TextFrame with no text and the given title. | public | TextFrame(MConstText text, String title, Clipboard clipboard) Create a new TextFrame with the given text and title, whose
TextPanel will use the given clipboard.
Parameters: text - the initial text in the TextPanel. |
TextFrame | public TextFrame()(Code) | | Create a new TextFrame with no text and no title.
|
TextFrame | public TextFrame(String title)(Code) | | Create a new TextFrame with no text and the given title.
Parameters: title - the title of this Frame |
TextFrame | public TextFrame(MConstText text, String title, Clipboard clipboard)(Code) | | Create a new TextFrame with the given text and title, whose
TextPanel will use the given clipboard.
Parameters: text - the initial text in the TextPanel. If null theTextPanel will initially be empty Parameters: title - the title of this Frame Parameters: clipboard - the Clipboard which the TextPanel will use.If null the TextPanel will use a private Clipboard |
getTextPanel | public MTextPanel getTextPanel()(Code) | | Return the MTextPanel in this frame.
|
|
|
|