Extension SDK 10.1.2

oracle.ide.controls
Class JWrappedLabel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byoracle.bali.ewt.painter.PaintContextComponent
                  extended byoracle.bali.ewt.LWComponent
                      extended byoracle.bali.ewt.scrolling.ScrollableComponent
                          extended byoracle.bali.ewt.text.MultiLineLabel
                              extended byoracle.ide.controls.JWrappedLabel
All Implemented Interfaces:
javax.accessibility.Accessible, oracle.bali.ewt.dnd.Autoscroll, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.Scrollable, java.io.Serializable

public class JWrappedLabel
extends oracle.bali.ewt.text.MultiLineLabel

Subclass of MultiLineLabel that is word-wrapped by default and calculates its preferred size based on the layout manager (rather than any particular aspect ratio).

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class oracle.bali.ewt.text.MultiLineLabel
ALIGNMENT_CENTER, ALIGNMENT_DEFAULT, ALIGNMENT_LEFT, ALIGNMENT_RIGHT, ASPECTRATIO_NONE, NOT_SET, PROPERTY_TEXT
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JWrappedLabel()
           
JWrappedLabel(java.lang.String text)
           
JWrappedLabel(oracle.bali.ewt.text.TextWrapper wrapper, java.lang.String text)
           
 
Methods inherited from class oracle.bali.ewt.text.MultiLineLabel
addNotify, createToolTip, doLayout, getAccessibleContext, getForeground, getMaximumColumns, getMaximumRows, getMaximumSize, getMinimumColumns, getMinimumRows, getMinimumSize, getPreferredAspectRatio, getPreferredColumns, getPreferredRows, getPreferredScrollableViewportSize, getScrollableTracksViewportWidth, getText, getTextWrapper, getVMaximum, getVOffsetOfValue, getVValueOfOffset, isForceWrapping, isFullyJustified, isHScrollable, isVerticalShrinking, isVScrollable, layoutCanvas, paintCanvasInterior, setFont, setForceWrapping, setForeground, setFullJustification, setLocale, setMaximumColumns, setMaximumRows, setMaximumSize, setMinimumColumns, setMinimumRows, setMinimumSize, setPreferredAspectRatio, setPreferredColumns, setPreferredRows, setText, setTextWrapper, setVerticalShrinking, updateUI
 
Methods inherited from class oracle.bali.ewt.scrolling.ScrollableComponent
autoscroll, clipCanvasToParents, convertCanvasToOuter, convertInnerToOuterSize, convertInnerToOuterSize, convertInteriorToOuter, convertOuterToCanvas, convertOuterToInterior, getAutoscrollInsets, getCanvasBounds, getCanvasGraphics, getCanvasHeight, getCanvasOrigin, getCanvasOriginX, getCanvasOriginY, getCanvasSize, getCanvasWidth, getDocumentSize, getHMaximum, getHOffsetOfValue, getHValueOfOffset, getInnerBounds, getInnerHeight, getInnerOrigin, getInnerSize, getInnerWidth, getPreferredSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableUnitIncrement, getScrollParent, getViewport, invalidateCanvas, layout, makeCanvasGraphics, paintComponent, paintImmediateCanvas, printPage, removeNotify, repaintCanvas, setCanvasBounds, setCanvasOrigin, setCanvasSize, setPreferredSize
 
Methods inherited from class oracle.bali.ewt.LWComponent
clipToParents, freezeRepaints, getActualAlignment, getActualReadingDirection, getAlignment, getBorderInsets, getFill, getPageBounds, getPrintPaintContext, isFocusTraversable, paintChildren, paintImmediateInterior, paintImmediateInterior, paintImmediately, paintOverChildren, processEvent, processEventImpl, repaint, repaintInterior, repaintInterior, setAlignment, setFill, unfreezeRepaints
 
Methods inherited from class oracle.bali.ewt.painter.PaintContextComponent
getBorderContext, getPaintContext, getPaintData, getPaintState, getUIDefaults, setUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setInputMap, setInputVerifier, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JWrappedLabel

public JWrappedLabel()

JWrappedLabel

public JWrappedLabel(java.lang.String text)

JWrappedLabel

public JWrappedLabel(oracle.bali.ewt.text.TextWrapper wrapper,
                     java.lang.String text)

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.