|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JScrollPane com.alee.laf.scroll.WebScrollPane
public class WebScrollPane
User: mgarin Date: 29.04.11 Time: 15:37
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JScrollPane |
---|
javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JScrollPane |
---|
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport |
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 javax.swing.ScrollPaneConstants |
---|
COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
WebScrollPane(java.awt.Component view)
|
|
WebScrollPane(java.awt.Component view,
boolean drawBorder)
|
|
WebScrollPane(java.awt.Component view,
boolean drawBorder,
boolean drawInnerBorder)
|
Method Summary | |
---|---|
WebScrollBar |
createHorizontalScrollBar()
|
WebScrollBar |
createVerticalScrollBar()
|
java.awt.Color |
getBorderColor()
|
java.awt.Color |
getDarkBorder()
|
java.lang.String |
getLanguageContainerKey()
Returns language container key for container which implements this interface. |
java.awt.Insets |
getMargin()
|
int |
getMinimumHeight()
Returns component minimum height. |
int |
getMinimumWidth()
Returns component minimum width. |
int |
getPreferredHeight()
Returns component preferred height. |
java.awt.Dimension |
getPreferredSize()
Returns component preferred size. |
int |
getPreferredWidth()
Returns component preferred width. |
int |
getRound()
|
int |
getShadeWidth()
|
WebScrollBar |
getWebHorizontalScrollBar()
|
WebScrollPaneUI |
getWebUI()
|
WebScrollBar |
getWebVerticalScrollBar()
Additional Web-component methods |
boolean |
isDrawBackground()
|
boolean |
isDrawBorder()
UI methods |
boolean |
isDrawFocus()
|
java.awt.Shape |
provideShape()
Returns component shape. |
void |
removeLanguageContainerKey()
Removes language container key for container which implements this interface. |
WebScrollPane |
setBorderColor(java.awt.Color borderColor)
|
WebScrollPane |
setDarkBorder(java.awt.Color darkBorder)
|
WebScrollPane |
setDrawBackground(boolean drawBackground)
|
WebScrollPane |
setDrawBorder(boolean drawBorder)
|
WebScrollPane |
setDrawFocus(boolean drawFocus)
|
void |
setLanguageContainerKey(java.lang.String key)
Sets language container key for container which implements this interface. |
WebScrollPane |
setMargin(java.awt.Insets margin)
|
WebScrollPane |
setMargin(int spacing)
|
WebScrollPane |
setMargin(int top,
int left,
int bottom,
int right)
|
WebScrollPane |
setMinimumHeight(int minimumHeight)
Sets component minimum height. |
WebScrollPane |
setMinimumWidth(int minimumWidth)
Sets component minimum width. |
void |
setPaintButtons(boolean paintButtons)
Scroll bars buttons painting. |
WebScrollPane |
setPreferredHeight(int preferredHeight)
Sets component preferred height. |
WebScrollPane |
setPreferredWidth(int preferredWidth)
Sets component preferred width. |
WebScrollPane |
setRound(int round)
|
void |
setScrollBarStyleId(java.lang.String id)
Sets scroll bar style ID. |
WebScrollPane |
setShadeWidth(int shadeWidth)
|
void |
updateUI()
|
Methods inherited from class javax.swing.JScrollPane |
---|
createViewport, getAccessibleContext, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getUI, getUIClassID, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorder, getViewportBorderBounds, isValidateRoot, isWheelScrollingEnabled, paramString, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportBorder, setViewportView, setWheelScrollingEnabled |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, 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 |
---|
public WebScrollPane(java.awt.Component view)
public WebScrollPane(java.awt.Component view, boolean drawBorder)
public WebScrollPane(java.awt.Component view, boolean drawBorder, boolean drawInnerBorder)
Method Detail |
---|
public WebScrollBar createVerticalScrollBar()
createVerticalScrollBar
in class javax.swing.JScrollPane
public WebScrollBar createHorizontalScrollBar()
createHorizontalScrollBar
in class javax.swing.JScrollPane
public WebScrollBar getWebVerticalScrollBar()
public WebScrollBar getWebHorizontalScrollBar()
public boolean isDrawBorder()
public WebScrollPane setDrawBorder(boolean drawBorder)
public int getRound()
public WebScrollPane setRound(int round)
public int getShadeWidth()
public WebScrollPane setShadeWidth(int shadeWidth)
public java.awt.Insets getMargin()
public WebScrollPane setMargin(java.awt.Insets margin)
public WebScrollPane setMargin(int top, int left, int bottom, int right)
public WebScrollPane setMargin(int spacing)
public boolean isDrawFocus()
public WebScrollPane setDrawFocus(boolean drawFocus)
public boolean isDrawBackground()
public WebScrollPane setDrawBackground(boolean drawBackground)
public java.awt.Color getBorderColor()
public WebScrollPane setBorderColor(java.awt.Color borderColor)
public java.awt.Color getDarkBorder()
public WebScrollPane setDarkBorder(java.awt.Color darkBorder)
public void setPaintButtons(boolean paintButtons)
public void setScrollBarStyleId(java.lang.String id)
id
- scroll bar style IDpublic java.awt.Shape provideShape()
ShapeProvider
provideShape
in interface ShapeProvider
public WebScrollPaneUI getWebUI()
public void updateUI()
updateUI
in class javax.swing.JScrollPane
public int getPreferredWidth()
getPreferredWidth
in interface SizeMethods<WebScrollPane>
public WebScrollPane setPreferredWidth(int preferredWidth)
setPreferredWidth
in interface SizeMethods<WebScrollPane>
preferredWidth
- new component preferred width
public int getPreferredHeight()
getPreferredHeight
in interface SizeMethods<WebScrollPane>
public WebScrollPane setPreferredHeight(int preferredHeight)
setPreferredHeight
in interface SizeMethods<WebScrollPane>
preferredHeight
- new component preferred height
public int getMinimumWidth()
getMinimumWidth
in interface SizeMethods<WebScrollPane>
public WebScrollPane setMinimumWidth(int minimumWidth)
setMinimumWidth
in interface SizeMethods<WebScrollPane>
minimumWidth
- new component minimum width
public int getMinimumHeight()
getMinimumHeight
in interface SizeMethods<WebScrollPane>
public WebScrollPane setMinimumHeight(int minimumHeight)
setMinimumHeight
in interface SizeMethods<WebScrollPane>
minimumHeight
- new component minimum height
public java.awt.Dimension getPreferredSize()
getPreferredSize
in interface SizeMethods<WebScrollPane>
getPreferredSize
in class javax.swing.JComponent
public void setLanguageContainerKey(java.lang.String key)
setLanguageContainerKey
in interface LanguageContainerMethods
key
- language container keypublic void removeLanguageContainerKey()
removeLanguageContainerKey
in interface LanguageContainerMethods
public java.lang.String getLanguageContainerKey()
getLanguageContainerKey
in interface LanguageContainerMethods
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |