Class RadianceThemingCortex.ComponentScope
- java.lang.Object
-
- org.pushingpixels.radiance.theming.api.RadianceThemingCortex.ComponentScope
-
- Enclosing class:
- RadianceThemingCortex
public static final class RadianceThemingCortex.ComponentScope extends java.lang.Object
APIs in this scope apply to individual applicationComponent
s.
-
-
Constructor Summary
Constructors Constructor Description ComponentScope()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
allowAnimations(java.awt.Component comp, RadianceThemingSlices.AnimationFacet animationFacet)
Allows animations of the specified facet on the specified control.static void
disallowAnimations(java.awt.Component comp, RadianceThemingSlices.AnimationFacet animationFacet)
Disallows animations of the specified facet on the specified control.static java.util.Set<BaseTabCloseListener>
getAllTabCloseListeners(javax.swing.JTabbedPane tabbedPane)
Returns all listeners registered on tab closing of the specified tabbed pane.static RadianceSkin
getCurrentSkin(java.awt.Component c)
Returns the current skin for the specified component.static RadianceThemingSlices.DecorationAreaType
getImmediateDecorationType(java.awt.Component comp)
Returns the immediate decoration area type of the specified component.static boolean
isAnimationAllowed(java.awt.Component comp, RadianceThemingSlices.AnimationFacet animationFacet)
Checks whether the specified animation facet is allowed on the specified component.static void
registerTabCloseChangeListener(javax.swing.JTabbedPane tabbedPane, BaseTabCloseListener tabCloseListener)
Registers the specified listener on tab-close events on the specified tabbed pane.static void
setAutomaticDragAndDropSupportPresence(javax.swing.JTree tree, java.lang.Boolean hasAutomaticDragAndDropSupport)
Specifies whether the tree should have automatic drag and drop support.static void
setAutomaticScrollPresence(javax.swing.JScrollPane scrollPane, java.lang.Boolean hasAutomaticScroll)
Specifies whether the scroll pane should have have auto-scroll support invoked on mouse button click that triggers popups.static void
setButtonOpenSide(javax.swing.JComponent comp, RadianceThemingSlices.Side openSide)
Specifies the open side for the specific button component.static void
setButtonOpenSides(javax.swing.JComponent comp, java.util.Set<RadianceThemingSlices.Side> openSides)
Specifies the open sides for the specific button component.static void
setButtonShaper(javax.swing.JComponent comp, RadianceButtonShaper buttonShaper)
Specifies the button shaper to be used for the specific component.static void
setButtonStraightSide(javax.swing.JComponent comp, RadianceThemingSlices.Side straightSide)
Specifies the straight side for the specific button component.static void
setButtonStraightSides(javax.swing.JComponent comp, java.util.Set<RadianceThemingSlices.Side> straightSides)
Specifies the straight sides for the specific button component.static void
setCapsLockIconVisible(javax.swing.JPasswordField passwordField, java.lang.Boolean visible)
Specifies component-level visibility of the caps lock icon on the specific password field.static void
setComboBoxPopupPlacementStrategy(javax.swing.JComboBox comboBox, RadianceThemingSlices.PopupPlacementStrategy comboBoxPopupPlacementStrategy)
Specifies the combobox popup placement strategy.static void
setComboBoxPrototypeCallback(javax.swing.JComboBox comboBox, ComboPopupPrototypeCallback comboPopupPrototypeCallback)
Specifies the combobox popup prototype callback which is used to compute the width of the popup at runtime.static void
setComboBoxPrototypeDisplayValue(javax.swing.JComboBox comboBox, java.lang.Object comboPopupPrototypeDisplayValue)
Specifies the combobox popup prototype display value which is used to compute the width of the popup at runtime.static void
setFlipTextSelectionOnEscape(javax.swing.text.JTextComponent comp, java.lang.Boolean flipTextSelectionOnEscape)
Specifies whether the text component contents should flip selection on ESCAPE key press.static void
setIconFilterStrategies(javax.swing.JComponent component, RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy)
Specifies how icon on the specified control is themed.static void
setLockIconVisible(javax.swing.JComponent comp, java.lang.Boolean visible)
Specifies component-level visibility of the lock icon on the specific component.static void
setNumberOfPasswordEchoesPerCharacter(javax.swing.JPasswordField passwordField, int echoCount)
Specifies the number of echo characters for each password character in the specific password field.static void
setPasswordStrengthChecker(javax.swing.JPasswordField passwordField, PasswordStrengthChecker passwordStrengthChecker)
Specifies password strength checker for the specific password field.static void
setRunModifiedAnimationOnTabCloseButton(javax.swing.JComponent tabComponent, java.lang.Boolean runModifiedAnimationOnTabCloseButton)
Specifies that only the close button of a marked-as-modified tab component should pulsate.static void
setRunModifiedAnimationOnTabCloseButton(javax.swing.JTabbedPane tabbedPane, java.lang.Boolean runModifiedAnimationOnTabCloseButton)
Specifies that only the close button of a marked-as-modified tab components should pulsate.static void
setSeparatorAppearance(javax.swing.JSeparator separator, RadianceThemingSlices.SeparatorAppearance appearance)
Specifies the appearance of the specified separator.static void
setTabCloseButtonsVisible(javax.swing.JTabbedPane tabbedPane, java.lang.Boolean tabCloseButtonsVisible)
Configures visibility of close buttons on all tabs in the specified tabbed pane.static void
setTabCloseButtonVisible(javax.swing.JComponent tabComponent, java.lang.Boolean tabCloseButtonVisible)
Configures visibility of close button on the specified tab component.static void
setTabCloseCallback(javax.swing.JComponent tabComponent, TabCloseCallback tabCloseCallback)
Configures the callback for deciding on the tab close type on the specified tab component.static void
setTabCloseCallback(javax.swing.JTabbedPane tabbedPane, TabCloseCallback tabCloseCallback)
Configures the callback for deciding on the tab close type on all tabs in the specified tabbed pane.static void
setTabContentPaneBorderKind(javax.swing.JTabbedPane tabbedPane, RadianceThemingSlices.TabContentPaneBorderKind tabContentPaneBorderKind)
Specifies the content pane border kind for the specified tabbed pane.static void
setTabContentsModified(javax.swing.JComponent tabComponent, java.lang.Boolean contentsModified)
Specifies that contents of a tab component inJTabbedPane
have been modified and not saved.static void
setTextEditContextMenuPresence(javax.swing.text.JTextComponent comp, java.lang.Boolean hasEditContextMenu)
Specifies whether the text component should have the edit context menu (with Cut / Copy / Paste / ...static void
setToolbarButtonCornerRadius(javax.swing.AbstractButton button, float toolbarButtonCornerRadius)
Specifies corner radius for the specific button.static void
unregisterTabCloseChangeListener(javax.swing.JTabbedPane tabbedPane, BaseTabCloseListener tabCloseListener)
Unregisters the specified listener on tab-close events on the specified tabbed pane.
-
-
-
Method Detail
-
getCurrentSkin
public static RadianceSkin getCurrentSkin(java.awt.Component c)
Returns the current skin for the specified component. If the current look-and-feel is not Radiance, this method returnsnull
.- Parameters:
c
- Component. May benull
- in this case the global current Radiance skin will be returned.- Returns:
- Current skin for the specified component.
- See Also:
RadianceThemingCortex.GlobalScope.getCurrentSkin()
-
registerTabCloseChangeListener
public static void registerTabCloseChangeListener(javax.swing.JTabbedPane tabbedPane, BaseTabCloseListener tabCloseListener)
Registers the specified listener on tab-close events on the specified tabbed pane.- Parameters:
tabbedPane
- Tabbed pane. Must be notnull
.tabCloseListener
- Listener to register.- See Also:
RadianceThemingCortex.GlobalScope.registerTabCloseChangeListener(BaseTabCloseListener)
,unregisterTabCloseChangeListener(JTabbedPane, BaseTabCloseListener)
,getAllTabCloseListeners(JTabbedPane)
-
unregisterTabCloseChangeListener
public static void unregisterTabCloseChangeListener(javax.swing.JTabbedPane tabbedPane, BaseTabCloseListener tabCloseListener)
Unregisters the specified listener on tab-close events on the specified tabbed pane.- Parameters:
tabbedPane
- Tabbed pane. Must be notnull
.tabCloseListener
- Listener to unregister.- See Also:
RadianceThemingCortex.GlobalScope.unregisterTabCloseChangeListener(BaseTabCloseListener)
,registerTabCloseChangeListener(JTabbedPane, BaseTabCloseListener)
,getAllTabCloseListeners(JTabbedPane)
-
getAllTabCloseListeners
public static java.util.Set<BaseTabCloseListener> getAllTabCloseListeners(javax.swing.JTabbedPane tabbedPane)
Returns all listeners registered on tab closing of the specified tabbed pane.- Parameters:
tabbedPane
- A tabbed pane. Must be notnull
.- Returns:
- All listeners registered on tab closing of the specified tabbed pane.
- See Also:
registerTabCloseChangeListener(JTabbedPane, BaseTabCloseListener)
,unregisterTabCloseChangeListener(JTabbedPane, BaseTabCloseListener)
-
allowAnimations
public static void allowAnimations(java.awt.Component comp, RadianceThemingSlices.AnimationFacet animationFacet)
Allows animations of the specified facet on the specified control. Due to performance considerations, this API can only be used to control renderer-based components (tables, lists, trees) and custom Radiance animations (focus loop, icon glow, etc).- Parameters:
animationFacet
- Animation facet to allow.comp
- Control for allowing the animation facet.
-
disallowAnimations
public static void disallowAnimations(java.awt.Component comp, RadianceThemingSlices.AnimationFacet animationFacet)
Disallows animations of the specified facet on the specified control. Due to performance considerations, this API can only be used to control renderer-based components (tables, lists, trees) and custom Radiance animations (focus loop, icon glow, etc).- Parameters:
animationFacet
- Animation facet to disallow.comp
- Control for disallowing the animation facet.
-
isAnimationAllowed
public static boolean isAnimationAllowed(java.awt.Component comp, RadianceThemingSlices.AnimationFacet animationFacet)
Checks whether the specified animation facet is allowed on the specified component.- Parameters:
animationFacet
- Animation facet.comp
- Component.- Returns:
true
if the specified animation facet is allowed on the specified component,false
otherwise.
-
getImmediateDecorationType
public static RadianceThemingSlices.DecorationAreaType getImmediateDecorationType(java.awt.Component comp)
Returns the immediate decoration area type of the specified component. The component is checked for the registered decoration area type. IfRadianceThemingCortex.ComponentOrParentChainScope.setDecorationType(JComponent, RadianceThemingSlices.DecorationAreaType)
was not called on this component, this method returnsnull
.- Parameters:
comp
- Component.- Returns:
- Immediate decoration area type of the component.
- See Also:
RadianceThemingCortex.ComponentOrParentChainScope.setDecorationType(JComponent, RadianceThemingSlices.DecorationAreaType)
,RadianceThemingCortex.ComponentOrParentChainScope.getDecorationType(Component)
-
setLockIconVisible
public static void setLockIconVisible(javax.swing.JComponent comp, java.lang.Boolean visible)
Specifies component-level visibility of the lock icon on the specific component.- Parameters:
comp
- Component.visible
- Iftrue
, the specific text component will show a lock icon when it is in non-editable mode. Passnull
to reset to the default behavior.- See Also:
RadianceThemingCortex.GlobalScope.setLockIconVisible(Boolean)
,RadianceThemingCortex.GlobalScope.setExtraWidgetsPresence(Boolean)
,RadianceThemingCortex.ComponentOrParentChainScope.setExtraWidgetsPresence(JComponent, Boolean)
-
setCapsLockIconVisible
public static void setCapsLockIconVisible(javax.swing.JPasswordField passwordField, java.lang.Boolean visible)
Specifies component-level visibility of the caps lock icon on the specific password field. Note that this functionality may not be supported on all platforms. SeeToolkit.getLockingKeyState(int)
documentation for more.- Parameters:
passwordField
- Password field.visible
- Iftrue
, the specific password field will show an indicator icon when it is focused and caps lock is on. Passnull
to reset to the default behavior.- See Also:
RadianceThemingCortex.GlobalScope.setCapsLockIconVisible(Boolean)
,RadianceThemingCortex.GlobalScope.setExtraWidgetsPresence(Boolean)
,RadianceThemingCortex.ComponentOrParentChainScope.setExtraWidgetsPresence(JComponent, Boolean)
-
setPasswordStrengthChecker
public static void setPasswordStrengthChecker(javax.swing.JPasswordField passwordField, PasswordStrengthChecker passwordStrengthChecker)
Specifies password strength checker for the specific password field.- Parameters:
passwordField
- Password field.passwordStrengthChecker
- Password strength checker
-
setFlipTextSelectionOnEscape
public static void setFlipTextSelectionOnEscape(javax.swing.text.JTextComponent comp, java.lang.Boolean flipTextSelectionOnEscape)
Specifies whether the text component contents should flip selection on ESCAPE key press.- Parameters:
comp
- Text component.flipTextSelectionOnEscape
- Iftrue
, the contents of the specified text component will flip selection on ESCAPE key press. Passnull
to reset to the default behavior.
-
setTextEditContextMenuPresence
public static void setTextEditContextMenuPresence(javax.swing.text.JTextComponent comp, java.lang.Boolean hasEditContextMenu)
Specifies whether the text component should have the edit context menu (with Cut / Copy / Paste / ... menu items).- Parameters:
comp
- Text component.hasEditContextMenu
- Iftrue
, the text component will have the edit context menu (with Cut / Copy / Paste / ... menu items). Passnull
to reset to the default behavior.- See Also:
RadianceThemingCortex.GlobalScope.setTextEditContextMenuPresence(Boolean)
-
setAutomaticDragAndDropSupportPresence
public static void setAutomaticDragAndDropSupportPresence(javax.swing.JTree tree, java.lang.Boolean hasAutomaticDragAndDropSupport)
Specifies whether the tree should have automatic drag and drop support.- Parameters:
tree
- Tree component.hasAutomaticDragAndDropSupport
- Iftrue
, the tree will have automatic drag and drop support. Passnull
to reset to the default behavior.- See Also:
RadianceThemingCortex.GlobalScope.setAutomaticDragAndDropSupportPresence(Boolean)
-
setAutomaticScrollPresence
public static void setAutomaticScrollPresence(javax.swing.JScrollPane scrollPane, java.lang.Boolean hasAutomaticScroll)
Specifies whether the scroll pane should have have auto-scroll support invoked on mouse button click that triggers popups.- Parameters:
scrollPane
- Scroll pane component.hasAutomaticScroll
- Iftrue
, the scroll pane will have have auto-scroll support invoked on mouse button click that triggers popups. Passnull
to reset to the default behavior.- See Also:
RadianceThemingCortex.GlobalScope.setAutomaticScrollPresence(Boolean)
,RadianceThemingCortex.GlobalScope.setExtraWidgetsPresence(Boolean)
,RadianceThemingCortex.ComponentOrParentChainScope.setExtraWidgetsPresence(JComponent, Boolean)
-
setButtonOpenSide
public static void setButtonOpenSide(javax.swing.JComponent comp, RadianceThemingSlices.Side openSide)
Specifies the open side for the specific button component. Note that theRadianceButtonShaper
implementations are not required to respect this call. The defaultPillButtonShaper
andClassicButtonShaper
respect this call.- Parameters:
comp
- Component.openSide
- Open side.- See Also:
setButtonOpenSides(JComponent, Set)
,setButtonStraightSide(JComponent, RadianceThemingSlices.Side)
-
setButtonOpenSides
public static void setButtonOpenSides(javax.swing.JComponent comp, java.util.Set<RadianceThemingSlices.Side> openSides)
Specifies the open sides for the specific button component. Note that theRadianceButtonShaper
implementations are not required to respect this call. The defaultPillButtonShaper
andClassicButtonShaper
respect this call.- Parameters:
comp
- Component.openSides
- Open sides.- See Also:
setButtonOpenSide(JComponent, RadianceThemingSlices.Side)
,setButtonStraightSides(JComponent, Set)
-
setButtonStraightSide
public static void setButtonStraightSide(javax.swing.JComponent comp, RadianceThemingSlices.Side straightSide)
Specifies the straight side for the specific button component. Note that theRadianceButtonShaper
implementations are not required to respect this call. The defaultPillButtonShaper
andClassicButtonShaper
respect this call.- Parameters:
comp
- Component.straightSide
- Straight side.- See Also:
setButtonOpenSide(JComponent, RadianceThemingSlices.Side)
,setButtonStraightSides(JComponent, Set)
-
setButtonStraightSides
public static void setButtonStraightSides(javax.swing.JComponent comp, java.util.Set<RadianceThemingSlices.Side> straightSides)
Specifies the straight sides for the specific button component. Note that theRadianceButtonShaper
implementations are not required to respect this call. The defaultPillButtonShaper
andClassicButtonShaper
respect this call.- Parameters:
comp
- Component.straightSides
- Straight sides.- See Also:
setButtonStraightSide(JComponent, RadianceThemingSlices.Side)
,setButtonOpenSides(JComponent, Set)
-
setToolbarButtonCornerRadius
public static void setToolbarButtonCornerRadius(javax.swing.AbstractButton button, float toolbarButtonCornerRadius)
Specifies corner radius for the specific button. Note that this only applies when the button is in aJToolBar
.- Parameters:
button
- Button.toolbarButtonCornerRadius
- Corner radius for the button when it is in aJToolBar
.- See Also:
RadianceThemingCortex.ComponentOrParentChainScope.setToolbarButtonCornerRadius(JToolBar, float)
,RadianceThemingCortex.GlobalScope.setToolbarButtonCornerRadius(float)
-
setTabContentsModified
public static void setTabContentsModified(javax.swing.JComponent tabComponent, java.lang.Boolean contentsModified)
Specifies that contents of a tab component in
JTabbedPane
have been modified and not saved.setRunModifiedAnimationOnTabCloseButton(JComponent, Boolean)
,setRunModifiedAnimationOnTabCloseButton(JTabbedPane, Boolean)
andRadianceThemingCortex.GlobalScope.setRunModifiedAnimationOnTabCloseButton(Boolean)
APIs control whether the entire tab or its close button area is animated.The animation cycles between red, orange and yellow color schemes. In most cases (all but tabs not marked with
setRunModifiedAnimationOnTabCloseButton(JComponent, Boolean)
,setRunModifiedAnimationOnTabCloseButton(JTabbedPane, Boolean)
andRadianceThemingCortex.GlobalScope.setRunModifiedAnimationOnTabCloseButton(Boolean)
APIs), the animation will be visible only when the mouse hovers over the close button of the tab. The tooltip of the close button is changed as well to reflect that the container contents are marked as modified.- Parameters:
tabComponent
- Tab component.contentsModified
- Iftrue
, the close button of the matching tab of the matching frame / dialog will be animated.- See Also:
RadianceThemingCortex.RootPaneScope.setContentsModified(JRootPane, Boolean)
-
setTabCloseButtonsVisible
public static void setTabCloseButtonsVisible(javax.swing.JTabbedPane tabbedPane, java.lang.Boolean tabCloseButtonsVisible)
Configures visibility of close buttons on all tabs in the specified tabbed pane.- Parameters:
tabbedPane
- Tabbed pane.tabCloseButtonsVisible
- Iftrue
, all tabs in the tabbed pane will show close buttons.- See Also:
setTabCloseButtonVisible(JComponent, Boolean)
,RadianceThemingCortex.GlobalScope.setTabCloseButtonsVisible(Boolean)
-
setTabCloseButtonVisible
public static void setTabCloseButtonVisible(javax.swing.JComponent tabComponent, java.lang.Boolean tabCloseButtonVisible)
Configures visibility of close button on the specified tab component.- Parameters:
tabComponent
- Tab component.tabCloseButtonVisible
- Iftrue
, the tab will show close button.- See Also:
setTabCloseButtonsVisible(JTabbedPane, Boolean)
,RadianceThemingCortex.GlobalScope.setTabCloseButtonsVisible(Boolean)
-
setTabCloseCallback
public static void setTabCloseCallback(javax.swing.JTabbedPane tabbedPane, TabCloseCallback tabCloseCallback)
Configures the callback for deciding on the tab close type on all tabs in the specified tabbed pane. Note that this is only relevant for tabs configured withsetTabCloseButtonVisible(JComponent, Boolean)
,setTabCloseButtonsVisible(JTabbedPane, Boolean)
andRadianceThemingCortex.GlobalScope.setTabCloseButtonsVisible(Boolean)
APIs.- Parameters:
tabbedPane
- Tabbed pane.tabCloseCallback
- Callback for deciding on the tab close type on all tabs in the tabbed pane.- See Also:
setTabCloseCallback(JComponent, TabCloseCallback)
,RadianceThemingCortex.GlobalScope.setTabCloseCallback(TabCloseCallback)
-
setTabCloseCallback
public static void setTabCloseCallback(javax.swing.JComponent tabComponent, TabCloseCallback tabCloseCallback)
Configures the callback for deciding on the tab close type on the specified tab component. Note that this is only relevant for tabs configured withsetTabCloseButtonVisible(JComponent, Boolean)
,setTabCloseButtonsVisible(JTabbedPane, Boolean)
andRadianceThemingCortex.GlobalScope.setTabCloseButtonsVisible(Boolean)
APIs.- Parameters:
tabComponent
- Tab component.tabCloseCallback
- Callback for deciding on the tab close type on the tab component.- See Also:
setTabCloseCallback(JTabbedPane, TabCloseCallback)
,RadianceThemingCortex.GlobalScope.setTabCloseCallback(TabCloseCallback)
-
setRunModifiedAnimationOnTabCloseButton
public static void setRunModifiedAnimationOnTabCloseButton(javax.swing.JTabbedPane tabbedPane, java.lang.Boolean runModifiedAnimationOnTabCloseButton)
Specifies that only the close button of a marked-as-modified tab components should pulsate. By default, the animation on modified tabs is on the entire tab rectangle. Note that this is only relevant for tabs configured withsetTabContentsModified(JComponent, Boolean)
.- Parameters:
tabbedPane
- Tabbed pane.runModifiedAnimationOnTabCloseButton
- Iftrue
, the marked-as-modified animation will run only on the tab close button.- See Also:
setRunModifiedAnimationOnTabCloseButton(JComponent, Boolean)
,RadianceThemingCortex.GlobalScope.setRunModifiedAnimationOnTabCloseButton(Boolean)
-
setRunModifiedAnimationOnTabCloseButton
public static void setRunModifiedAnimationOnTabCloseButton(javax.swing.JComponent tabComponent, java.lang.Boolean runModifiedAnimationOnTabCloseButton)
Specifies that only the close button of a marked-as-modified tab component should pulsate. By default, the animation on modified tabs is on the entire tab rectangle. Note that this is only relevant for tabs configured withsetTabContentsModified(JComponent, Boolean)
.- Parameters:
tabComponent
- Tab component.runModifiedAnimationOnTabCloseButton
- Iftrue
, the marked-as-modified animation will run only on the tab close button.- See Also:
setRunModifiedAnimationOnTabCloseButton(JTabbedPane, Boolean)
,RadianceThemingCortex.GlobalScope.setRunModifiedAnimationOnTabCloseButton(Boolean)
-
setTabContentPaneBorderKind
public static void setTabContentPaneBorderKind(javax.swing.JTabbedPane tabbedPane, RadianceThemingSlices.TabContentPaneBorderKind tabContentPaneBorderKind)
Specifies the content pane border kind for the specified tabbed pane.- Parameters:
tabbedPane
- Tabbed pane.tabContentPaneBorderKind
- Content pane border kind for the specified tabbed pane.- See Also:
RadianceThemingCortex.GlobalScope.setTabContentPaneBorderKind(RadianceThemingSlices.TabContentPaneBorderKind)
-
setButtonShaper
public static void setButtonShaper(javax.swing.JComponent comp, RadianceButtonShaper buttonShaper)
Specifies the button shaper to be used for the specific component.- Parameters:
comp
- Component.buttonShaper
- Button shaper to be used for the component.
-
setNumberOfPasswordEchoesPerCharacter
public static void setNumberOfPasswordEchoesPerCharacter(javax.swing.JPasswordField passwordField, int echoCount)
Specifies the number of echo characters for each password character in the specific password field.- Parameters:
passwordField
- Password field.echoCount
- Number of echo characters for each password character in the password field.- See Also:
RadianceThemingCortex.GlobalScope.setNumberOfPasswordEchoesPerCharacter(int)
-
setComboBoxPrototypeCallback
public static void setComboBoxPrototypeCallback(javax.swing.JComboBox comboBox, ComboPopupPrototypeCallback comboPopupPrototypeCallback)
Specifies the combobox popup prototype callback which is used to compute the width of the popup at runtime.- Parameters:
comboBox
- Combobox.comboPopupPrototypeCallback
- Popup prototype callback which is used to compute the width of the popup at runtime.- See Also:
setComboBoxPrototypeDisplayValue(JComboBox, Object)
,RadianceThemingCortex.GlobalScope.setComboBoxPrototypeCallback(ComboPopupPrototypeCallback)
-
setComboBoxPrototypeDisplayValue
public static void setComboBoxPrototypeDisplayValue(javax.swing.JComboBox comboBox, java.lang.Object comboPopupPrototypeDisplayValue)
Specifies the combobox popup prototype display value which is used to compute the width of the popup at runtime.- Parameters:
comboBox
- Combobox.comboPopupPrototypeDisplayValue
- Popup prototype display value which is used to compute the width of the popup at runtime.- See Also:
setComboBoxPrototypeCallback(JComboBox, ComboPopupPrototypeCallback)
,RadianceThemingCortex.GlobalScope.setComboBoxPrototypeCallback(ComboPopupPrototypeCallback)
-
setComboBoxPopupPlacementStrategy
public static void setComboBoxPopupPlacementStrategy(javax.swing.JComboBox comboBox, RadianceThemingSlices.PopupPlacementStrategy comboBoxPopupPlacementStrategy)
Specifies the combobox popup placement strategy. Passnull
to reset to the default placement strategy. Note that the combo arrow changes in accordance with the combo popup placement strategy.- Parameters:
comboBoxPopupPlacementStrategy
- Placement strategy for combobox popup.- See Also:
RadianceThemingCortex.GlobalScope.setComboBoxPopupPlacementStrategy(RadianceThemingSlices.PopupPlacementStrategy)
-
setIconFilterStrategies
public static void setIconFilterStrategies(javax.swing.JComponent component, RadianceThemingSlices.IconFilterStrategy activeIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy enabledIconFilterStrategy, RadianceThemingSlices.IconFilterStrategy disabledIconFilterStrategy)
Specifies how icon on the specified control is themed.- Parameters:
activeIconFilterStrategy
- Icon filter strategy for active states.enabledIconFilterStrategy
- Icon filter strategy for enabled state.disabledIconFilterStrategy
- Icon filter strategy for disabled states.- See Also:
RadianceThemingCortex.GlobalScope.setIconFilterStrategies(RadianceThemingSlices.IconFilterStrategy, RadianceThemingSlices.IconFilterStrategy, RadianceThemingSlices.IconFilterStrategy)
-
setSeparatorAppearance
public static void setSeparatorAppearance(javax.swing.JSeparator separator, RadianceThemingSlices.SeparatorAppearance appearance)
Specifies the appearance of the specified separator.- Parameters:
separator
- Separator.appearance
- Its appearance.
-
-