swingwtx.swing
Class JTextPane

java.lang.Object
  extended byswingwt.awt.Component
      extended byswingwt.awt.Container
          extended byswingwtx.swing.JComponent
              extended byswingwtx.swing.text.JTextComponent
                  extended byswingwtx.swing.JEditorPane
                      extended byswingwtx.swing.JTextPane
All Implemented Interfaces:
ImageObserver, MenuContainer

public class JTextPane
extends JEditorPane


Nested Class Summary
 
Nested classes inherited from class swingwtx.swing.text.JTextComponent
JTextComponent.TextEventHandler
 
Nested classes inherited from class swingwtx.swing.JComponent
JComponent.InternalFrameSelectionListener
 
Field Summary
 
Fields inherited from class swingwtx.swing.JEditorPane
editorPaneImpl
 
Fields inherited from class swingwtx.swing.text.JTextComponent
caret, doc, iRetVal, pCols, pEditable, ppeer, pRows, pText, pWordWrap, retVal, selEnd, selStart, view
 
Fields inherited from class swingwtx.swing.JComponent
accessibleContext, actionMap, ancestorInputMap, border, clientProperties, descendantHasPeer, focusInputMap, internalFrameAdapter, internalFrameParent, opaque, propertyChangeListeners, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW, windowInputMap
 
Fields inherited from class swingwt.awt.Container
composite, comps, containerListeners, layout, queuedValidateRequest
 
Fields inherited from class swingwt.awt.Component
actionCommand, actionListeners, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListeners, componentName, consumeAvailableHeight, consumeAvailableWidth, focusable, focusListeners, graphicsConfig, inputMethodListeners, isUserSetFont, keyListeners, layoutModifier, LEFT_ALIGNMENT, LOCK, mouseListeners, mouseMotionListeners, mouseWheelListeners, parent, pBackground, pCursor, pDoubleBuffered, peer, pEnabled, pFont, pForeground, pLayoutData, pLocation, pMaxSize, pMinSize, pPrefSize, pSize, pToolTipText, pVisible, RIGHT_ALIGNMENT, swingWTDefaultActionEventAdapter, swingWTEventAdapter, TOP_ALIGNMENT
 
Fields inherited from interface swingwt.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JTextPane()
           
JTextPane(StyledDocument doc)
           
 
Method Summary
 Style addStyle(java.lang.String nm, Style parent)
           
protected  EditorKit createDefaultEditorKit()
           
 AttributeSet getCharacterAttributes()
           
 MutableAttributeSet getInputAttributes()
           
 Style getLogicalStyle()
           
 AttributeSet getParagraphAttributes()
           
 Style getStyle(java.lang.String nm)
           
 StyledDocument getStyledDocument()
           
protected  StyledEditorKit getStyledEditorKit()
           
 java.lang.String getUIClassID()
           
 void insertComponent(Component c)
           
 void insertIcon(Icon g)
           
 void removeStyle(java.lang.String nm)
           
 void replaceSelection(java.lang.String content)
          NOT IMPLEMENTED
 void setCharacterAttributes(AttributeSet attr, boolean replace)
           
 void setDocument(Document doc)
           
 void setEditorKit(EditorKit kit)
           
 void setLogicalStyle(Style s)
           
 void setParagraphAttributes(AttributeSet attr, boolean replace)
           
 void setStyledDocument(StyledDocument doc)
           
 
Methods inherited from class swingwtx.swing.JEditorPane
addHyperlinkListener, calculatePreferredSize, getCaretPosition, getContentType, getDocument, getEditorKit, getSelectionColor, getSelectionEnd, getSelectionStart, getText, isEditable, removeHyperlinkListener, setCaretPosition, setContentType, setEditable, setPage, setPage, setSelectionColor, setSwingWTParent, setText
 
Methods inherited from class swingwtx.swing.text.JTextComponent
addInputMethodListener, copy, cut, getCaret, paste, select, selectAll, setCaret, setSelectedTextColor, setSelectionEnd, setSelectionStart
 
Methods inherited from class swingwtx.swing.JComponent
add, add, add, add, add, addPropertyChangeListener, addPropertyChangeListener, checkInternalFrameChild, dispose, getAccessibleContext, getActionMap, getAutoscrolls, getBorder, getClientProperty, getInputMap, getInsets, getToolTipLocation, getToolTipText, getTopLevelAncestor, getVisibleRect, isDoubleBuffered, isOpaque, isOptimizedDrawingEnabled, isValidateRoot, paint, paintBackground, paintChildren, paintComponent, paintImmediately, paintImmediately, putClientProperty, remove, remove, removePropertyChangeListener, removePropertyChangeListener, repaint, revalidate, scrollRectToVisible, setActionMap, setAutoscrolls, setBorder, setDoubleBuffered, setInputMap, setMargin, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled
 
Methods inherited from class swingwt.awt.Container
addComponentToLayout, addContainerListener, debug_showContainmentTree, doAdd, doLayout, getComponent, getComponentCount, getComponentOrientation, getComponents, getComposite, getLayout, getMaximumSize, getMinimumSize, getParent, getPreferredSize, invalidate, minimumSize, preferredSize, processContainerEvent, processEvent, queuedValidate, removeAll, removeComponentFromCache, removeContainerListener, setLayout, setLayoutImpl, validate
 
Methods inherited from class swingwt.awt.Component
add, addActionListener, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, componentOnlyDispose, computePreferredSize, contains, contains, createImage, createListenerArrayFromVector, createVolatileImage, dispatchEvent, getActionCommand, getAlignmentX, getAlignmentY, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getListeners, getLocation, getLocationOnScreen, getName, getPeer, getPeerSize, getSize, getSize, getSWTPeer, getToolkit, getToolTipText, getTreeLock, getWidth, getX, getY, grabFocus, hasFocus, hasSetFont, hide, imageUpdate, inside, isEnabled, isFocusable, isMinimumSizeSet, isShowing, isVisible, processActionEvent, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, processTraverseEvent, registerActionEvents, registerComponentEvents, registerEvents, registerExtendedModifyEvents, registerFocusEvents, registerKeyEvents, registerModifyEvents, registerMouseEvents, registerPaintEvents, registerTraversalEvents, remove, removeActionListener, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, repaint, repaint, repaint, requestFocus, setActionCommand, setAlignmentX, setAlignmentY, setBackground, setBounds, setBounds, setCachedProperties, setComponentOrientation, setComponentRemoved, setCursor, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setFont, setForeground, setHeight, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setSize, setSize, setToolTipText, setVisible, setWidth, show, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTextPane

public JTextPane()

JTextPane

public JTextPane(StyledDocument doc)
Method Detail

getUIClassID

public java.lang.String getUIClassID()

setDocument

public void setDocument(Document doc)
Overrides:
setDocument in class JEditorPane

setStyledDocument

public void setStyledDocument(StyledDocument doc)

getStyledDocument

public StyledDocument getStyledDocument()

replaceSelection

public void replaceSelection(java.lang.String content)
Description copied from class: JTextComponent
NOT IMPLEMENTED

Overrides:
replaceSelection in class JTextComponent

insertComponent

public void insertComponent(Component c)

insertIcon

public void insertIcon(Icon g)

addStyle

public Style addStyle(java.lang.String nm,
                      Style parent)

removeStyle

public void removeStyle(java.lang.String nm)

getStyle

public Style getStyle(java.lang.String nm)

setLogicalStyle

public void setLogicalStyle(Style s)

getLogicalStyle

public Style getLogicalStyle()

getCharacterAttributes

public AttributeSet getCharacterAttributes()

setCharacterAttributes

public void setCharacterAttributes(AttributeSet attr,
                                   boolean replace)

getParagraphAttributes

public AttributeSet getParagraphAttributes()

setParagraphAttributes

public void setParagraphAttributes(AttributeSet attr,
                                   boolean replace)

getInputAttributes

public MutableAttributeSet getInputAttributes()

getStyledEditorKit

protected final StyledEditorKit getStyledEditorKit()

createDefaultEditorKit

protected EditorKit createDefaultEditorKit()

setEditorKit

public final void setEditorKit(EditorKit kit)
Overrides:
setEditorKit in class JEditorPane