applications.proxy.main
Class PhatJTextPane

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.text.JTextComponent
                          |
                          +--javax.swing.JEditorPane
                                |
                                +--javax.swing.JTextPane
                                      |
                                      +--applications.proxy.main.PhatJTextPane

public class PhatJTextPane
extends JTextPane


Field Summary
 private Imagem_backgroundImage
           

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

Constructor Summary
PhatJTextPane()
           
PhatJTextPane(StyledDocument styledDocument)
           

Method Summary
 ImagegetBackgroundImage()
           
 protected voidpaintComponent(Graphics g)
           
 voidsetBackgroundImage(Image backgroundImage)
           

Methods inherited from class javax.swing.JTextPane
getUIClassID, setDocument, setStyledDocument, getStyledDocument, replaceSelection, insertComponent, insertIcon, addStyle, removeStyle, getStyle, setLogicalStyle, getLogicalStyle, getCharacterAttributes, setCharacterAttributes, getParagraphAttributes, setParagraphAttributes, getInputAttributes, getStyledEditorKit, createDefaultEditorKit, setEditorKit, paramString

Methods inherited from class javax.swing.JEditorPane
addHyperlinkListener, removeHyperlinkListener, fireHyperlinkUpdate, setPage, read, getStream, scrollToReference, getPage, setPage, getEditorKit, getContentType, setContentType, getEditorKitForContentType, setEditorKitForContentType, createEditorKitForContentType, registerEditorKitForContentType, registerEditorKitForContentType, getEditorKitClassNameForContentType, getPreferredSize, isManagingFocus, isFocusCycleRoot, processComponentKeyEvent, processKeyEvent, setText, getText, getScrollableTracksViewportWidth, getScrollableTracksViewportHeight, getAccessibleContext

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

Methods inherited from class javax.swing.JComponent
setUI, getComponentGraphics, paintChildren, paintBorder, update, paint, printAll, print, printComponent, printChildren, printBorder, isPaintingTile, 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, setFont, processFocusEvent, 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

m_backgroundImage

private Image m_backgroundImage
Constructor Detail

PhatJTextPane

public PhatJTextPane()

PhatJTextPane

public PhatJTextPane(StyledDocument styledDocument)
Method Detail

getBackgroundImage

public Image getBackgroundImage()

paintComponent

protected void paintComponent(Graphics g)

setBackgroundImage

public void setBackgroundImage(Image backgroundImage)