@Deprecated public class SwColorSlider extends SwSlider
| Modifier and Type | Field and Description |
|---|---|
static int |
BLUE_SLIDER
Deprecated.
|
static int |
GREEN_SLIDER
Deprecated.
|
static int |
HUE_SLIDER
Deprecated.
|
static int |
INTENSITY_SLIDER
Deprecated.
|
static int |
RED_SLIDER
Deprecated.
|
static int |
SATURATION_SLIDER
Deprecated.
|
static int |
VALUE_SLIDER
Deprecated.
|
| Constructor and Description |
|---|
SwColorSlider()
Deprecated.
Default type of slider is INTENSITY_SLIDER.
|
SwColorSlider(int type)
Deprecated.
Default type of slider is INTENSITY_SLIDER.
|
SwColorSlider(int type,
int textSize)
Deprecated.
Construct a SwColorSlider with the given type of slider.
|
| Modifier and Type | Method and Description |
|---|---|
float[] |
getBaseColor()
Deprecated.
|
int |
getType()
Deprecated.
|
boolean |
isWYSIWYG()
Deprecated.
|
void |
setBaseColor(float[] c)
Deprecated.
Routine used to specify the slider value and also the top region
color (WYSIWYGmode in most cases).
|
void |
setWYSIWYG(boolean wysiwyg)
Deprecated.
This routine sets the WYSIWYG (What You See Is What You Get) mode
to be true or false (default false).
|
addSliderListener, getLabel, getSliderSize, getValue, isNumericFieldVisible, redraw, removeSliderListener, setLabel, setNumericFieldVisible, setSliderSize, setValueadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validateaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final int RED_SLIDER
public static final int GREEN_SLIDER
public static final int BLUE_SLIDER
public static final int HUE_SLIDER
public static final int SATURATION_SLIDER
public static final int VALUE_SLIDER
public static final int INTENSITY_SLIDER
public SwColorSlider()
public SwColorSlider(int type)
public SwColorSlider(int type,
int textSize)
public void setBaseColor(float[] c)
NOTE: routine expects
an rgb color for R, G or B slider type
an hsv color for H, S, or V slider type
an rgb color for Intensity slider type
NOTE: if calling setBaseColor() changes the thumb position the
listeners will be called with the new value.c - is a 3 floats array representing an RGB or a HSV color.public float[] getBaseColor()
public void setWYSIWYG(boolean wysiwyg)
public boolean isWYSIWYG()
public int getType()
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com