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 ComponentState
ComponentState. ARMED
Armed.static ComponentState
ComponentState. DEFAULT
Default.static ComponentState
ComponentState. DETERMINATE
Determinatestatic ComponentState
ComponentState. DISABLED_DEFAULT
Disabled default.static ComponentState
ComponentState. DISABLED_DETERMINATE
Disabled and determinate.static ComponentState
ComponentState. DISABLED_INDETERMINATE
Disabled and indeterminate.static ComponentState
ComponentState. DISABLED_MIXED
Disabled and mixed.static ComponentState
ComponentState. DISABLED_SELECTED
Disabled selected.static ComponentState
ComponentState. DISABLED_UNSELECTED
Disabled and not selected.static ComponentState
ComponentState. ENABLED
Enabled state.private ComponentState
ComponentState. hardFallback
static ComponentState
ComponentState. INDETERMINATE
Indeterminatestatic ComponentState
ComponentState. MIXED
Mixstatic ComponentState
ComponentState. PRESSED_MIXED
Pressed and mix.static ComponentState
ComponentState. PRESSED_SELECTED
Pressed selected.static ComponentState
ComponentState. PRESSED_UNSELECTED
Pressed and not selected.static ComponentState
ComponentState. ROLLOVER_ARMED
Armed and rolled over.static ComponentState
ComponentState. ROLLOVER_MIXED
Mix and rolled over.static ComponentState
ComponentState. ROLLOVER_SELECTED
Selected and rolled over.static ComponentState
ComponentState. ROLLOVER_UNSELECTED
Not selected and rolled over.static ComponentState
ComponentState. SELECTED
Selected.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. allStates
private java.util.Map<RadianceThemingSlices.ColorSchemeAssociationKind,java.util.Map<ComponentState,ComponentState>>
RadianceColorSchemeBundle. bestFillMap
private java.util.Map<RadianceThemingSlices.ColorSchemeAssociationKind,java.util.Map<ComponentState,ComponentState>>
RadianceColorSchemeBundle. bestFillMap
private java.util.Map<RadianceThemingSlices.ColorOverlayType,java.util.Map<RadianceThemingSlices.DecorationAreaType,java.util.Map<ComponentState,java.awt.Color>>>
RadianceSkin. colorOverlayMap
private java.util.Map<RadianceThemingSlices.ColorSchemeAssociationKind,java.util.Map<ComponentState,RadianceColorScheme>>
RadianceColorSchemeBundle. colorSchemeMap
Maps from color scheme association kinds to the map of color schemes.private java.util.Map<ComponentState,java.lang.Float>
RadianceColorSchemeBundle. stateAlphaMap
Maps from component state to the alpha channel applied on color scheme.private java.util.Map<ComponentState,java.lang.Float>
RadianceColorSchemeBundle. stateHighlightAlphaMap
Maps from component state to the alpha channel applied on highlight color scheme.private java.util.Set<ComponentState>
RadianceSkin. statesWithAlpha
All component states that have associated non-trivial alpha values.Methods in org.pushingpixels.radiance.theming.api that return ComponentState Modifier and Type Method Description ComponentState
ComponentState. bestFit(java.util.Collection<ComponentState> states)
static ComponentState[]
ComponentState. getActiveStates()
Returns all active component states.static ComponentState[]
ComponentState. getAllStates()
Returns all component states.ComponentState
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(javax.swing.AbstractButton button)
Returns the state of the specified button.static ComponentState
ComponentState. 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 ComponentState
ComponentState. 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 ComponentState
ComponentState. 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 int
ComponentState. fitValue(ComponentState state)
float
RadianceColorSchemeBundle. getAlpha(ComponentState componentState)
Returns the alpha channel of color schemes for the specified component state.float
RadianceSkin. getAlpha(java.awt.Component comp, ComponentState componentState)
Returns the alpha channel of the color scheme of the component.RadianceColorScheme
RadianceColorSchemeBundle. getColorScheme(ComponentState componentState)
Returns the color scheme of the specified component in the specified component state.RadianceColorScheme
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.RadianceColorScheme
RadianceSkin. getColorScheme(java.awt.Component comp, ComponentState componentState)
Returns the color scheme of the specified component in the specified component state.RadianceColorScheme
RadianceSkin. 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.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.RadianceColorScheme
RadianceSkin. 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.float
RadianceColorSchemeBundle. getHighlightAlpha(ComponentState componentState)
Returns the alpha channel of the highlight color schemes for the specified component state.float
RadianceSkin. getHighlightAlpha(java.awt.Component comp, ComponentState componentState)
Returns the alpha channel of the highlight color scheme of the component.java.awt.Color
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(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 ComponentState
ComponentState. 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. activeContributions
private java.util.Map<ComponentState,java.lang.Float>
RadianceDefaultTableCellRenderer. activeContributions
private java.util.Map<ComponentState,java.lang.Float>
RadianceDefaultTreeCellRenderer. activeContributions
Methods 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 RadianceColorScheme
RadianceDefaultComboBoxRenderer. getColorSchemeForState(javax.swing.JList list, int index, RadianceListUI listUI, ComponentState state)
private RadianceColorScheme
RadianceDefaultListCellRenderer. getColorSchemeForState(javax.swing.JList list, RadianceListUI ui, ComponentState state)
private RadianceColorScheme
RadianceDefaultTableCellRenderer. getColorSchemeForState(javax.swing.JTable table, RadianceTableUI ui, ComponentState state)
private RadianceColorScheme
RadianceDefaultTableHeaderCellRenderer. getColorSchemeForState(javax.swing.table.JTableHeader tableHeader, ComponentState activeState)
private RadianceColorScheme
RadianceDefaultTreeCellRenderer. getColorSchemeForState(javax.swing.JTree tree, RadianceTreeUI ui, ComponentState activeState)
private RadianceColorScheme
RadiancePanelListCellRenderer. getColorSchemeForState(javax.swing.JList list, RadianceListUI ui, ComponentState state)
private RadianceColorScheme
RadiancePanelTreeCellRenderer. 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 ComponentState
StateTransitionTracker.ModelStateInfo. currState
private ComponentState
StateTransitionTracker.ModelStateInfo. currStateNoSelection
Fields 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. stateContributionMap
private java.util.Map<ComponentState,StateTransitionTracker.StateContributionInfo>
StateTransitionTracker.ModelStateInfo. stateNoSelectionContributionMap
Methods in org.pushingpixels.radiance.theming.internal.animation that return ComponentState Modifier and Type Method Description ComponentState
StateTransitionTracker.ModelStateInfo. getCurrModelState()
ComponentState
StateTransitionTracker.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 void
BladeIconUtils. 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 void
BladeIconUtils. 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.ColorSchemeAssociationKind
BladeTransitionAwareIcon.ColorSchemeAssociationKindDelegate. getColorSchemeAssociationKind(ComponentState state)
RadianceColorScheme
BladeUtils.ColorSchemeDelegate. getColorSchemeForActiveState(ComponentState state)
RadianceColorScheme
BladeUtils.ColorSchemeDelegate. getColorSchemeForCurrentState(ComponentState state)
static void
BladeUtils. populateColorScheme(BladeColorScheme bladeColorScheme, java.awt.Component component, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, boolean treatEnabledAsActive)
static void
BladeUtils. populateColorScheme(BladeColorScheme bladeColorScheme, javax.swing.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 ComponentState Modifier and Type Method Description ComponentState
RadianceListUI. getCellState(int cellIndex, java.awt.Component rendererComponent)
Returns the current state for the specified cell.ComponentState
RadianceTableUI. getCellState(RadianceTableUI.TableCellId cellIndex)
Returns the current state for the specified cell.ComponentState
RadianceTableHeaderUI. getColumnState(int columnIndex)
Returns the current state for the specified cell.private ComponentState
RadianceProgressBarUI. getFillState()
ComponentState
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 ComponentState Modifier and Type Field Description private java.util.Map<ComponentState,java.lang.Float>
UpdateOptimizationInfo. highlightAlphaMap
private java.util.Map<ComponentState,RadianceColorScheme>
UpdateOptimizationInfo. highlightBorderSchemeMap
private java.util.Map<ComponentState,RadianceColorScheme>
UpdateOptimizationInfo. highlightSchemeMap
Methods 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 RadianceColorScheme
RadianceColorSchemeUtilities. getActiveColorScheme(java.awt.Component component, ComponentState componentState)
Returns the active color scheme of the component.static float
RadianceColorSchemeUtilities. getAlpha(java.awt.Component component, ComponentState componentState)
Returns the alpha channel of the color scheme of the component.static RadianceColorScheme
RadianceColorSchemeUtilities. getColorScheme(java.awt.Component component, ComponentState componentState)
Returns the color scheme of the specified component.static RadianceColorScheme
RadianceColorSchemeUtilities. getColorScheme(java.awt.Component component, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState)
Returns the color scheme of the component.static RadianceColorScheme
RadianceColorSchemeUtilities. 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.ColorUIResource
RadianceColorUtilities. getDefaultBackgroundColor(java.awt.Component comp, ComponentState compState)
Returns the default background color for the specified component.static RadianceColorScheme
RadianceColorSchemeUtilities. getDirectColorScheme(java.awt.Component component, RadianceThemingSlices.ColorSchemeAssociationKind associationKind, ComponentState componentState)
Returns the color scheme of the component.static javax.swing.Icon
RadianceCoreUtilities. getFilteredIcon(javax.swing.JComponent comp, javax.swing.Icon orig, ComponentState componentState, java.awt.Color textColor)
static javax.swing.Icon
RadianceCoreUtilities. getFilteredIcon(javax.swing.JTabbedPane tab, javax.swing.Icon orig, ComponentState componentState, java.awt.Color textColor)
static java.awt.Color
RadianceTextUtilities. getForegroundColor(javax.swing.JComponent component, ComponentState state, float textAlpha)
Returns the foreground color for the specified component.static float
RadianceColorSchemeUtilities. getHighlightAlpha(java.awt.Component component, ComponentState componentState)
Returns the alpha channel of the highlight color scheme of the component.float
UpdateOptimizationInfo. getHighlightAlpha(ComponentState state)
RadianceColorScheme
UpdateOptimizationInfo. getHighlightBorderColorScheme(ComponentState state)
RadianceColorScheme
UpdateOptimizationInfo. getHighlightColorScheme(ComponentState state)
static RadianceThemingSlices.IconFilterStrategy
RadianceCoreUtilities. getIconFilterStrategy(javax.swing.JComponent component, ComponentState componentState)
static java.awt.Color
RadianceCoreUtilities. getTextBackgroundFill(java.awt.Component component, ComponentState componentState)
static java.awt.Color
RadianceCoreUtilities. getTextSelectionBackground(java.awt.Component component, ComponentState componentState)
static java.awt.Color
RadianceCoreUtilities. getTextSelectionForeground(java.awt.Component component, ComponentState componentState)
static java.awt.Color
RadianceTextUtilities. 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.
-