Overview
Author(s):
General Methods
| access | type | name | parameters |
|---|
[show]methods inherited from org.jdesktop.swingx.JXColorSelectionButton
[show]methods inherited from javax.swing.JButton
configurePropertiesFromAction, paramString, removeNotify, updateUI,
[show]methods inherited from javax.swing.AbstractButton
addActionListener, addChangeListener, addImpl, addItemListener, checkHorizontalKey, checkVerticalKey, configurePropertiesFromAction, createActionListener, createActionPropertyChangeListener, createChangeListener, createItemListener, doClick, doClick, fireActionPerformed, fireItemStateChanged, fireStateChanged, imageUpdate, init, paintBorder, paramString, removeActionListener, removeChangeListener, removeItemListener, updateUI,
[show]methods inherited from javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, grabFocus, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, 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, unregisterKeyboardAction, update, updateUI,
[show]methods inherited from java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, insets, invalidate, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree,
[show]methods inherited from java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate,
Constructors
| access | name | parameters |
|---|---|---|
| public | JXColorSelectionButton | () |
| public | JXColorSelectionButton |
(Color col, )
|
public JXColorSelectionButton
()
Creates a new instance of JXColorSelectionButton
Parameters
public JXColorSelectionButton
(Color col, )
Creates a new instance of JXColorSelectionButton set to the specified color.
Parameters
- col The default color
Properties
| name | type | description | get/set | access | inherited | bound |
|---|---|---|---|---|---|---|
| chooser | JColorChooser | --- | -- | public | -- | -- |
[show]properties inherited from javax.swing.JButton
accessibleContext , defaultButton , defaultCapable , uIClassID ,
[show]properties inherited from javax.swing.AbstractButton
action , actionCommand , actionListeners , borderPainted , changeListeners , contentAreaFilled , disabledIcon , disabledSelectedIcon , displayedMnemonicIndex , enabled , focusPainted , horizontalAlignment , horizontalTextPosition , icon , iconTextGap , itemListeners , label , layout , margin , mnemonic , model , multiClickThreshhold , pressedIcon , rolloverEnabled , rolloverIcon , rolloverSelectedIcon , selected , selectedIcon , selectedObjects , text , uI , verticalAlignment , verticalTextPosition ,
[show]properties inherited from javax.swing.JComponent
accessibleContext , actionForKeyStroke , actionMap , alignmentX , alignmentY , ancestorListeners , autoscrolls , background , border , bounds , clientProperty , componentGraphics , componentPopupMenu , conditionForKeyStroke , debugGraphicsOptions , defaultLocale , doubleBuffered , enabled , focusTraversalKeys , font , fontMetrics , foreground , graphics , height , inheritsPopupMenu , inputMap , inputVerifier , insets , lightweightComponent , listeners , location , managingFocus , maximumSize , minimumSize , nextFocusableComponent , opaque , optimizedDrawingEnabled , paintingTile , popupLocation , preferredSize , registeredKeyStrokes , requestFocusEnabled , rootPane , size , toolTipLocation , toolTipText , topLevelAncestor , transferHandler , uI , uIClassID , validateRoot , verifyInputWhenFocusTarget , vetoableChangeListeners , visible , visibleRect , width , x , y ,
[show]properties inherited from java.awt.Container
alignmentX , alignmentY , ancestorOf , component , componentAt , componentCount , components , componentZOrder , containerListeners , focusCycleRoot , focusTraversalKeys , focusTraversalPolicy , focusTraversalPolicyProvider , focusTraversalPolicySet , font , insets , layout , listeners , maximumSize , minimumSize , mousePosition , preferredSize ,
[show]properties inherited from java.awt.Component
accessibleContext , alignmentX , alignmentY , background , backgroundSet , bounds , colorModel , componentAt , componentListeners , componentOrientation , cursor , cursorSet , displayable , doubleBuffered , dropTarget , enabled , focusable , focusCycleRoot , focusCycleRootAncestor , focusListeners , focusOwner , focusTraversable , focusTraversalKeys , focusTraversalKeysEnabled , font , fontMetrics , fontSet , foreground , foregroundSet , graphics , graphicsConfiguration , height , hierarchyBoundsListeners , hierarchyListeners , ignoreRepaint , inputContext , inputMethodListeners , inputMethodRequests , keyListeners , lightweight , listeners , locale , location , locationOnScreen , maximumSize , maximumSizeSet , minimumSize , minimumSizeSet , mouseListeners , mouseMotionListeners , mousePosition , mouseWheelListeners , name , opaque , parent , peer , preferredSize , preferredSizeSet , propertyChangeListeners , showing , size , toolkit , treeLock , valid , visible , width , x , y ,
chooser
public JColorChooser getChooser
()
Get the JColorChooser that is used by this JXColorSelectionButton. This chooser instance is shared between all invocations of the chooser, but is unique to this instance of JXColorSelectionButton.
Parameters
public void setChooser
(JColorChooser chooser, )
Set the JColorChooser that is used by this JXColorSelectionButton. chooser instance is shared between all invocations of the chooser, but is unique to this instance of JXColorSelectionButton.
Parameters
- chooser The new JColorChooser to use.
Static and Factory Methods
| public | void | main | (String args, ) |
staticpublic void main
(String args, )
Sample usage of JXColorSelectionButton
parameters
- args not used