Uses of Class
org.pushingpixels.radiance.theming.api.ComponentState
Packages that use ComponentState
Package
Description
-
Uses of ComponentState in org.pushingpixels.radiance.theming.api
Fields in org.pushingpixels.radiance.theming.api declared as ComponentStateModifier and TypeFieldDescriptionstatic final ComponentState
ComponentState.ARMED
Armed.static final ComponentState
ComponentState.DEFAULT
Default.static final ComponentState
ComponentState.DETERMINATE
Determinatestatic final ComponentState
ComponentState.DISABLED_DEFAULT
Disabled default.static final ComponentState
ComponentState.DISABLED_DETERMINATE
Disabled and determinate.static final ComponentState
ComponentState.DISABLED_INDETERMINATE
Disabled and indeterminate.static final ComponentState
ComponentState.DISABLED_MIXED
Disabled and mixed.static final ComponentState
ComponentState.DISABLED_SELECTED
Disabled selected.static final ComponentState
ComponentState.DISABLED_UNSELECTED
Disabled and not selected.static final ComponentState
ComponentState.ENABLED
Enabled state.private ComponentState
ComponentState.hardFallback
static final ComponentState
ComponentState.INDETERMINATE
Indeterminatestatic final ComponentState
ComponentState.MIXED
Mixstatic final ComponentState
ComponentState.PRESSED_MIXED
Pressed and mix.static final ComponentState
ComponentState.PRESSED_SELECTED
Pressed selected.static final ComponentState
ComponentState.PRESSED_UNSELECTED
Pressed and not selected.static final ComponentState
ComponentState.ROLLOVER_ARMED
Armed and rolled over.static final ComponentState
ComponentState.ROLLOVER_MIXED
Mix and rolled over.static final ComponentState
ComponentState.ROLLOVER_SELECTED
Selected and rolled over.static final ComponentState
ComponentState.ROLLOVER_UNSELECTED
Not selected and rolled over.static final ComponentState
ComponentState.SELECTED
Selected.Fields in org.pushingpixels.radiance.theming.api with type parameters of type ComponentStateModifier and TypeFieldDescriptionprivate static Set
<ComponentState> ComponentState.allStates
RadianceColorSchemeBundle.bestFillMap
RadianceColorSchemeBundle.bestFillMap
private Map
<RadianceThemingSlices.ColorOverlayType, Map<RadianceThemingSlices.DecorationAreaType, Map<ComponentState, Color>>> RadianceSkin.colorOverlayMap
private Map
<RadianceThemingSlices.ColorSchemeAssociationKind, Map<ComponentState, RadianceColorScheme>> RadianceColorSchemeBundle.colorSchemeMap
Maps from color scheme association kinds to the map of color schemes.private Map
<ComponentState, Float> RadianceColorSchemeBundle.stateAlphaMap
Maps from component state to the alpha channel applied on color scheme.private Map
<ComponentState, Float> RadianceColorSchemeBundle.stateHighlightAlphaMap
Maps from component state to the alpha channel applied on highlight color scheme.private Set
<ComponentState> RadianceSkin.statesWithAlpha
All component states that have associated non-trivial alpha values.Methods in org.pushingpixels.radiance.theming.api that return ComponentStateModifier and TypeMethodDescriptionComponentState.bestFit
(Collection<ComponentState> states) static ComponentState[]
ComponentState.getActiveStates()
Returns all active component states.static ComponentState[]
ComponentState.getAllStates()
Returns all component states.ComponentState.getHardFallback()
static ComponentState
ComponentState.getState
(boolean isEnabled, boolean isRollover, boolean isSelected) Returns the component state that matches the specified parameters.static ComponentState
ComponentState.getState
(AbstractButton button) Returns the state of the specified button.static ComponentState
ComponentState.getState
(ButtonModel model, JComponent component) Retrieves component state based on the button model (required parameter) and component itself (optional parameter).static ComponentState
ComponentState.getState
(ButtonModel model, JComponent component, boolean toIgnoreSelection) Retrieves component state based on the button model (required parameter) and button itself (optional parameter).static ComponentState
ComponentState.getState
(TriStateButtonModel model, boolean toIgnoreSelection) Methods in org.pushingpixels.radiance.theming.api that return types with arguments of type ComponentStateModifier and TypeMethodDescription(package private) Set
<ComponentState> RadianceColorSchemeBundle.getStatesWithAlpha()
Returns the set of all component states that have non-trivial alpha associated with them.Methods in org.pushingpixels.radiance.theming.api with parameters of type ComponentStateModifier and TypeMethodDescriptionprivate int
ComponentState.fitValue
(ComponentState state) float
RadianceColorSchemeBundle.getAlpha
(ComponentState componentState) Returns the alpha channel of color schemes for the specified component state.final float
RadianceSkin.getAlpha
(Component comp, ComponentState componentState) Returns the alpha channel of the color scheme of the component.RadianceColorSchemeBundle.getColorScheme
(ComponentState componentState) Returns the color scheme of the specified component in the specified component state.RadianceColorSchemeBundle.getColorScheme
(RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState, boolean allowFallback) Returns the color scheme to be used for painting the specified visual area of the component under the specified component state.final RadianceColorScheme
RadianceSkin.getColorScheme
(Component comp, ComponentState componentState) Returns the color scheme of the specified component in the specified component state.final RadianceColorScheme
RadianceSkin.getColorScheme
(Component comp, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState) Returns the color scheme to be used for painting the specified visual area of the component under the specified component state.final RadianceColorScheme
RadianceSkin.getColorScheme
(RadianceThemingSlices.DecorationAreaType decorationAreaType, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState) Returns the color scheme to be used for painting the specified visual area of components in the specified decoration area.final RadianceColorScheme
RadianceSkin.getDirectColorScheme
(Component comp, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState) Returns the color scheme to be used for painting the specified visual area of the component under the specified component state.float
RadianceColorSchemeBundle.getHighlightAlpha
(ComponentState componentState) Returns the alpha channel of the highlight color schemes for the specified component state.final float
RadianceSkin.getHighlightAlpha
(Component comp, ComponentState componentState) Returns the alpha channel of the highlight color scheme of the component.RadianceSkin.getOverlayColor
(RadianceThemingSlices.ColorOverlayType colorOverlayType, RadianceThemingSlices.DecorationAreaType decorationAreaType, ComponentState componentState) boolean
RadianceColorSchemeBundle.hasAlphaFor
(ComponentState componentState) boolean
RadianceColorSchemeBundle.hasHighlightAlphaFor
(ComponentState componentState) void
RadianceColorSchemeBundle.registerAlpha
(float alpha, ComponentState... states) Registers an alpha channel value for the specific component states.void
RadianceColorSchemeBundle.registerColorScheme
(RadianceColorScheme stateColorScheme, ComponentState... states) Registers a color scheme for the specific component state.void
RadianceColorSchemeBundle.registerColorScheme
(RadianceColorScheme scheme, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState... states) Registers the color scheme to be used for the specified visual area of controls under the specified states.void
RadianceColorSchemeBundle.registerHighlightAlpha
(float alpha, ComponentState... states) Registers a highlight alpha channel value for the specific component states.void
RadianceColorSchemeBundle.registerHighlightColorScheme
(RadianceColorScheme stateHighlightScheme, ComponentState... states) Registers a highlight color scheme for the specific component state if the component state is notnull
, or a global highlight color scheme otherwise.void
RadianceSkin.setOverlayColor
(Color color, RadianceThemingSlices.ColorOverlayType colorOverlayType, RadianceThemingSlices.DecorationAreaType decorationAreaType, ComponentState... componentStates) Method parameters in org.pushingpixels.radiance.theming.api with type arguments of type ComponentStateConstructors in org.pushingpixels.radiance.theming.api with parameters of type ComponentStateModifierConstructorDescriptionComponentState
(String name, ComponentState hardFallback, RadianceThemingSlices.ComponentStateFacet[] facetsOn, RadianceThemingSlices.ComponentStateFacet[] facetsOff) Creates a new component state. -
Uses of ComponentState in org.pushingpixels.radiance.theming.api.renderer
Fields in org.pushingpixels.radiance.theming.api.renderer with type parameters of type ComponentStateModifier and TypeFieldDescriptionprotected Map
<ComponentState, Float> RadianceDefaultListCellRenderer.activeContributions
private Map
<ComponentState, Float> RadianceDefaultTableCellRenderer.activeContributions
private Map
<ComponentState, Float> RadianceDefaultTreeCellRenderer.activeContributions
Methods in org.pushingpixels.radiance.theming.api.renderer that return types with arguments of type ComponentStateModifier and TypeMethodDescriptionRadianceDefaultListCellRenderer.getActiveContributions()
RadianceDefaultTableCellRenderer.getActiveContributions()
RadianceDefaultTreeCellRenderer.getActiveContributions()
Methods in org.pushingpixels.radiance.theming.api.renderer with parameters of type ComponentStateModifier and TypeMethodDescriptionprivate RadianceColorScheme
RadianceDefaultComboBoxRenderer.getColorSchemeForState
(JList list, int index, RadianceListUI listUI, ComponentState state) private RadianceColorScheme
RadianceDefaultListCellRenderer.getColorSchemeForState
(JList list, RadianceListUI ui, ComponentState state) private RadianceColorScheme
RadianceDefaultTableCellRenderer.getColorSchemeForState
(JTable table, RadianceTableUI ui, ComponentState state) private RadianceColorScheme
RadianceDefaultTableHeaderCellRenderer.getColorSchemeForState
(JTableHeader tableHeader, ComponentState activeState) private RadianceColorScheme
RadianceDefaultTreeCellRenderer.getColorSchemeForState
(JTree tree, RadianceTreeUI ui, ComponentState activeState) private RadianceColorScheme
RadiancePanelListCellRenderer.getColorSchemeForState
(JList list, RadianceListUI ui, ComponentState state) private RadianceColorScheme
RadiancePanelTreeCellRenderer.getColorSchemeForState
(JTree tree, RadianceTreeUI ui, ComponentState activeState) -
Uses of ComponentState in org.pushingpixels.radiance.theming.internal.animation
Fields in org.pushingpixels.radiance.theming.internal.animation declared as ComponentStateModifier and TypeFieldDescriptionprivate ComponentState
StateTransitionTracker.ModelStateInfo.currState
private ComponentState
StateTransitionTracker.ModelStateInfo.currStateNoSelection
Fields in org.pushingpixels.radiance.theming.internal.animation with type parameters of type ComponentStateModifier and TypeFieldDescriptionStateTransitionTracker.ModelStateInfo.stateContributionMap
StateTransitionTracker.ModelStateInfo.stateNoSelectionContributionMap
Methods in org.pushingpixels.radiance.theming.internal.animation that return ComponentStateModifier and TypeMethodDescriptionStateTransitionTracker.ModelStateInfo.getCurrModelState()
StateTransitionTracker.ModelStateInfo.getCurrModelStateNoSelection()
Methods in org.pushingpixels.radiance.theming.internal.animation that return types with arguments of type ComponentStateModifier and TypeMethodDescriptionStateTransitionTracker.ModelStateInfo.getStateContributionMap()
StateTransitionTracker.ModelStateInfo.getStateNoSelectionContributionMap()
-
Uses of ComponentState in org.pushingpixels.radiance.theming.internal.blade
Methods in org.pushingpixels.radiance.theming.internal.blade with parameters of type ComponentStateModifier and TypeMethodDescriptionstatic void
BladeIconUtils.drawCheckBox
(Graphics2D g, JComponent component, RadianceFillPainter fillPainter, RadianceBorderPainter borderPainter, int dimension, ComponentState componentState, RadianceColorScheme fillColorScheme, RadianceColorScheme markColorScheme, RadianceColorScheme borderColorScheme, float checkMarkVisibility, float checkMarkFlatness, boolean isCheckMarkFadingOut, float alpha) static void
BladeIconUtils.drawRadioButton
(Graphics2D g, AbstractButton button, RadianceFillPainter fillPainter, RadianceBorderPainter borderPainter, int dimension, ComponentState componentState, RadianceColorScheme fillColorScheme, RadianceColorScheme markColorScheme, RadianceColorScheme borderColorScheme, float checkMarkVisibility, float alpha) BladeTransitionAwareIcon.ColorSchemeAssociationKindDelegate.getColorSchemeAssociationKind
(ComponentState state) BladeUtils.ColorSchemeDelegate.getColorSchemeForActiveState
(ComponentState state) BladeUtils.ColorSchemeDelegate.getColorSchemeForCurrentState
(ComponentState state) static void
BladeUtils.populateColorScheme
(BladeColorScheme bladeColorScheme, Component component, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, boolean treatEnabledAsActive) static void
BladeUtils.populateColorScheme
(BladeColorScheme bladeColorScheme, JTabbedPane tabbedPane, int tabIndex, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, boolean useNoSelectionStateContributionMap) static void
BladeUtils.populateColorScheme
(BladeColorScheme bladeColorScheme, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, BladeUtils.ColorSchemeDelegate colorSchemeDelegate, boolean useNoSelectionStateContributionMap) -
Uses of ComponentState in org.pushingpixels.radiance.theming.internal.ui
Methods in org.pushingpixels.radiance.theming.internal.ui that return ComponentStateModifier and TypeMethodDescriptionRadianceListUI.getCellState
(int cellIndex, Component rendererComponent) Returns the current state for the specified cell.RadianceTableUI.getCellState
(RadianceTableUI.TableCellId cellIndex) Returns the current state for the specified cell.RadianceTableHeaderUI.getColumnState
(int columnIndex) Returns the current state for the specified cell.private ComponentState
RadianceProgressBarUI.getFillState()
RadianceTreeUI.getPathState
(RadianceTreeUI.TreePathId pathId) Returns the current state for the specified path.private ComponentState
RadianceProgressBarUI.getProgressState()
protected ComponentState
RadianceTabbedPaneUI.getTabState
(int tabIndex, boolean toAllowIgnoringSelectedState) Returns the current state for the specified tab. -
Uses of ComponentState in org.pushingpixels.radiance.theming.internal.utils
Fields in org.pushingpixels.radiance.theming.internal.utils with type parameters of type ComponentStateModifier and TypeFieldDescriptionprivate Map
<ComponentState, Float> UpdateOptimizationInfo.highlightAlphaMap
private Map
<ComponentState, RadianceColorScheme> UpdateOptimizationInfo.highlightBorderSchemeMap
private Map
<ComponentState, RadianceColorScheme> UpdateOptimizationInfo.highlightSchemeMap
Methods in org.pushingpixels.radiance.theming.internal.utils that return types with arguments of type ComponentStateMethods in org.pushingpixels.radiance.theming.internal.utils with parameters of type ComponentStateModifier and TypeMethodDescriptionstatic RadianceColorScheme
RadianceColorSchemeUtilities.getActiveColorScheme
(Component component, ComponentState componentState) Returns the active color scheme of the component.static float
RadianceColorSchemeUtilities.getAlpha
(Component component, ComponentState componentState) Returns the alpha channel of the color scheme of the component.static RadianceColorScheme
RadianceColorSchemeUtilities.getColorScheme
(Component component, ComponentState componentState) Returns the color scheme of the specified component.static RadianceColorScheme
RadianceColorSchemeUtilities.getColorScheme
(Component component, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState) Returns the color scheme of the component.static RadianceColorScheme
RadianceColorSchemeUtilities.getColorScheme
(JTabbedPane jtp, int tabIndex, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState) Returns the color scheme of the specified tabbed pane tab.private static ColorUIResource
RadianceColorUtilities.getDefaultBackgroundColor
(Component comp, ComponentState compState) Returns the default background color for the specified component.static RadianceColorScheme
RadianceColorSchemeUtilities.getDirectColorScheme
(Component component, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState) Returns the color scheme of the component.static Icon
RadianceCoreUtilities.getFilteredIcon
(JComponent comp, Icon orig, ComponentState componentState, Color textColor) static Icon
RadianceCoreUtilities.getFilteredIcon
(JTabbedPane tab, Icon orig, ComponentState componentState, Color textColor) static Color
RadianceTextUtilities.getForegroundColor
(JComponent component, ComponentState state, float textAlpha) Returns the foreground color for the specified component.static float
RadianceColorSchemeUtilities.getHighlightAlpha
(Component component, ComponentState componentState) Returns the alpha channel of the highlight color scheme of the component.float
UpdateOptimizationInfo.getHighlightAlpha
(ComponentState state) UpdateOptimizationInfo.getHighlightBorderColorScheme
(ComponentState state) UpdateOptimizationInfo.getHighlightColorScheme
(ComponentState state) RadianceCoreUtilities.getIconFilterStrategy
(JComponent component, ComponentState componentState) static Color
RadianceCoreUtilities.getTextBackgroundFill
(Component component, ComponentState componentState) static Color
RadianceCoreUtilities.getTextSelectionBackground
(Component component, ComponentState componentState) static Color
RadianceCoreUtilities.getTextSelectionForeground
(Component component, ComponentState componentState) static Color
RadianceTextUtilities.paintText
(Graphics g, JComponent component, Rectangle textRect, String text, int mnemonicIndex, ComponentState state, float textAlpha) Paints the specified text.