net.sourceforge.rssowl.util.shop
Class PrintShop

java.lang.Object
  extended bynet.sourceforge.rssowl.util.shop.PrintShop

public class PrintShop
extends Object

Factory class for some Print concerns in RSSOwl

Version:
1.1.3
Author:
Benjamin Pasero

Constructor Summary
private PrintShop()
          This utility class constructor is hidden
 
Method Summary
private static org.eclipse.swt.custom.StyledText getPrintPane(String title, String text)
          Returns a StyledText that holds the news infos
static void printNews(String title, String text)
          Method for calling a PrintDialog and printing a news (title, url, text) to the selected printer.
static boolean printNewsFromBrowser()
          Print news out of the browser widget
static boolean printNewsFromText()
          Print the newstext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintShop

private PrintShop()
This utility class constructor is hidden

Method Detail

printNews

public static void printNews(String title,
                             String text)
Method for calling a PrintDialog and printing a news (title, url, text) to the selected printer.

Parameters:
title - Title of the news
text - Text / Description of the news

printNewsFromBrowser

public static boolean printNewsFromBrowser()
Print news out of the browser widget

Returns:
boolean TRUE on success, FALSE otherwise

printNewsFromText

public static boolean printNewsFromText()
Print the newstext

Returns:
FALSE if there is nothing to print

getPrintPane

private static org.eclipse.swt.custom.StyledText getPrintPane(String title,
                                                              String text)
Returns a StyledText that holds the news infos

Parameters:
title - Title of the news
text - Complete text of the news
Returns:
StyledText holding news infos


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo