com::cosylab::gui::components::r2::SmartTextPane Class Reference

Inheritance diagram for com::cosylab::gui::components::r2::SmartTextPane:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::gui::components::r2::SmartTextPane:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SmartTextPane ()
 SmartTextPane (javax.swing.text.StyledDocument doc)
void append (String text)
javax.swing.JFileChooser getFileChooser ()
int getMaxLines ()
javax.swing.JPopupMenu getPopup ()
boolean isAuto_cut ()
boolean isAuto_scroll ()
void saveTextToFile ()
void setAuto_cut (boolean newAuto_cut)
void setAuto_scroll (boolean newAuto_scroll)
void setFileChooser (javax.swing.JFileChooser newFileChooser)
void setMaxLines (int newMaxLines)
void setPopup (javax.swing.JPopupMenu newPopup)
void textInserted ()

Static Public Member Functions

static void main (String[] args)

Private Member Functions

void initialize ()
synchronized void showPopup (java.awt.event.MouseEvent mouseEvent)

Private Attributes

JFileChooser fileChooser = null
JPopupMenu popup = null
boolean auto_cut = true
boolean auto_scroll = true
int maxLines = 1000
boolean popupInitialized = false

Detailed Description

Insert the type's description here. Creation date: (15.2.2002 17:42:12)

Author:
:

Constructor & Destructor Documentation

com::cosylab::gui::components::r2::SmartTextPane::SmartTextPane (  )  [inline]

SmartTextPane constructor comment.

References initialize().

Referenced by main().

com::cosylab::gui::components::r2::SmartTextPane::SmartTextPane ( javax.swing.text.StyledDocument  doc  )  [inline]

SmartTextPane constructor comment.

Parameters:
doc javax.swing.text.StyledDocument

References initialize().


Member Function Documentation

void com::cosylab::gui::components::r2::SmartTextPane::append ( String  text  )  [inline]
javax.swing.JFileChooser com::cosylab::gui::components::r2::SmartTextPane::getFileChooser (  )  [inline]

Insert the method's description here. Creation date: (15.2.2002 17:43:56)

Returns:
javax.swing.JFileChooser

References fileChooser.

Referenced by saveTextToFile().

int com::cosylab::gui::components::r2::SmartTextPane::getMaxLines (  )  [inline]

Insert the method's description here. Creation date: (15.2.2002 17:45:08)

Returns:
int

References maxLines.

javax.swing.JPopupMenu com::cosylab::gui::components::r2::SmartTextPane::getPopup (  )  [inline]

Insert the method's description here. Creation date: (18.2.2002 17:58:02)

Returns:
javax.swing.JPopupMenu

References popup, and saveTextToFile().

Referenced by si::ijs::acs::objectexplorer::RemoteResponseWindow::remoteResponseWindow_Initialize(), and showPopup().

void com::cosylab::gui::components::r2::SmartTextPane::initialize (  )  [inline, private]

Insert the method's description here. Creation date: (18.2.2002 17:53:54)

References showPopup().

Referenced by SmartTextPane().

boolean com::cosylab::gui::components::r2::SmartTextPane::isAuto_cut (  )  [inline]

Insert the method's description here. Creation date: (15.2.2002 17:45:08)

Returns:
boolean

References auto_cut.

boolean com::cosylab::gui::components::r2::SmartTextPane::isAuto_scroll (  )  [inline]

Insert the method's description here. Creation date: (15.2.2002 17:45:08)

Returns:
boolean

References auto_scroll.

static void com::cosylab::gui::components::r2::SmartTextPane::main ( String[]  args  )  [inline, static]

Insert the method's description here. Creation date: (15.2.2002 17:42:30)

Parameters:
args java.lang.String[]

References append(), and SmartTextPane().

void com::cosylab::gui::components::r2::SmartTextPane::saveTextToFile (  )  [inline]

Comment

References getFileChooser().

Referenced by getPopup().

void com::cosylab::gui::components::r2::SmartTextPane::setAuto_cut ( boolean  newAuto_cut  )  [inline]

Insert the method's description here. Creation date: (15.2.2002 17:45:08)

Parameters:
newAuto_cut boolean

References auto_cut.

void com::cosylab::gui::components::r2::SmartTextPane::setAuto_scroll ( boolean  newAuto_scroll  )  [inline]

Insert the method's description here. Creation date: (15.2.2002 17:45:08)

Parameters:
newAuto_scroll boolean

References auto_scroll.

void com::cosylab::gui::components::r2::SmartTextPane::setFileChooser ( javax.swing.JFileChooser  newFileChooser  )  [inline]

Insert the method's description here. Creation date: (15.2.2002 17:43:56)

Parameters:
newFileChooser javax.swing.JFileChooser

References fileChooser.

void com::cosylab::gui::components::r2::SmartTextPane::setMaxLines ( int  newMaxLines  )  [inline]

Insert the method's description here. Creation date: (15.2.2002 17:45:08)

Parameters:
newMaxLines int

References maxLines.

Referenced by si::ijs::acs::objectexplorer::RemoteResponseWindow::getReportArea(), and si::ijs::acs::objectexplorer::RemoteResponseWindow::jTextField1_ActionPerformed().

void com::cosylab::gui::components::r2::SmartTextPane::setPopup ( javax.swing.JPopupMenu  newPopup  )  [inline]

Insert the method's description here. Creation date: (18.2.2002 17:58:02)

Parameters:
newPopup javax.swing.JPopupMenu

References popup.

synchronized void com::cosylab::gui::components::r2::SmartTextPane::showPopup ( java.awt.event.MouseEvent  mouseEvent  )  [inline, private]

Comment

References getPopup(), and popupInitialized.

Referenced by initialize().

void com::cosylab::gui::components::r2::SmartTextPane::textInserted (  )  [inline]

Method should be called when text was inserted

References auto_cut, auto_scroll, and maxLines.

Referenced by append().


Member Data Documentation

Referenced by getFileChooser(), and setFileChooser().

Referenced by getPopup(), and setPopup().

Referenced by showPopup().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2