| javax.swing.JFrame com.ibm.richtext.swingui.JTextFrame
JTextFrame | final public class JTextFrame extends JFrame (Code) | | JTextFrame is a JFrame containing an editable JTextPanel, a set of standard
menus, and a JTabRuler. 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.JTextPanel See Also: SwingMenuBuilder See Also: JTabRuler |
Constructor Summary | |
public | JTextFrame() Create a new JTextFrame with no text, no title,
and a private clipboard. | public | JTextFrame(String title) Create a new JTextFrame with no text and the given title. | public | JTextFrame(MConstText text, String title, Clipboard clipboard) Create a new JTextFrame with the given text and title, whose
TextPanel will use the given clipboard.
Parameters: text - the initial text in the TextPanel. |
JTextFrame | public JTextFrame()(Code) | | Create a new JTextFrame with no text, no title,
and a private clipboard.
|
JTextFrame | public JTextFrame(String title)(Code) | | Create a new JTextFrame with no text and the given title.
The JTextPanel will use a private clipboard.
Parameters: title - the title of this Frame |
JTextFrame | public JTextFrame(MConstText text, String title, Clipboard clipboard)(Code) | | Create a new JTextFrame 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.
|
|
|