javax.print.ServiceUIFactory Java Examples
The following examples show how to use
javax.print.ServiceUIFactory.
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: Win32PrintService.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #2
Source File: Win32PrintService.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #3
Source File: Win32PrintService.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #4
Source File: Win32PrintService.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #5
Source File: Win32PrintService.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #6
Source File: Win32PrintService.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #7
Source File: Win32PrintService.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #8
Source File: Win32PrintService.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #9
Source File: Win32PrintService.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #10
Source File: Win32PrintService.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #11
Source File: Win32PrintService.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #12
Source File: Win32PrintService.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #13
Source File: Win32PrintService.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #14
Source File: Win32PrintService.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #15
Source File: Win32PrintService.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #16
Source File: Win32PrintService.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #17
Source File: Win32PrintService.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #18
Source File: Win32PrintService.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #19
Source File: Win32PrintService.java From hottub with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #20
Source File: Win32PrintService.java From hottub with GNU General Public License v2.0 | 5 votes |
public Object getUI(int role, String ui) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE && DocumentPropertiesUI.DOCPROPERTIESCLASSNAME.equals(ui)) { return service.getDocumentPropertiesUI(); } throw new IllegalArgumentException("Unsupported role"); }
Example #21
Source File: Win32PrintService.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #22
Source File: Win32PrintService.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public String[] getUIClassNamesForRole(int role) { if (role <= ServiceUIFactory.MAIN_UIROLE) { return null; } if (role == DocumentPropertiesUI.DOCUMENTPROPERTIES_ROLE) { String[] names = new String[0]; names[0] = DocumentPropertiesUI.DOCPROPERTIESCLASSNAME; return names; } throw new IllegalArgumentException("Unsupported role"); }
Example #23
Source File: Win32PrintService.java From hottub with GNU General Public License v2.0 | 4 votes |
public synchronized ServiceUIFactory getServiceUIFactory() { if (uiFactory == null) { uiFactory = new Win32ServiceUIFactory(this); } return uiFactory; }
Example #24
Source File: UnixPrintService.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public ServiceUIFactory getServiceUIFactory() { return null; }
Example #25
Source File: Win32PrintService.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public synchronized ServiceUIFactory getServiceUIFactory() { if (uiFactory == null) { uiFactory = new Win32ServiceUIFactory(this); } return uiFactory; }
Example #26
Source File: IPPPrintService.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
public ServiceUIFactory getServiceUIFactory() { return null; }
Example #27
Source File: PrintServiceStub.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
@Override public ServiceUIFactory getServiceUIFactory() { return null; }
Example #28
Source File: PSStreamPrintService.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public ServiceUIFactory getServiceUIFactory() { return null; }
Example #29
Source File: PrintServiceStub.java From hottub with GNU General Public License v2.0 | 4 votes |
@Override public ServiceUIFactory getServiceUIFactory() { return null; }
Example #30
Source File: PSStreamPrintService.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
public ServiceUIFactory getServiceUIFactory() { return null; }