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 ComponentStateComponentState.ARMEDArmed.static final ComponentStateComponentState.DEFAULTDefault.static final ComponentStateComponentState.DETERMINATEDeterminatestatic final ComponentStateComponentState.DISABLED_DEFAULTDisabled default.static final ComponentStateComponentState.DISABLED_DETERMINATEDisabled and determinate.static final ComponentStateComponentState.DISABLED_INDETERMINATEDisabled and indeterminate.static final ComponentStateComponentState.DISABLED_MIXEDDisabled and mixed.static final ComponentStateComponentState.DISABLED_SELECTEDDisabled selected.static final ComponentStateComponentState.DISABLED_UNSELECTEDDisabled and not selected.static final ComponentStateComponentState.ENABLEDEnabled state.private ComponentStateComponentState.enabledMatchprivate ComponentStateComponentState.hardFallbackstatic final ComponentStateComponentState.INDETERMINATEIndeterminatestatic final ComponentStateComponentState.MIXEDMixstatic final ComponentStateComponentState.PRESSED_MIXEDPressed and mix.static final ComponentStateComponentState.PRESSED_SELECTEDPressed selected.static final ComponentStateComponentState.PRESSED_UNSELECTEDPressed and not selected.static final ComponentStateComponentState.ROLLOVER_ARMEDArmed and rolled over.static final ComponentStateComponentState.ROLLOVER_MIXEDMix and rolled over.static final ComponentStateComponentState.ROLLOVER_SELECTEDSelected and rolled over.static final ComponentStateComponentState.ROLLOVER_UNSELECTEDNot selected and rolled over.static final ComponentStateComponentState.SELECTEDSelected.Fields in org.pushingpixels.radiance.theming.api with type parameters of type ComponentStateModifier and TypeFieldDescriptionprivate final Map<RadianceThemingSlices.ContainerColorTokensAssociationKind, Map<ComponentState, ContainerColorTokens>> ContainerColorTokensBundle.activeTokenOverridesMaps from color tokens association kinds to the map of color tokens.private static Set<ComponentState> ComponentState.allStatesMethods 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.getEnabledMatch()ComponentState.getHardFallback()static ComponentStateComponentState.getState(boolean isEnabled, boolean isRollover, boolean isSelected) Returns the component state that matches the specified parameters.static ComponentStateComponentState.getState(AbstractButton button) Returns the state of the specified button.static ComponentStateComponentState.getState(ButtonModel model, JComponent component) Retrieves component state based on the button model (required parameter) and component itself (optional parameter).static ComponentStateComponentState.getState(ButtonModel model, 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 ComponentStateModifier and TypeMethodDescriptionprivate intComponentState.fitValue(ComponentState state) ContainerColorTokensBundle.getActiveContainerTokens(ComponentState componentState) Returns active container tokens for the specified component state.ContainerColorTokensBundle.getActiveContainerTokens(RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState componentState) Returns active container tokens for the specified visual area of a component in a specified component state.final ContainerColorTokensRadianceSkin.getActiveContainerTokens(Component comp, ComponentState componentState) Returns active container tokens for the specified component in the specific state.final ContainerColorTokensRadianceSkin.getActiveContainerTokens(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 ComponentStateConstructors in org.pushingpixels.radiance.theming.api with parameters of type ComponentStateModifierConstructorDescriptionComponentState(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 ComponentStateModifier and TypeFieldDescriptionprotected Map<ComponentState, Float> RadianceDefaultListCellRenderer.activeContributionsprivate Map<ComponentState, Float> RadianceDefaultTableCellRenderer.activeContributionsprivate Map<ComponentState, Float> RadianceDefaultTreeCellRenderer.activeContributionsMethods 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 ContainerColorTokensRadianceDefaultTableCellRenderer.getColorTokensForState(JTable table, RadianceTableUI ui, ComponentState state) private ContainerColorTokensRadianceDefaultComboBoxRenderer.getContainerTokensForState(JList list, int index, RadianceListUI listUI, ComponentState state) private ContainerColorTokensRadianceDefaultListCellRenderer.getContainerTokensForState(JList list, RadianceListUI ui, ComponentState state) private ContainerColorTokensRadianceDefaultTreeCellRenderer.getContainerTokensForState(JTree tree, RadianceTreeUI ui, ComponentState activeState) private ContainerColorTokensRadiancePanelListCellRenderer.getContainerTokensForState(JList list, RadianceListUI ui, ComponentState state) private ContainerColorTokensRadiancePanelTreeCellRenderer.getContainerTokensForState(JTree tree, RadianceTreeUI ui, ComponentState activeState) private ContainerColorTokensRadianceDefaultTableHeaderCellRenderer.getTokensForState(JTableHeader tableHeader, 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 ComponentStateStateTransitionTracker.ModelStateInfo.currStateprivate ComponentStateStateTransitionTracker.ModelStateInfo.currStateNoSelectionFields in org.pushingpixels.radiance.theming.internal.animation with type parameters of type ComponentStateModifier and TypeFieldDescriptionStateTransitionTracker.ModelStateInfo.stateContributionMapStateTransitionTracker.ModelStateInfo.stateNoSelectionContributionMapMethods 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 voidBladeIconUtils.drawCheckBox(Graphics2D g, JComponent component, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int dimension, ComponentState currentState, ContainerColorTokens colorTokens, float checkMarkVisibility, float checkMarkFlatness, boolean isCheckMarkFadingOut) static voidBladeIconUtils.drawRadioButton(Graphics2D g, AbstractButton button, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int dimension, ComponentState currentState, ContainerColorTokens colorTokens, float checkMarkVisibility) static voidBladeIconUtils.drawSliderThumbHorizontal(Graphics2D g, JSlider slider, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int width, int height, ContainerColorTokens colorTokens, ComponentState currState) static voidBladeIconUtils.drawSliderThumbRound(Graphics2D g, JSlider slider, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int dimension, ContainerColorTokens colorTokens, ComponentState currState) static voidBladeIconUtils.drawSliderThumbVertical(Graphics2D g, JSlider slider, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int width, int height, ContainerColorTokens colorTokens, ComponentState currState) static voidBladeIconUtils.drawSplitDividerBumpImage(Graphics g, RadianceSplitPaneDivider divider, int x, int y, int width, int height, boolean isHorizontal, ContainerColorTokens colorTokens, ComponentState state) BladeTransitionAwareIcon.ColorTokensAssociationKindDelegate.getContainerColorTokensAssociationKind(ComponentState state) BladeUtils.ColorTokensDelegate.getContainerTokensForActiveState(ComponentState state) BladeUtils.ColorTokensDelegate.getContainerTokensForCurrentState(ComponentState state) static voidBladeUtils.populateColorTokens(BladeContainerColorTokens bladeContainerTokens, Component component, StateTransitionTracker.ModelStateInfo modelStateInfo, ComponentState currState, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, boolean treatEnabledAsActive, boolean skipFlatCheck, CoreColorTokenUtils.ContainerType inactiveContainerType) static voidBladeUtils.populateColorTokens(BladeContainerColorTokens bladeContainerTokens, 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 ComponentStateModifier and TypeMethodDescriptionprivate static voidHighlightPainterUtils.paintHighlight(Graphics g, Component c, Rectangle rect, ComponentState state, float alpha, boolean paintHighlightBorders, Set<RadianceThemingSlices.Side> openSides, ContainerColorTokens colorTokens, RadianceSurfacePainter highlightPainter, RadianceOutlinePainter highlightOutlinePainter) static voidHighlightPainterUtils.paintHighlight(Graphics g, CellRendererPane rendererPane, Component c, Rectangle rect, ComponentState state, float alpha, boolean paintHighlightBorders, 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 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 ComponentStateRadianceProgressBarUI.getFillState()RadianceTreeUI.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 ComponentStateModifier and TypeMethodDescriptionprivate voidRadianceProgressBarUI.drawDeterminateBackground(Graphics2D g, JProgressBar bar, int width, int height, ContainerColorTokens colorTokens, RadianceSurfacePainter surfacePainter, int orientation, ComponentState currState) private voidRadianceProgressBarUI.drawDeterminateProgress(Graphics2D g, JProgressBar bar, int width, int height, boolean isFull, ContainerColorTokens colorTokens, RadianceSurfacePainter surfacePainter, int orientation, ComponentState currState) private voidRadianceProgressBarUI.paintRectangularStripedBackground(Graphics g, int startX, int startY, int width, int height, ContainerColorTokens colorTokens, int stripeOffset, float borderAlpha, ComponentState currState, boolean isVertical) private static voidRadianceSliderUI.paintSliderTrack1X(JSlider slider, Graphics2D graphics1X, ContainerColorTokens colorTokens, int width, int height, double scaleFactor, ComponentState currState) private static voidRadianceSliderUI.paintSliderTrackSelected1X(JSlider slider, Graphics2D graphics1X, boolean drawInverted, Rectangle thumbRect, 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 ComponentStateModifier and TypeFieldDescriptionprivate Map<ComponentState, ContainerColorTokens> UpdateOptimizationInfo.highlightContainerTokensMethods 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 TypeMethodDescriptionprivate voidButtonBackgroundDelegate.drawBackground(Graphics2D g, AbstractButton button, RadianceButtonShaper shaper, RadianceSurfacePainter surfacePainter, RadianceOutlinePainter outlinePainter, int width, int height, ContainerColorTokens colorTokens, Set<RadianceThemingSlices.Side> openSides, boolean isContentAreaFilled, boolean isBorderPainted, ComponentState currState, float overallAlpha) static ContainerColorTokensCoreColorTokenUtils.getActiveContainerTokens(Component component, ComponentState componentState) static ContainerColorTokensCoreColorTokenUtils.getContainerTokens(Component component, ComponentState componentState, CoreColorTokenUtils.ContainerType inactiveContainerType) static ContainerColorTokensCoreColorTokenUtils.getContainerTokens(Component component, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState componentState, CoreColorTokenUtils.ContainerType inactiveContainerType) Returns the color tokens of the component.static ContainerColorTokensCoreColorTokenUtils.getContainerTokens(Component component, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState componentState, CoreColorTokenUtils.ContainerType inactiveContainerType, boolean skipFlatCheck) Returns the color tokens of the component.static ContainerColorTokensCoreColorTokenUtils.getContainerTokens(JTabbedPane jtp, int tabIndex, RadianceThemingSlices.ContainerColorTokensAssociationKind associationKind, ComponentState componentState) Returns the color tokens of the specified tabbed pane tab.private static ColorUIResourceRadianceColorUtilities.getDefaultBackgroundColor(Component comp, ComponentState compState) static IconRadianceCoreUtilities.getFilteredIcon(JComponent comp, Icon orig, ComponentState componentState, Color textColor, CoreColorTokenUtils.ContainerType inactiveContainerType) static IconRadianceCoreUtilities.getFilteredIcon(JTabbedPane tab, Icon orig, ComponentState componentState, Color textColor, CoreColorTokenUtils.ContainerType inactiveContainerType) static ColorRadianceTextUtilities.getForegroundColor(JComponent component, ComponentState state, CoreColorTokenUtils.ContainerType inactiveContainerType) Returns the foreground color for the specified component.UpdateOptimizationInfo.getHighlightColorTokens(ComponentState state) RadianceCoreUtilities.getIconFilterStrategy(JComponent component, ComponentState componentState) static ColorRadianceCoreUtilities.getTextBackgroundFill(Component component, ComponentState componentState) static ColorRadianceCoreUtilities.getTextSelectionBackground(Component component, ComponentState componentState) static ColorRadianceCoreUtilities.getTextSelectionForeground(Component component, ComponentState componentState) static ColorRadianceTextUtilities.paintText(Graphics g, JComponent component, Rectangle textRect, String text, int mnemonicIndex, ComponentState state, CoreColorTokenUtils.ContainerType inactiveContainerType) Paints the specified text.booleanUpdateOptimizationInfo.showHighlightAlpha(ComponentState state)