|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ComponentState | |
|---|---|
| org.jvnet.substance | |
| org.jvnet.substance.theme | |
| org.jvnet.substance.utils | |
| Uses of ComponentState in org.jvnet.substance |
|---|
| Methods in org.jvnet.substance that return ComponentState | |
|---|---|
ComponentState |
SubstanceListUI.getCellState(int cellIndex)
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 | |
|---|---|
static java.awt.image.BufferedImage |
SubstanceImageCreator.getCheckBox(javax.swing.AbstractButton button,
int dimension,
ComponentState componentState,
SubstanceTheme theme1,
SubstanceTheme theme2,
float interpolationCyclePos10,
float checkMarkVisibility,
boolean isCheckMarkFadingOut)
Retrieves check box of the specified size that matches the specified component state. |
static java.awt.image.BufferedImage |
SubstanceImageCreator.getRadioButton(java.awt.Component component,
int dimension,
ComponentState componentState,
int offsetX,
SubstanceTheme theme1,
SubstanceTheme theme2,
float interpolationCyclePos10,
float checkMarkVisibility)
Retrieves radio button of the specified size that matches the specified parameters. |
static java.awt.image.BufferedImage |
SubstanceImageCreator.getSplitDividerBumpImage(java.awt.Component c,
int width,
int height,
boolean isHorizontal,
ComponentState componentState,
SubstanceTheme theme1,
SubstanceTheme theme2,
float interpolationCyclePos10)
|
| Uses of ComponentState in org.jvnet.substance.theme |
|---|
| Fields in org.jvnet.substance.theme with type parameters of type ComponentState | |
|---|---|
protected java.util.Map<ComponentState,java.lang.Float> |
SubstanceComplexTheme.stateHighlightThemeAlphaMap
Maps from component state to the alpha channel applied on highlight theme. |
protected java.util.Map<ComponentState,SubstanceTheme> |
SubstanceComplexTheme.stateHighlightThemeMap
Maps from component state to the matching themes for highlight themes. |
protected java.util.Map<ComponentState,java.lang.Float> |
SubstanceComplexTheme.stateThemeAlphaMap
Maps from component state to the alpha channel applied on theme. |
protected java.util.Map<ComponentState,SubstanceTheme> |
SubstanceComplexTheme.stateThemeMap
Maps from component state to the matching themes. |
| Methods in org.jvnet.substance.theme with parameters of type ComponentState | |
|---|---|
SubstanceTheme |
SubstanceTheme.getHighlightTheme(java.awt.Component comp,
ComponentState componentState)
Returns the highlight theme that corresponds to the specified component state. |
SubstanceTheme |
SubstanceComplexTheme.getHighlightTheme(java.awt.Component comp,
ComponentState componentState)
|
float |
SubstanceTheme.getHighlightThemeAlpha(java.awt.Component comp,
ComponentState componentState)
Returns the alpha channel that is applied on highlight theme when a component is in the specified state. |
float |
SubstanceComplexTheme.getHighlightThemeAlpha(java.awt.Component comp,
ComponentState componentState)
|
SubstanceTheme |
SubstanceTheme.getTheme(java.awt.Component comp,
ComponentState componentState)
Returns the theme that corresponds to the specified component state. |
SubstanceTheme |
SubstanceComplexTheme.getTheme(java.awt.Component comp,
ComponentState componentState)
|
SubstanceTheme |
SubstanceTheme.getTheme(java.awt.Component comp,
ComponentState componentState,
boolean toIgnoreHighlights)
|
SubstanceTheme |
SubstanceComplexTheme.getTheme(java.awt.Component comp,
ComponentState componentState,
boolean toIgnoreHighlights)
|
float |
SubstanceTheme.getThemeAlpha(java.awt.Component comp,
ComponentState componentState)
Returns the alpha channel that is applied on theme when a component is in the specified state. |
float |
SubstanceComplexTheme.getThemeAlpha(java.awt.Component comp,
ComponentState componentState)
|
void |
SubstanceComplexTheme.registerComponentHighlightStateTheme(SubstanceTheme stateHighlightTheme,
ComponentState... states)
Deprecated. This functionality will be moved to the base skin class in version 5.0. |
void |
SubstanceComplexTheme.registerComponentHighlightStateTheme(SubstanceTheme stateHighlightTheme,
float alpha,
ComponentState... states)
Deprecated. This functionality will be moved to the base skin class in version 5.0. |
void |
SubstanceComplexTheme.registerComponentStateTheme(SubstanceTheme stateTheme,
boolean useForHighlights,
ComponentState... states)
Deprecated. This functionality will be moved to the base skin class in version 5.0. |
void |
SubstanceComplexTheme.registerComponentStateTheme(SubstanceTheme stateTheme,
float alpha,
boolean useForHighlights,
ComponentState... states)
Deprecated. This functionality will be moved to the base skin class in version 5.0. |
| 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.getPrevSelComponentState(javax.swing.JComponent comp)
Returns the previous state of the specified component. |
static ComponentState |
ComponentState.getState(javax.swing.ButtonModel model,
javax.swing.JComponent component)
Retrieves component state based on the button model (required parameter) and button 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're declared. |
| Methods in org.jvnet.substance.utils with parameters of type ComponentState | |
|---|---|
static java.awt.Color |
SubstanceCoreUtilities.getForegroundColor(java.awt.Component component,
ComponentState state,
ComponentState prevState)
|
static java.awt.Color |
SubstanceCoreUtilities.getForegroundColor(javax.swing.JTabbedPane tabPane,
int tabIndex,
ComponentState state,
ComponentState prevState)
|
static float |
SubstanceThemeUtilities.getHighlightAlpha(java.awt.Component component,
ComponentState componentState)
Returns the alpha channel of the highlight theme of the component. |
static SubstanceTheme |
SubstanceThemeUtilities.getHighlightTheme(java.awt.Component component,
ComponentState componentState)
Returns the highlight theme of the component. |
static java.awt.Color |
SubstanceCoreUtilities.getInterpolatedForegroundColor(java.awt.Component comp,
java.lang.Comparable<?> componentId,
SubstanceTheme theme,
ComponentState state,
ComponentState prevState,
org.jvnet.lafwidget.animation.FadeKind... kinds)
Returns the foreground color for the specified component. |
static SubstanceTheme |
SubstanceThemeUtilities.getTheme(java.awt.Component component,
ComponentState componentState)
Returns the theme of the component. |
static SubstanceTheme |
SubstanceThemeUtilities.getTheme(java.awt.Component component,
ComponentState componentState,
boolean toIgnoreHighlights)
Returns the theme of the component. |
static SubstanceTheme |
SubstanceThemeUtilities.getTheme(javax.swing.JTabbedPane jtp,
int tabIndex,
ComponentState componentState)
|
static float |
SubstanceCoreUtilities.paintText(javax.swing.JComponent component,
java.awt.Rectangle textRect,
java.lang.String text,
int mnemonicIndex,
ComponentState state,
ComponentState prevState)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||