API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print. ServiceUIFactory View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ServiceUIFactory
Implements
Subclasses
Description
publicabstract abstract class ServiceUIFactory
  Services may optionally provide UIs which allow different styles of interaction in different roles.
See also:   
Constructors
public ServiceUIFactory ()
Methods
Hide/Show inherited methods
publicabstract Object getUI (int role, String ui)
  Get a UI object which may be cast to the requested UI type by the application and used in its user interface.
publicabstract String getUIClassNamesForRole (int role)
  Given a UI role obtained from this factory obtain the UI types available from this factory which implement this role.
Fields
Hide/Show inherited fields
publicfinalstatic int ABOUT_UIROLE = "1"
Denotes a UI which performs an informative "About" role.
publicfinalstatic int ADMIN_UIROLE = "2"
Denotes a UI which performs an administrative role.
publicfinalstatic String DIALOG_UI = "java.awt.Dialog"
  Denotes a UI implemented as an AWT dialog.
publicfinalstatic String JCOMPONENT_UI = "javax.swing.JComponent"
  Denotes a UI implemented as a Swing component.
publicfinalstatic String JDIALOG_UI = "javax.swing.JDialog"
  Denotes a UI implemented as a Swing dialog.
publicfinalstatic int MAIN_UIROLE = "3"
Denotes a UI which performs the normal end user role.
publicfinalstatic String PANEL_UI = "java.awt.Panel"
  Denotes a UI implemented as an AWT panel.
publicfinalstatic int RESERVED_UIROLE = "99"
  Not a valid role but role id's greater than this may be used for private roles supported by a service.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar