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. enabledMatchprivate 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 java.util.Map<RadianceThemingSlices.ContainerColorTokensAssociationKind,java.util.Map<ComponentState,ContainerColorTokens>>ContainerColorTokensBundle. activeTokenOverridesMaps from color tokens association kinds to the map of color tokens.private static java.util.Set<ComponentState>ComponentState. allStatesMethods 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. getEnabledMatch()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 with parameters of type ComponentState Modifier and Type Method Description private intComponentState. fitValue(ComponentState state)ContainerColorTokensContainerColorTokensBundle. getActiveContainerTokens(ComponentState componentState)Returns active container tokens for the specified component state.ContainerColorTokensContainerColorTokensBundle. getActiveContainerTokens(RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState componentState)Returns active container tokens for the specified visual area of a component in a specified component state.ContainerColorTokensRadianceSkin. getActiveContainerTokens(java.awt.Component comp, ComponentState componentState)Returns active container tokens for the specified component in the specific state.ContainerColorTokensRadianceSkin. getActiveContainerTokens(java.awt.Component comp, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState componentState)Returns active container tokens for the specified visual area of a component in the specific state.private ContainerColorTokensContainerColorTokensBundle. getActiveContainerTokensForState(ComponentState componentState)voidContainerColorTokensBundle. registerActiveContainerTokens(ContainerColorTokens stateContainerTokens, ComponentState... activeStates)Registers container color tokens for the specific active component states.voidContainerColorTokensBundle. registerActiveContainerTokens(ContainerColorTokens colorTokens, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState... activeStates)Registers the container color tokens to be used for controls in specified active states.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, ComponentState enabledMatch, 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 ContainerColorTokensRadianceDefaultTableCellRenderer. getColorTokensForState(javax.swing.JTable table, RadianceTableUI ui, ComponentState state)private ContainerColorTokensRadianceDefaultComboBoxRenderer. getContainerTokensForState(javax.swing.JList list, int index, RadianceListUI listUI, ComponentState state)private ContainerColorTokensRadianceDefaultListCellRenderer. getContainerTokensForState(javax.swing.JList list, RadianceListUI ui, ComponentState state)private ContainerColorTokensRadianceDefaultTreeCellRenderer. getContainerTokensForState(javax.swing.JTree tree, RadianceTreeUI ui, ComponentState activeState)private ContainerColorTokensRadiancePanelListCellRenderer. getContainerTokensForState(javax.swing.JList list, RadianceListUI ui, ComponentState state)private ContainerColorTokensRadiancePanelTreeCellRenderer. getContainerTokensForState(javax.swing.JTree tree, RadianceTreeUI ui, ComponentState activeState)private ContainerColorTokensRadianceDefaultTableHeaderCellRenderer. getTokensForState(javax.swing.table.JTableHeader tableHeader, 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, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int dimension, ComponentState currentState, ContainerColorTokens colorTokens, float checkMarkVisibility, float checkMarkFlatness, boolean isCheckMarkFadingOut)static voidBladeIconUtils. drawRadioButton(java.awt.Graphics2D g, javax.swing.AbstractButton button, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int dimension, ComponentState currentState, ContainerColorTokens colorTokens, float checkMarkVisibility)static voidBladeIconUtils. drawSliderThumbHorizontal(java.awt.Graphics2D g, javax.swing.JSlider slider, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int width, int height, ContainerColorTokens colorTokens, ComponentState currState)static voidBladeIconUtils. drawSliderThumbRound(java.awt.Graphics2D g, javax.swing.JSlider slider, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int dimension, ContainerColorTokens colorTokens, ComponentState currState)static voidBladeIconUtils. drawSliderThumbVertical(java.awt.Graphics2D g, javax.swing.JSlider slider, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int width, int height, ContainerColorTokens colorTokens, ComponentState currState)static voidBladeIconUtils. drawSplitDividerBumpImage(java.awt.Graphics g, RadianceSplitPaneDivider divider, int x, int y, int width, int height, boolean isHorizontal, ContainerColorTokens colorTokens, ComponentState state)RadianceThemingSlices.ContainerColorTokensAssociationKindBladeTransitionAwareIcon.ColorTokensAssociationKindDelegate. getContainerColorTokensAssociationKind(ComponentState state)ContainerColorTokensBladeUtils.ColorTokensDelegate. getContainerTokensForActiveState(ComponentState state)ContainerColorTokensBladeUtils.ColorTokensDelegate. getContainerTokensForCurrentState(ComponentState state)static voidBladeUtils. populateColorTokens(BladeContainerColorTokens bladeContainerTokens, java.awt.Component component, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, boolean treatEnabledAsActive, boolean skipFlatCheck, CoreColorTokenUtils.ContainerType inactiveContainerType)static voidBladeUtils. populateColorTokens(BladeContainerColorTokens bladeContainerTokens, javax.swing.JTabbedPane tabbedPane, int tabIndex, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind)static voidBladeUtils. populateColorTokens(BladeContainerColorTokens bladeContainerTokens, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, BladeUtils.ColorTokensDelegate colorTokensDelegate, boolean useNoSelectionStateContributionMap) -
Uses of ComponentState in org.pushingpixels.radiance.theming.internal.painter
Methods in org.pushingpixels.radiance.theming.internal.painter with parameters of type ComponentState Modifier and Type Method Description private static voidHighlightPainterUtils. paintHighlight(java.awt.Graphics g, java.awt.Component c, java.awt.Rectangle rect, ComponentState state, float alpha, boolean paintHighlightBorders, java.util.Set<RadianceThemingSlices.Side> openSides, ContainerColorTokens colorTokens, RadianceSurfacePainter highlightPainter, RadianceOutlinePainter highlightOutlinePainter)static voidHighlightPainterUtils. paintHighlight(java.awt.Graphics g, javax.swing.CellRendererPane rendererPane, java.awt.Component c, java.awt.Rectangle rect, ComponentState state, float alpha, boolean paintHighlightBorders, java.util.Set<RadianceThemingSlices.Side> openSides, ContainerColorTokens colorTokens)Paints the highlight for the specified component. -
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.Methods in org.pushingpixels.radiance.theming.internal.ui with parameters of type ComponentState Modifier and Type Method Description private voidRadianceProgressBarUI. drawDeterminateBackground(java.awt.Graphics2D g, javax.swing.JProgressBar bar, int width, int height, ContainerColorTokens colorTokens, RadianceSurfacePainter surfacePainter, int orientation, ComponentState currState)private voidRadianceProgressBarUI. drawDeterminateProgress(java.awt.Graphics2D g, javax.swing.JProgressBar bar, int width, int height, boolean isFull, ContainerColorTokens colorTokens, RadianceSurfacePainter surfacePainter, int orientation, ComponentState currState)private voidRadianceProgressBarUI. paintRectangularStripedBackground(java.awt.Graphics g, int startX, int startY, int width, int height, ContainerColorTokens colorTokens, int stripeOffset, float borderAlpha, ComponentState currState, boolean isVertical)private static voidRadianceSliderUI. paintSliderTrack1X(javax.swing.JSlider slider, java.awt.Graphics2D graphics1X, ContainerColorTokens colorTokens, int width, int height, double scaleFactor, ComponentState currState)private static voidRadianceSliderUI. paintSliderTrackSelected1X(javax.swing.JSlider slider, java.awt.Graphics2D graphics1X, boolean drawInverted, java.awt.Rectangle thumbRect, java.awt.Rectangle paintRect, ContainerColorTokens colorTokens, int width, int height, double scaleFactor, ComponentState currState)Paints the selected part of the slider track. -
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,ContainerColorTokens>UpdateOptimizationInfo. highlightContainerTokensMethods 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 private voidButtonBackgroundDelegate. drawBackground(java.awt.Graphics2D g, javax.swing.AbstractButton button, RadianceButtonShaper shaper, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int width, int height, ContainerColorTokens colorTokens, java.util.Set<RadianceThemingSlices.Side> openSides, boolean isContentAreaFilled, boolean isBorderPainted, ComponentState currState, float overallAlpha)static ContainerColorTokensCoreColorTokenUtils. getActiveContainerTokens(java.awt.Component component, ComponentState componentState)static ContainerColorTokensCoreColorTokenUtils. getContainerTokens(java.awt.Component component, ComponentState componentState, CoreColorTokenUtils.ContainerType inactiveContainerType)static ContainerColorTokensCoreColorTokenUtils. getContainerTokens(java.awt.Component component, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState componentState, CoreColorTokenUtils.ContainerType inactiveContainerType)Returns the color tokens of the component.static ContainerColorTokensCoreColorTokenUtils. getContainerTokens(java.awt.Component component, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState componentState, CoreColorTokenUtils.ContainerType inactiveContainerType, boolean skipFlatCheck)Returns the color tokens of the component.static ContainerColorTokensCoreColorTokenUtils. getContainerTokens(javax.swing.JTabbedPane jtp, int tabIndex, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState componentState)Returns the color tokens of the specified tabbed pane tab.private static javax.swing.plaf.ColorUIResourceRadianceColorUtilities. getDefaultBackgroundColor(java.awt.Component comp, ComponentState compState)static javax.swing.IconRadianceCoreUtilities. getFilteredIcon(javax.swing.JComponent comp, javax.swing.Icon orig, ComponentState componentState, java.awt.Color textColor, CoreColorTokenUtils.ContainerType inactiveContainerType)static javax.swing.IconRadianceCoreUtilities. getFilteredIcon(javax.swing.JTabbedPane tab, javax.swing.Icon orig, ComponentState componentState, java.awt.Color textColor, CoreColorTokenUtils.ContainerType inactiveContainerType)static java.awt.ColorRadianceTextUtilities. getForegroundColor(javax.swing.JComponent component, ComponentState state, CoreColorTokenUtils.ContainerType inactiveContainerType)Returns the foreground color for the specified component.ContainerColorTokensUpdateOptimizationInfo. getHighlightColorTokens(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, CoreColorTokenUtils.ContainerType inactiveContainerType)Paints the specified text.booleanUpdateOptimizationInfo. showHighlightAlpha(ComponentState state)
-