applications.proxy.ui
Class LoggableTextArea

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.text.JTextComponent
                          |
                          +--javax.swing.JTextArea
                                |
                                +--applications.proxy.ui.LoggableTextArea

public class LoggableTextArea
extends JTextArea


Inner classes inherited from class javax.swing.JTextArea
JTextArea.AccessibleJTextArea

Field Summary
 private booleanlog
           
 private StringlogFile
           

Fields inherited from class javax.swing.text.JTextComponent
FOCUS_ACCELERATOR_KEY, DEFAULT_KEYMAP

Fields inherited from class javax.swing.JComponent
ui, listenerList, WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, accessibleContext

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Method Summary
 voidappend(String s)
           
 StringgetLogFile()
           
 voidsetLog(boolean log)
           
 voidsetLogFile(String newLogFile)
           

Methods inherited from class javax.swing.JTextArea
getUIClassID, createDefaultModel, setTabSize, getTabSize, setLineWrap, getLineWrap, setWrapStyleWord, getWrapStyleWord, getLineOfOffset, getLineCount, getLineStartOffset, getLineEndOffset, insert, replaceRange, isManagingFocus, processKeyEvent, getRows, setRows, getRowHeight, getColumns, setColumns, getColumnWidth, getPreferredSize, setFont, paramString, getScrollableTracksViewportWidth, getPreferredScrollableViewportSize, getScrollableUnitIncrement, getAccessibleContext

Methods inherited from class javax.swing.text.JTextComponent
getUI, setUI, updateUI, addCaretListener, removeCaretListener, fireCaretUpdate, setDocument, getDocument, getActions, setMargin, getMargin, getCaret, setCaret, getHighlighter, setHighlighter, setKeymap, getKeymap, addKeymap, removeKeymap, getKeymap, loadKeymap, getCaretColor, setCaretColor, getSelectionColor, setSelectionColor, getSelectedTextColor, setSelectedTextColor, getDisabledTextColor, setDisabledTextColor, replaceSelection, getText, modelToView, viewToModel, cut, copy, paste, moveCaretPosition, setFocusAccelerator, getFocusAccelerator, read, write, removeNotify, isFocusTraversable, setCaretPosition, getCaretPosition, setText, getText, getSelectedText, isEditable, setEditable, getSelectionStart, setSelectionStart, getSelectionEnd, setSelectionEnd, select, selectAll, getScrollableBlockIncrement, getScrollableTracksViewportHeight, processInputMethodEvent, getInputMethodRequests, addInputMethodListener

Methods inherited from class javax.swing.JComponent
setUI, getComponentGraphics, paintComponent, paintChildren, paintBorder, update, paint, printAll, print, printComponent, printChildren, printBorder, isPaintingTile, isFocusCycleRoot, setNextFocusableComponent, getNextFocusableComponent, setRequestFocusEnabled, isRequestFocusEnabled, requestFocus, grabFocus, setVerifyInputWhenFocusTarget, getVerifyInputWhenFocusTarget, setPreferredSize, setMaximumSize, getMaximumSize, setMinimumSize, getMinimumSize, isMinimumSizeSet, isPreferredSizeSet, isMaximumSizeSet, contains, setBorder, getBorder, getInsets, getInsets, getAlignmentY, setAlignmentY, getAlignmentX, setAlignmentX, setInputVerifier, getInputVerifier, getGraphics, setDebugGraphicsOptions, getDebugGraphicsOptions, registerKeyboardAction, registerKeyboardAction, unregisterKeyboardAction, getRegisteredKeyStrokes, getConditionForKeyStroke, getActionForKeyStroke, resetKeyboardActions, setInputMap, getInputMap, getInputMap, setActionMap, getActionMap, requestDefaultFocus, setVisible, hide, setEnabled, setForeground, setBackground, processFocusEvent, processComponentKeyEvent, processKeyBinding, setToolTipText, getToolTipText, getToolTipText, getToolTipLocation, createToolTip, scrollRectToVisible, setAutoscrolls, getAutoscrolls, processMouseMotionEvent, enable, disable, getClientProperty, putClientProperty, isLightweightComponent, reshape, getBounds, getSize, getLocation, getX, getY, getWidth, getHeight, hasFocus, isOpaque, setOpaque, computeVisibleRect, getVisibleRect, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, fireVetoableChange, addVetoableChangeListener, removeVetoableChangeListener, getTopLevelAncestor, addAncestorListener, removeAncestorListener, getListeners, addNotify, repaint, repaint, revalidate, isValidateRoot, isOptimizedDrawingEnabled, paintImmediately, paintImmediately, setDoubleBuffered, isDoubleBuffered, getRootPane

Methods inherited from class java.awt.Container
getComponentCount, countComponents, getComponent, getComponents, insets, add, add, add, add, add, addImpl, remove, remove, removeAll, getLayout, setLayout, doLayout, layout, invalidate, validate, validateTree, preferredSize, minimumSize, paintComponents, printComponents, addContainerListener, removeContainerListener, processEvent, processContainerEvent, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, isAncestorOf, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, isValid, isDisplayable, isVisible, isShowing, isEnabled, enable, enableInputMethods, show, show, getForeground, getBackground, getFont, getLocale, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, setBounds, isLightweight, getFontMetrics, setCursor, getCursor, paintAll, repaint, repaint, repaint, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, inside, contains, dispatchEvent, postEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, removeInputMethodListener, getInputContext, enableEvents, disableEvents, coalesceEvents, processComponentEvent, processMouseEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, transferFocus, nextFocus, add, remove, toString, list, list, list, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize

Field Detail

log

private boolean log

logFile

private String logFile
Method Detail

append

public void append(String s)

getLogFile

public String getLogFile()

setLog

public void setLog(boolean log)

setLogFile

public void setLogFile(String newLogFile)