Uses of Class
org.pushingpixels.radiance.theming.api.ComponentState
-
-
Uses of ComponentState in org.pushingpixels.radiance.theming.api
Fields in org.pushingpixels.radiance.theming.api declared as ComponentState Modifier and Type Field Description static ComponentStateComponentState. ARMEDArmed.static ComponentStateComponentState. DEFAULTDefault.static ComponentStateComponentState. DETERMINATEDeterminatestatic ComponentStateComponentState. DISABLED_DEFAULTDisabled default.static ComponentStateComponentState. DISABLED_DETERMINATEDisabled and determinate.static ComponentStateComponentState. DISABLED_INDETERMINATEDisabled and indeterminate.static ComponentStateComponentState. DISABLED_MIXEDDisabled and mixed.static ComponentStateComponentState. DISABLED_SELECTEDDisabled selected.static ComponentStateComponentState. DISABLED_UNSELECTEDDisabled and not selected.static ComponentStateComponentState. ENABLEDEnabled state.private ComponentStateComponentState. hardFallbackstatic ComponentStateComponentState. INDETERMINATEIndeterminatestatic ComponentStateComponentState. MIXEDMixstatic ComponentStateComponentState. PRESSED_MIXEDPressed and mix.static ComponentStateComponentState. PRESSED_SELECTEDPressed selected.static ComponentStateComponentState. PRESSED_UNSELECTEDPressed and not selected.static ComponentStateComponentState. ROLLOVER_ARMEDArmed and rolled over.static ComponentStateComponentState. ROLLOVER_MIXEDMix and rolled over.static ComponentStateComponentState. ROLLOVER_SELECTEDSelected and rolled over.static ComponentStateComponentState. ROLLOVER_UNSELECTEDNot selected and rolled over.static ComponentStateComponentState. SELECTEDSelected.Fields in org.pushingpixels.radiance.theming.api with type parameters of type ComponentState Modifier and Type Field Description private static java.util.Set<ComponentState>ComponentState. allStatesprivate java.util.Map<RadianceThemingSlices.ColorSchemeAssociationKind,java.util.Map<ComponentState,ComponentState>>RadianceColorSchemeBundle. bestFillMapprivate java.util.Map<RadianceThemingSlices.ColorSchemeAssociationKind,java.util.Map<ComponentState,ComponentState>>RadianceColorSchemeBundle. bestFillMapprivate java.util.Map<RadianceThemingSlices.ColorOverlayType,java.util.Map<RadianceThemingSlices.DecorationAreaType,java.util.Map<ComponentState,java.awt.Color>>>RadianceSkin. colorOverlayMapprivate java.util.Map<RadianceThemingSlices.ColorSchemeAssociationKind,java.util.Map<ComponentState,RadianceColorScheme>>RadianceColorSchemeBundle. colorSchemeMapMaps from color scheme association kinds to the map of color schemes.private java.util.Map<ComponentState,java.lang.Float>RadianceColorSchemeBundle. stateAlphaMapMaps from component state to the alpha channel applied on color scheme.private java.util.Map<ComponentState,java.lang.Float>RadianceColorSchemeBundle. stateHighlightAlphaMapMaps from component state to the alpha channel applied on highlight color scheme.private java.util.Set<ComponentState>RadianceSkin. statesWithAlphaAll component states that have associated non-trivial alpha values.Methods in org.pushingpixels.radiance.theming.api that return ComponentState Modifier and Type Method Description ComponentStateComponentState. bestFit(java.util.Collection<ComponentState> states)static ComponentState[]ComponentState. getActiveStates()Returns all active component states.static ComponentState[]ComponentState. getAllStates()Returns all component states.ComponentStateComponentState. getHardFallback()static ComponentStateComponentState. getState(boolean isEnabled, boolean isRollover, boolean isSelected)Returns the component state that matches the specified parameters.static ComponentStateComponentState. getState(javax.swing.AbstractButton button)Returns the state of the specified button.static ComponentStateComponentState. getState(javax.swing.ButtonModel model, javax.swing.JComponent component)Retrieves component state based on the button model (required parameter) and component itself (optional parameter).static ComponentStateComponentState. getState(javax.swing.ButtonModel model, javax.swing.JComponent component, boolean toIgnoreSelection)Retrieves component state based on the button model (required parameter) and button itself (optional parameter).static ComponentStateComponentState. getState(TriStateButtonModel model, boolean toIgnoreSelection)Methods in org.pushingpixels.radiance.theming.api that return types with arguments of type ComponentState Modifier and Type Method Description (package private) java.util.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 ComponentState Modifier and Type Method Description private intComponentState. fitValue(ComponentState state)floatRadianceColorSchemeBundle. getAlpha(ComponentState componentState)Returns the alpha channel of color schemes for the specified component state.floatRadianceSkin. getAlpha(java.awt.Component comp, ComponentState componentState)Returns the alpha channel of the color scheme of the component.RadianceColorSchemeRadianceColorSchemeBundle. getColorScheme(ComponentState componentState)Returns the color scheme of the specified component in the specified component state.RadianceColorSchemeRadianceColorSchemeBundle. 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.RadianceColorSchemeRadianceSkin. getColorScheme(java.awt.Component comp, ComponentState componentState)Returns the color scheme of the specified component in the specified component state.RadianceColorSchemeRadianceSkin. getColorScheme(java.awt.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.RadianceColorSchemeRadianceSkin. 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.RadianceColorSchemeRadianceSkin. getDirectColorScheme(java.awt.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.floatRadianceColorSchemeBundle. getHighlightAlpha(ComponentState componentState)Returns the alpha channel of the highlight color schemes for the specified component state.floatRadianceSkin. getHighlightAlpha(java.awt.Component comp, ComponentState componentState)Returns the alpha channel of the highlight color scheme of the component.java.awt.ColorRadianceSkin. getOverlayColor(RadianceThemingSlices.ColorOverlayType colorOverlayType, RadianceThemingSlices.DecorationAreaType decorationAreaType, ComponentState componentState)booleanRadianceColorSchemeBundle. hasAlphaFor(ComponentState componentState)booleanRadianceColorSchemeBundle. hasHighlightAlphaFor(ComponentState componentState)voidRadianceColorSchemeBundle. registerAlpha(float alpha, ComponentState... states)Registers an alpha channel value for the specific component states.voidRadianceColorSchemeBundle. registerColorScheme(RadianceColorScheme stateColorScheme, ComponentState... states)Registers a color scheme for the specific component state.voidRadianceColorSchemeBundle. 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.voidRadianceColorSchemeBundle. registerHighlightAlpha(float alpha, ComponentState... states)Registers a highlight alpha channel value for the specific component states.voidRadianceColorSchemeBundle. 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.voidRadianceSkin. setOverlayColor(java.awt.Color color, RadianceThemingSlices.ColorOverlayType colorOverlayType, RadianceThemingSlices.DecorationAreaType decorationAreaType, ComponentState... componentStates)Method parameters in org.pushingpixels.radiance.theming.api with type arguments of type ComponentState Modifier and Type Method Description ComponentStateComponentState. bestFit(java.util.Collection<ComponentState> states)Constructors in org.pushingpixels.radiance.theming.api with parameters of type ComponentState Constructor Description ComponentState(java.lang.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 ComponentState Modifier and Type Field Description protected java.util.Map<ComponentState,java.lang.Float>RadianceDefaultListCellRenderer. activeContributionsprivate java.util.Map<ComponentState,java.lang.Float>RadianceDefaultTableCellRenderer. activeContributionsprivate java.util.Map<ComponentState,java.lang.Float>RadianceDefaultTreeCellRenderer. activeContributionsMethods in org.pushingpixels.radiance.theming.api.renderer that return types with arguments of type ComponentState Modifier and Type Method Description java.util.Map<ComponentState,java.lang.Float>RadianceDefaultListCellRenderer. getActiveContributions()java.util.Map<ComponentState,java.lang.Float>RadianceDefaultTableCellRenderer. getActiveContributions()java.util.Map<ComponentState,java.lang.Float>RadianceDefaultTreeCellRenderer. getActiveContributions()Methods in org.pushingpixels.radiance.theming.api.renderer with parameters of type ComponentState Modifier and Type Method Description private RadianceColorSchemeRadianceDefaultComboBoxRenderer. getColorSchemeForState(javax.swing.JList list, int index, RadianceListUI listUI, ComponentState state)private RadianceColorSchemeRadianceDefaultListCellRenderer. getColorSchemeForState(javax.swing.JList list, RadianceListUI ui, ComponentState state)private RadianceColorSchemeRadianceDefaultTableCellRenderer. getColorSchemeForState(javax.swing.JTable table, RadianceTableUI ui, ComponentState state)private RadianceColorSchemeRadianceDefaultTableHeaderCellRenderer. getColorSchemeForState(javax.swing.table.JTableHeader tableHeader, ComponentState activeState)private RadianceColorSchemeRadianceDefaultTreeCellRenderer. getColorSchemeForState(javax.swing.JTree tree, RadianceTreeUI ui, ComponentState activeState)private RadianceColorSchemeRadiancePanelListCellRenderer. getColorSchemeForState(javax.swing.JList list, RadianceListUI ui, ComponentState state)private RadianceColorSchemeRadiancePanelTreeCellRenderer. getColorSchemeForState(javax.swing.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 ComponentState Modifier and Type Field Description private ComponentStateStateTransitionTracker.ModelStateInfo. currStateprivate ComponentStateStateTransitionTracker.ModelStateInfo. currStateNoSelectionFields in org.pushingpixels.radiance.theming.internal.animation with type parameters of type ComponentState Modifier and Type Field Description private java.util.Map<ComponentState,StateTransitionTracker.StateContributionInfo>StateTransitionTracker.ModelStateInfo. stateContributionMapprivate java.util.Map<ComponentState,StateTransitionTracker.StateContributionInfo>StateTransitionTracker.ModelStateInfo. stateNoSelectionContributionMapMethods in org.pushingpixels.radiance.theming.internal.animation that return ComponentState Modifier and Type Method Description ComponentStateStateTransitionTracker.ModelStateInfo. getCurrModelState()ComponentStateStateTransitionTracker.ModelStateInfo. getCurrModelStateNoSelection()Methods in org.pushingpixels.radiance.theming.internal.animation that return types with arguments of type ComponentState Modifier and Type Method Description java.util.Map<ComponentState,StateTransitionTracker.StateContributionInfo>StateTransitionTracker.ModelStateInfo. getStateContributionMap()java.util.Map<ComponentState,StateTransitionTracker.StateContributionInfo>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 ComponentState Modifier and Type Method Description static voidBladeIconUtils. drawCheckBox(java.awt.Graphics2D g, javax.swing.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 voidBladeIconUtils. drawRadioButton(java.awt.Graphics2D g, javax.swing.AbstractButton button, RadianceFillPainter fillPainter, RadianceBorderPainter borderPainter, int dimension, ComponentState componentState, RadianceColorScheme fillColorScheme, RadianceColorScheme markColorScheme, RadianceColorScheme borderColorScheme, float checkMarkVisibility, float alpha)RadianceThemingSlices.ColorSchemeAssociationKindBladeTransitionAwareIcon.ColorSchemeAssociationKindDelegate. getColorSchemeAssociationKind(ComponentState state)RadianceColorSchemeBladeUtils.ColorSchemeDelegate. getColorSchemeForActiveState(ComponentState state)RadianceColorSchemeBladeUtils.ColorSchemeDelegate. getColorSchemeForCurrentState(ComponentState state)static voidBladeUtils. populateColorScheme(BladeColorScheme bladeColorScheme, java.awt.Component component, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, boolean treatEnabledAsActive)static voidBladeUtils. populateColorScheme(BladeColorScheme bladeColorScheme, javax.swing.JTabbedPane tabbedPane, int tabIndex, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, boolean useNoSelectionStateContributionMap)static voidBladeUtils. 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 ComponentState Modifier and Type Method Description ComponentStateRadianceListUI. getCellState(int cellIndex, java.awt.Component rendererComponent)Returns the current state for the specified cell.ComponentStateRadianceTableUI. getCellState(RadianceTableUI.TableCellId cellIndex)Returns the current state for the specified cell.ComponentStateRadianceTableHeaderUI. getColumnState(int columnIndex)Returns the current state for the specified cell.private ComponentStateRadianceProgressBarUI. getFillState()ComponentStateRadianceTreeUI. getPathState(RadianceTreeUI.TreePathId pathId)Returns the current state for the specified path.private ComponentStateRadianceProgressBarUI. getProgressState()protected ComponentStateRadianceTabbedPaneUI. 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 ComponentState Modifier and Type Field Description private java.util.Map<ComponentState,java.lang.Float>UpdateOptimizationInfo. highlightAlphaMapprivate java.util.Map<ComponentState,RadianceColorScheme>UpdateOptimizationInfo. highlightBorderSchemeMapprivate java.util.Map<ComponentState,RadianceColorScheme>UpdateOptimizationInfo. highlightSchemeMapMethods in org.pushingpixels.radiance.theming.internal.utils that return types with arguments of type ComponentState Modifier and Type Method Description java.util.Map<ComponentState,java.lang.Float>FilteredIconAwareRenderer. getActiveContributions()Methods in org.pushingpixels.radiance.theming.internal.utils with parameters of type ComponentState Modifier and Type Method Description static RadianceColorSchemeRadianceColorSchemeUtilities. getActiveColorScheme(java.awt.Component component, ComponentState componentState)Returns the active color scheme of the component.static floatRadianceColorSchemeUtilities. getAlpha(java.awt.Component component, ComponentState componentState)Returns the alpha channel of the color scheme of the component.static RadianceColorSchemeRadianceColorSchemeUtilities. getColorScheme(java.awt.Component component, ComponentState componentState)Returns the color scheme of the specified component.static RadianceColorSchemeRadianceColorSchemeUtilities. getColorScheme(java.awt.Component component, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState)Returns the color scheme of the component.static RadianceColorSchemeRadianceColorSchemeUtilities. getColorScheme(javax.swing.JTabbedPane jtp, int tabIndex, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState)Returns the color scheme of the specified tabbed pane tab.private static javax.swing.plaf.ColorUIResourceRadianceColorUtilities. getDefaultBackgroundColor(java.awt.Component comp, ComponentState compState)Returns the default background color for the specified component.static RadianceColorSchemeRadianceColorSchemeUtilities. getDirectColorScheme(java.awt.Component component, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState)Returns the color scheme of the component.static javax.swing.IconRadianceCoreUtilities. getFilteredIcon(javax.swing.JComponent comp, javax.swing.Icon orig, ComponentState componentState, java.awt.Color textColor)static javax.swing.IconRadianceCoreUtilities. getFilteredIcon(javax.swing.JTabbedPane tab, javax.swing.Icon orig, ComponentState componentState, java.awt.Color textColor)static java.awt.ColorRadianceTextUtilities. getForegroundColor(javax.swing.JComponent component, ComponentState state, float textAlpha)Returns the foreground color for the specified component.static floatRadianceColorSchemeUtilities. getHighlightAlpha(java.awt.Component component, ComponentState componentState)Returns the alpha channel of the highlight color scheme of the component.floatUpdateOptimizationInfo. getHighlightAlpha(ComponentState state)RadianceColorSchemeUpdateOptimizationInfo. getHighlightBorderColorScheme(ComponentState state)RadianceColorSchemeUpdateOptimizationInfo. getHighlightColorScheme(ComponentState state)static RadianceThemingSlices.IconFilterStrategyRadianceCoreUtilities. getIconFilterStrategy(javax.swing.JComponent component, ComponentState componentState)static java.awt.ColorRadianceCoreUtilities. getTextBackgroundFill(java.awt.Component component, ComponentState componentState)static java.awt.ColorRadianceCoreUtilities. getTextSelectionBackground(java.awt.Component component, ComponentState componentState)static java.awt.ColorRadianceCoreUtilities. getTextSelectionForeground(java.awt.Component component, ComponentState componentState)static java.awt.ColorRadianceTextUtilities. paintText(java.awt.Graphics g, javax.swing.JComponent component, java.awt.Rectangle textRect, java.lang.String text, int mnemonicIndex, ComponentState state, float textAlpha)Paints the specified text.
-