com.levigo.jadice.appbase.status
Class SnapInFactory

java.lang.Object
  extended by com.levigo.jadice.appbase.status.SnapInFactory

public class SnapInFactory
extends Object

A factory for standard status bar snap-ins.

Use this factory to create a snap in and add it to the StatusBar instance.


Constructor Summary
SnapInFactory()
           
 
Method Summary
static DocumentStatusMessageSnapIn createDocumentStatusMessageSnapIn()
          Creates a snap-in, which shows the document state of the current document.
static MemoryMonitorSnapIn createMemoryMonitorSnapIn()
          For development or problem analyze only.
static PageLayoutSnapIn createPageLayoutSnapIn()
          Creates a snap-in, which allows the user to see and change the current page layout used by the page view.
static PageSnapIn createPageSnapIn()
          Creates a snap-in, which shows the current page number and the number of pages the current document contains.
static PrinterStatusSnapIn createPrinterStatusSnapIn()
          Creates a snap-in, which is only visible if a printing process is currently active and presents printing process informations.
static TaskServiceMonitorSnapIn createTaskServiceMonitorSnapIn()
          For development or problem analyze only.
static ZoomSnapIn createZoomSnapIn()
          Creates a snap-in, which shows the current zoom factor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapInFactory

public SnapInFactory()
Method Detail

createPageSnapIn

public static PageSnapIn createPageSnapIn()
Creates a snap-in, which shows the current page number and the number of pages the current document contains. Furthermore the page number field is editable and allows to enter a page number and forces a page change if Enter key is hit.

Returns:
a PageSnapIn instance.

createZoomSnapIn

public static ZoomSnapIn createZoomSnapIn()
Creates a snap-in, which shows the current zoom factor. Furthermore the zoom field allows different zoom actions.

Returns:
a ZoomSnapIn instance.

createPageLayoutSnapIn

public static PageLayoutSnapIn createPageLayoutSnapIn()
Creates a snap-in, which allows the user to see and change the current page layout used by the page view.

Returns:
a PageLayoutSnapIn instance.

createPrinterStatusSnapIn

public static PrinterStatusSnapIn createPrinterStatusSnapIn()
Creates a snap-in, which is only visible if a printing process is currently active and presents printing process informations. If no printing process is active, this snap in is invisible.

Returns:
a PrinterStatusSnapIn instance.

createDocumentStatusMessageSnapIn

public static DocumentStatusMessageSnapIn createDocumentStatusMessageSnapIn()
Creates a snap-in, which shows the document state of the current document. Furthermore it provides a DocumentStatusMessageSnapIn.setStatusMessage(String) method which allows to set customized messages.

Returns:
a DocumentStatusMessageSnapIn instance.

createTaskServiceMonitorSnapIn

public static TaskServiceMonitorSnapIn createTaskServiceMonitorSnapIn()
For development or problem analyze only. No productive usage recommended.

It shows the activity of internal processes. With a click on it, a view opens which shows the activity of internal task and services in detail.

Returns:
a TaskServiceMonitorSnapIn instance.

createMemoryMonitorSnapIn

public static MemoryMonitorSnapIn createMemoryMonitorSnapIn()
For development or problem analyze only. No productive usage recommended.

It shows the heap memory state and consumption. With a click on it, a view opens which shows the the content of the viewers cache.

Returns:
a MemoryMonitorSnapIn instance.


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.