Java Code Examples for org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities#testComponentCreationThreadingViolation()

The following examples show how to use org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities#testComponentCreationThreadingViolation() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SubstanceRadioButtonMenuItemUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    JRadioButtonMenuItem item = (JRadioButtonMenuItem) comp;
    item.setRolloverEnabled(true);

    return new SubstanceRadioButtonMenuItemUI((JRadioButtonMenuItem) comp);
}
 
Example 2
Source File: SubstanceCircularProgressUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new SubstanceCircularProgressUI();
}
 
Example 3
Source File: SubstanceMenuBarUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new SubstanceMenuBarUI();
}
 
Example 4
Source File: SubstanceInternalFrameUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new SubstanceInternalFrameUI((JInternalFrame) comp);
}
 
Example 5
Source File: SubstanceToolBarSeparatorUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
	SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
	return new SubstanceToolBarSeparatorUI();
}
 
Example 6
Source File: SubstanceDesktopPaneUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
	SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
	return new SubstanceDesktopPaneUI();
}
 
Example 7
Source File: SubstanceViewportUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
	SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
	return new SubstanceViewportUI();
}
 
Example 8
Source File: SubstanceFileChooserUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new SubstanceFileChooserUI((JFileChooser) comp);
}
 
Example 9
Source File: SubstancePanelUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
	SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
	return new SubstancePanelUI();
}
 
Example 10
Source File: SubstanceColorSelectorPanelUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new SubstanceColorSelectorPanelUI();
}
 
Example 11
Source File: SubstanceTextPaneUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new SubstanceTextPaneUI(comp);
}
 
Example 12
Source File: SubstancePopupPanelUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
	SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
	return new SubstancePopupPanelUI();
}
 
Example 13
Source File: MyProgressBarUI.java    From jpexs-decompiler with GNU General Public License v3.0 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new MyProgressBarUI();
}
 
Example 14
Source File: SubstanceSplitPaneUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new SubstanceSplitPaneUI();
}
 
Example 15
Source File: SubstanceColorSelectorPopupMenuUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent c) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(c);
    return new SubstanceColorSelectorPopupMenuUI();
}
 
Example 16
Source File: SubstanceCommandPopupMenuUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent c) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(c);
    return new SubstanceCommandPopupMenuUI();
}
 
Example 17
Source File: SubstancePopupMenuUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
	SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
	return new SubstancePopupMenuUI();
}
 
Example 18
Source File: SubstanceEditorPaneUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new SubstanceEditorPaneUI(comp);
}
 
Example 19
Source File: SubstanceToolTipUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 2 votes vote down vote up
/**
 * Creates a UI delegate for the specified component.
 * 
 * @param comp
 *            Component.
 * @return UI delegate.
 */
public static ComponentUI createUI(JComponent comp) {
	SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
	return new SubstanceToolTipUI();
}
 
Example 20
Source File: SubstanceScrollPaneUI.java    From radiance with BSD 3-Clause "New" or "Revised" License 2 votes vote down vote up
/**
 * Creates new UI delegate.
 *
 * @param comp Component.
 * @return UI delegate for the component.
 */
public static ComponentUI createUI(JComponent comp) {
    SubstanceCoreUtilities.testComponentCreationThreadingViolation(comp);
    return new SubstanceScrollPaneUI();
}