Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

Collaboration diagram for com::cosylab::gui::components::r2::SmartTextArea:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmartTextArea ()
 SmartTextArea (int rows, int columns)
 SmartTextArea (String text)
 SmartTextArea (String text, int rows, int columns)
 SmartTextArea (javax.swing.text.Document doc)
 SmartTextArea (javax.swing.text.Document doc, String text, int rows, int columns)
void append (String text)
javax.swing.JFileChooser getFileChooser ()
int getMaxLines ()
javax.swing.JPopupMenu getPopup ()
void insert (String text, int pos)
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 newMax_no_lines)
synchronized void showPopup (java.awt.event.MouseEvent mouseEvent)
void textInserted ()

Static Public Member Functions

void main (java.lang.String[] args)

Package Attributes

IvjEventHandler ivjEventHandler = new IvjEventHandler()

Private Member Functions

void connEtoC1 (java.awt.event.MouseEvent arg1)
void connEtoC2 (java.awt.event.ActionEvent arg1)
javax.swing.JMenuItem getJMenuItem1 ()
void handleException (java.lang.Throwable exception)
void initConnections () throws java.lang.Exception
void initialize ()

Private Attributes

int max_no_lines = 500
boolean auto_scroll = true
boolean auto_cut = true
javax.swing.JFileChooser fileChooser = null
boolean popupInitialized = false
javax.swing.JMenuItem ivjJMenuItem1 = null
javax.swing.JPopupMenu ivjJPopupMenu1 = null

Detailed Description

Creation date: (23.10.2001 19:46:12)
Author:
:


Constructor & Destructor Documentation

com::cosylab::gui::components::r2::SmartTextArea::SmartTextArea  )  [inline]
 

SmartTextArea constructor comment.

com::cosylab::gui::components::r2::SmartTextArea::SmartTextArea int  rows,
int  columns
[inline]
 

SmartTextArea constructor comment.

Parameters:
rows int
columns int

com::cosylab::gui::components::r2::SmartTextArea::SmartTextArea String  text  )  [inline]
 

SmartTextArea constructor comment.

Parameters:
text java.lang.String

com::cosylab::gui::components::r2::SmartTextArea::SmartTextArea String  text,
int  rows,
int  columns
[inline]
 

SmartTextArea constructor comment.

Parameters:
text java.lang.String
rows int
columns int

com::cosylab::gui::components::r2::SmartTextArea::SmartTextArea javax.swing.text.Document  doc  )  [inline]
 

SmartTextArea constructor comment.

Parameters:
doc javax.swing.text.Document

com::cosylab::gui::components::r2::SmartTextArea::SmartTextArea javax.swing.text.Document  doc,
String  text,
int  rows,
int  columns
[inline]
 

SmartTextArea constructor comment.

Parameters:
doc javax.swing.text.Document
text java.lang.String
rows int
columns int


Member Function Documentation

void com::cosylab::gui::components::r2::SmartTextArea::append String  text  )  [inline]
 

Creation date: (23.10.2001 21:38:33)

Parameters:
text java.lang.String

void com::cosylab::gui::components::r2::SmartTextArea::connEtoC1 java.awt.event.MouseEvent  arg1  )  [inline, private]
 

connEtoC1: (SmartTextArea.mouse.mouseClicked(java.awt.event.MouseEvent) --> SmartTextArea.showPopup(Ljava.awt.event.MouseEvent;)V)

Parameters:
arg1 java.awt.event.MouseEvent

void com::cosylab::gui::components::r2::SmartTextArea::connEtoC2 java.awt.event.ActionEvent  arg1  )  [inline, private]
 

connEtoC2: (JMenuItem1.action.actionPerformed(java.awt.event.ActionEvent) --> SmartTextArea.saveTextToFile()V)

Parameters:
arg1 java.awt.event.ActionEvent

javax.swing.JFileChooser com::cosylab::gui::components::r2::SmartTextArea::getFileChooser  )  [inline]
 

Insert the method's description here. Creation date: (1.2.2002 16:35:09)

Returns:
javax.swing.JFileChooser

javax.swing.JMenuItem com::cosylab::gui::components::r2::SmartTextArea::getJMenuItem1  )  [inline, private]
 

Return the JMenuItem1 property value.

Returns:
javax.swing.JMenuItem

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

Creation date: (23.10.2001 19:58:56)

Returns:
int

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

void com::cosylab::gui::components::r2::SmartTextArea::handleException java.lang.Throwable  exception  )  [inline, private]
 

Called whenever the part throws an exception.

Parameters:
exception java.lang.Throwable

void com::cosylab::gui::components::r2::SmartTextArea::initConnections  )  throws java.lang.Exception [inline, private]
 

Initializes connections

Exceptions:
java.lang.Exception The exception description.

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

Initialize the class.

void com::cosylab::gui::components::r2::SmartTextArea::insert String  text,
int  pos
[inline]
 

Creation date: (23.10.2001 21:41:28)

Parameters:
text java.lang.String
pos int

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

Creation date: (23.10.2001 19:58:56)

Returns:
boolean

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

Creation date: (23.10.2001 19:58:56)

Returns:
boolean

void com::cosylab::gui::components::r2::SmartTextArea::main java.lang.String[]  args  )  [inline, static]
 

main entrypoint - starts the part when it is run as an application

Parameters:
args java.lang.String[]

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

Comment

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

Creation date: (23.10.2001 19:58:56)

Parameters:
newAuto_cut boolean

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

Creation date: (23.10.2001 19:58:56)

Parameters:
newAuto_scroll boolean

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

Insert the method's description here. Creation date: (1.2.2002 16:35:09)

Parameters:
newFileChooser javax.swing.JFileChooser

void com::cosylab::gui::components::r2::SmartTextArea::setMaxLines int  newMax_no_lines  )  [inline]
 

Creation date: (23.10.2001 19:58:56)

Parameters:
newMax_no_lines int

synchronized void com::cosylab::gui::components::r2::SmartTextArea::showPopup java.awt.event.MouseEvent  mouseEvent  )  [inline]
 

Comment

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

Method should be called when text was inserted


Member Data Documentation

boolean com::cosylab::gui::components::r2::SmartTextArea::auto_cut = true [private]
 

boolean com::cosylab::gui::components::r2::SmartTextArea::auto_scroll = true [private]
 

javax.swing.JFileChooser com::cosylab::gui::components::r2::SmartTextArea::fileChooser = null [private]
 

IvjEventHandler com::cosylab::gui::components::r2::SmartTextArea::ivjEventHandler = new IvjEventHandler() [package]
 

javax.swing.JMenuItem com::cosylab::gui::components::r2::SmartTextArea::ivjJMenuItem1 = null [private]
 

javax.swing.JPopupMenu com::cosylab::gui::components::r2::SmartTextArea::ivjJPopupMenu1 = null [private]
 

int com::cosylab::gui::components::r2::SmartTextArea::max_no_lines = 500 [private]
 

boolean com::cosylab::gui::components::r2::SmartTextArea::popupInitialized = false [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:12:30 2009 for ACS Java API by doxygen 1.3.8