|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ComponentState | |
|---|---|
| org.jvnet.substance | |
| org.jvnet.substance.api | |
| org.jvnet.substance.painter.utils | |
| org.jvnet.substance.utils | |
| org.jvnet.substance.utils.icon | |
| Uses of ComponentState in org.jvnet.substance |
|---|
| Methods in org.jvnet.substance that return ComponentState | |
|---|---|
ComponentState |
SubstanceListUI.getCellState(int cellIndex,
java.awt.Component rendererComponent)
Returns the current state for the specified cell. |
ComponentState |
SubstanceTableUI.getCellState(SubstanceTableUI.TableCellId cellIndex)
Returns the current state for the specified cell. |
ComponentState |
SubstanceTableHeaderUI.getColumnState(int columnIndex)
Returns the current state for the specified cell. |
ComponentState |
SubstanceTreeUI.getPathState(SubstanceTreeUI.TreePathId pathId)
Returns the current state for the specified path. |
ComponentState |
SubstanceListUI.getPrevCellState(int cellIndex)
Returns the previous state for the specified cell. |
ComponentState |
SubstanceTableUI.getPrevCellState(SubstanceTableUI.TableCellId cellIndex)
Returns the previous state for the specified cell. |
ComponentState |
SubstanceTableHeaderUI.getPrevColumnState(int columnIndex)
Returns the previous state for the specified column. |
ComponentState |
SubstanceTreeUI.getPrevPathState(SubstanceTreeUI.TreePathId pathId)
Returns the previous state for the specified path. |
protected ComponentState |
SubstanceTabbedPaneUI.getPrevTabState(int tabIndex)
Returns the previous state for the specified tab. |
protected ComponentState |
SubstanceScrollBarUI.getState(javax.swing.JButton scrollButton)
Returns the scroll button state. |
protected ComponentState |
SubstanceTabbedPaneUI.getTabState(int tabIndex)
Returns the current state for the specified tab. |
| Methods in org.jvnet.substance with parameters of type ComponentState | |
|---|---|
SubstanceColorScheme |
SubstanceTableUI.getHighlightColorScheme(ComponentState state)
|
SubstanceColorScheme |
SubstanceListUI.getHighlightColorScheme(ComponentState state)
|
| Uses of ComponentState in org.jvnet.substance.api |
|---|
| Fields in org.jvnet.substance.api with type parameters of type ComponentState | |
|---|---|
protected java.util.Map<ColorSchemeAssociationKind,java.util.Map<ComponentState,SubstanceColorScheme>> |
SubstanceColorSchemeBundle.colorSchemeMap
Maps from color scheme association kinds to the map of color schemes. |
protected java.util.Map<ComponentState,java.lang.Float> |
SubstanceColorSchemeBundle.stateAlphaMap
Maps from component state to the alpha channel applied on color scheme. |
protected java.util.Map<ComponentState,java.lang.Float> |
SubstanceColorSchemeBundle.stateHighlightSchemeAlphaMap
Maps from component state to the alpha channel applied on highlight color scheme. |
| Methods in org.jvnet.substance.api that return ComponentState | |
|---|---|
static ComponentState[] |
ComponentState.getActiveStates()
Returns all active component states. |
static ComponentState |
ComponentState.getState(javax.swing.AbstractButton button)
Returns the state of the specified button. |
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.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.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ComponentState[] |
ComponentState.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in org.jvnet.substance.api with parameters of type ComponentState | |
|---|---|
float |
SubstanceSkin.getAlpha(java.awt.Component comp,
ComponentState componentState)
Returns the alpha channel of the color scheme of the component. |
float |
SubstanceColorSchemeBundle.getAlpha(java.awt.Component comp,
ComponentState componentState)
Returns the alpha channel of the color scheme of the component. |
SubstanceColorScheme |
SubstanceSkin.getBorderColorScheme(java.awt.Component comp,
ComponentState componentState)
Deprecated. Use SubstanceSkin.getColorScheme(Component, ColorSchemeAssociationKind, ComponentState)
with ColorSchemeAssociationKind.BORDER instead. This
method will be removed in version 6.0. |
SubstanceColorScheme |
SubstanceColorSchemeBundle.getBorderColorScheme(java.awt.Component comp,
ComponentState componentState)
Deprecated. Use #getColorScheme(Component, ColorSchemeAssociationKind, ComponentState)
with ColorSchemeAssociationKind.BORDER instead. This
method will be removed in version 6.0. |
SubstanceColorScheme |
SubstanceColorSchemeBundle.getColorScheme(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. |
SubstanceColorScheme |
SubstanceSkin.getColorScheme(java.awt.Component comp,
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. |
SubstanceColorScheme |
SubstanceSkin.getColorScheme(java.awt.Component comp,
ComponentState componentState)
Returns the color scheme of the specified component in the specified component state. |
SubstanceColorScheme |
SubstanceColorSchemeBundle.getColorScheme(ComponentState componentState)
Returns the color scheme of the specified component in the specified component state. |
SubstanceColorScheme |
SubstanceSkin.getColorScheme(DecorationAreaType decorationAreaType,
ColorSchemeAssociationKind associationKind,
ComponentState componentState)
Returns the color scheme to be used for painting the specified visual area of components in the specified decoration area. |
float |
SubstanceSkin.getHighlightAlpha(java.awt.Component comp,
ComponentState componentState)
Returns the alpha channel of the highlight color scheme of the component. |
float |
SubstanceColorSchemeBundle.getHighlightAlpha(java.awt.Component comp,
ComponentState componentState)
Returns the alpha channel of the highlight color scheme of the component. |
SubstanceColorScheme |
SubstanceSkin.getHighlightColorScheme(java.awt.Component comp,
ComponentState componentState)
Deprecated. Use SubstanceSkin.getColorScheme(Component, ColorSchemeAssociationKind, ComponentState)
with ColorSchemeAssociationKind.HIGHLIGHT instead.
This method will be removed in version 6.0. |
SubstanceColorScheme |
SubstanceColorSchemeBundle.getHighlightColorScheme(java.awt.Component comp,
ComponentState componentState)
Deprecated. Use #getColorScheme(Component, ColorSchemeAssociationKind, ComponentState)
with ColorSchemeAssociationKind.HIGHLIGHT instead.
This method will be removed in version 6.0. |
void |
SubstanceColorSchemeBundle.registerBorderColorScheme(SubstanceColorScheme scheme,
ComponentState... states)
Deprecated. Use SubstanceColorSchemeBundle.registerColorScheme(SubstanceColorScheme, ColorSchemeAssociationKind, ComponentState...)
with ColorSchemeAssociationKind.BORDER instead. This
method will be removed in version 6.0. |
void |
SubstanceColorSchemeBundle.registerColorScheme(SubstanceColorScheme scheme,
ColorSchemeAssociationKind associationKind,
ComponentState... states)
Registers the color scheme to be used for the specified visual area of controls under the specified states. |
void |
SubstanceColorSchemeBundle.registerColorScheme(SubstanceColorScheme stateColorScheme,
ComponentState... states)
Registers a color scheme for the specific component state. |
void |
SubstanceColorSchemeBundle.registerColorScheme(SubstanceColorScheme stateColorScheme,
float alpha,
ComponentState... states)
Registers a color scheme for the specific component state. |
void |
SubstanceColorSchemeBundle.registerHighlightColorScheme(SubstanceColorScheme stateHighlightScheme,
ComponentState... states)
Registers a highlight color scheme for the specific component state if the component state is not null, or a global highlight color
scheme otherwise. |
void |
SubstanceColorSchemeBundle.registerHighlightColorScheme(SubstanceColorScheme highlightScheme,
float alpha,
ComponentState... states)
Registers a highlight color scheme for the specific component state if the component state is not null, or a global highlight color
scheme otherwise. |
| Uses of ComponentState in org.jvnet.substance.painter.utils |
|---|
| Methods in org.jvnet.substance.painter.utils with parameters of type ComponentState | |
|---|---|
static void |
HighlightPainterUtils.paintHighlight(java.awt.Graphics g,
javax.swing.CellRendererPane rendererPane,
java.awt.Component c,
java.awt.Rectangle rect,
float borderAlpha,
java.util.Set<SubstanceConstants.Side> openSides,
ComponentState currState,
ComponentState prevState,
float cyclePos)
Updates the specified component with the background that matches the provided parameters. |
| Uses of ComponentState in org.jvnet.substance.utils |
|---|
| Methods in org.jvnet.substance.utils that return ComponentState | |
|---|---|
static ComponentState |
SubstanceCoreUtilities.getPrevComponentState(javax.swing.JComponent comp)
Returns the previous state of the specified component. |
static ComponentState |
SubstanceCoreUtilities.getPrevComponentState(javax.swing.JComponent comp,
java.lang.String extraKey)
Returns the previous state of the specified component. |
static ComponentState |
SubstanceCoreUtilities.getPrevSelComponentState(javax.swing.JComponent comp)
Returns the previous state of the specified component. |
| Methods in org.jvnet.substance.utils with parameters of type ComponentState | |
|---|---|
static float |
SubstanceColorSchemeUtilities.getAlpha(java.awt.Component component,
ComponentState componentState)
Returns the alpha channel of the color scheme of the component. |
static java.awt.image.BufferedImage |
SubstanceImageCreator.getCheckBox(javax.swing.AbstractButton button,
SubstanceGradientPainter fillPainter,
SubstanceBorderPainter borderPainter,
int dimension,
ComponentState componentState,
ComponentState prevState,
SubstanceColorScheme currFillColorScheme,
SubstanceColorScheme prevFillColorScheme,
SubstanceColorScheme currMarkColorScheme,
SubstanceColorScheme prevMarkColorScheme,
SubstanceColorScheme currBorderColorScheme,
SubstanceColorScheme prevBorderColorScheme,
float interpolationCyclePos,
float checkMarkVisibility,
boolean isCheckMarkFadingOut)
Retrieves check box of the specified size that matches the specified component state. |
static SubstanceColorScheme |
SubstanceColorSchemeUtilities.getColorScheme(java.awt.Component component,
ColorSchemeAssociationKind associationKind,
ComponentState componentState)
Returns the color scheme of the component. |
static SubstanceColorScheme |
SubstanceColorSchemeUtilities.getColorScheme(java.awt.Component component,
ComponentState componentState)
Returns the color scheme of the specified component. |
static SubstanceColorScheme |
SubstanceColorSchemeUtilities.getColorScheme(javax.swing.JTabbedPane jtp,
int tabIndex,
ColorSchemeAssociationKind associationKind,
ComponentState componentState)
Returns the color scheme of the specified tabbed pane tab. |
static javax.swing.plaf.ColorUIResource |
SubstanceColorUtilities.getDefaultBackgroundColor(java.awt.Component comp,
ComponentState compState)
Returns the default background color for the specified component. |
static java.awt.Color |
SubstanceColorUtilities.getForegroundColor(java.awt.Component component,
ComponentState state,
ComponentState prevState)
Returns the foreground text color of the specified component. |
static java.awt.Color |
SubstanceTextUtilities.getForegroundColor(javax.swing.JComponent component,
java.lang.String text,
ComponentState state,
ComponentState prevState,
float textAlpha)
Returns the foreground color for the specified component. |
static java.awt.Color |
SubstanceColorUtilities.getForegroundColor(javax.swing.JTabbedPane tabPane,
int tabIndex,
ComponentState state,
ComponentState prevState)
Returns the foreground text color of the specified tabbed pane tab. |
static float |
SubstanceColorSchemeUtilities.getHighlightAlpha(java.awt.Component component,
ComponentState componentState)
Returns the alpha channel of the highlight color scheme of the component. |
static java.awt.Color |
SubstanceColorUtilities.getInterpolatedForegroundColor(java.awt.Component comp,
java.lang.Comparable<?> componentId,
SubstanceColorScheme colorScheme,
ComponentState state,
SubstanceColorScheme prevColorScheme,
ComponentState prevState,
org.jvnet.lafwidget.animation.FadeKind... kinds)
Returns the foreground color for the specified component. |
static java.awt.image.BufferedImage |
SubstanceImageCreator.getRadioButton(javax.swing.JComponent component,
SubstanceGradientPainter fillPainter,
SubstanceBorderPainter borderPainter,
int dimension,
ComponentState componentState,
ComponentState prevState,
int offsetX,
SubstanceColorScheme currFillColorScheme,
SubstanceColorScheme prevFillColorScheme,
SubstanceColorScheme currMarkColorScheme,
SubstanceColorScheme prevMarkColorScheme,
SubstanceColorScheme currBorderColorScheme,
SubstanceColorScheme prevBorderColorScheme,
float interpolationCyclePos,
float checkMarkVisibility)
Retrieves radio button of the specified size that matches the specified parameters. |
static void |
SubstanceImageCreator.paintSplitDividerBumpImage(java.awt.Graphics g,
SubstanceSplitPaneDivider divider,
int x,
int y,
int width,
int height,
boolean isHorizontal,
ComponentState componentState,
SubstanceColorScheme colorScheme1,
SubstanceColorScheme colorScheme2,
float interpolationCyclePos)
Paints the bump dots on the split pane dividers. |
static void |
SubstanceTextUtilities.paintText(java.awt.Graphics g,
javax.swing.JComponent component,
java.awt.Rectangle textRect,
java.lang.String text,
int mnemonicIndex,
ComponentState state,
ComponentState prevState,
float textAlpha)
Paints the specified text. |
| Uses of ComponentState in org.jvnet.substance.utils.icon |
|---|
| Methods in org.jvnet.substance.utils.icon with parameters of type ComponentState | |
|---|---|
ColorSchemeAssociationKind |
TransitionAwareIcon.ColorSchemeAssociationKindDelegate.getColorSchemeAssociationKind(ComponentState state)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||