public class

SubscriptionPrintWidgetImpl

extends SubscriptionFileWidgetImpl
implements SubscriptionPrintWidget
java.lang.Object
   ↳ com.microstrategy.web.app.gui.AbstractGuiElement
     ↳ com.microstrategy.web.app.gui.SubscriptionFileWidgetImpl
       ↳ com.microstrategy.web.app.gui.SubscriptionPrintWidgetImpl

Class Overview

Title: SubscriptionPrintWidgetImpl.

Copyright: Copyright (c) 2002

Company: Microstrategy, Inc.

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.web.app.gui.SubscriptionWidget
[Expand]
Inherited Fields
From class com.microstrategy.web.app.gui.SubscriptionFileWidgetImpl
From class com.microstrategy.web.app.gui.AbstractGuiElement
Public Constructors
SubscriptionPrintWidgetImpl()
Default no arguments constructor.
Public Methods
String getCollatedArg()
String getCopiesArg()
boolean getIsCollated()
boolean getIsPortrait()
String getPortraitArg()
int getPrintCopies()
Returns the number of print copies
String getRangeAllArg()
int getRangeEnd()
Returns the end range for print
String getRangeEndArg()
int getRangeStart()
Returns the start range for print
String getRangeStartArg()
MarkupOutput renderElement()
Renders the element using the global arguments.
void setCollatedArg(String value)
The name of the collated argument for print
void setCopiesArg(String value)
The name of the number of copies argument
void setIsCollated(boolean value)
Indicated whether to print collated or not.
void setIsPortrait(boolean value)
Indicated whether to print in portrait mode or not.
void setPortraitArg(String value)
The name of the portrait argument for print
void setPrintCopies(int value)
Sets the number of copies for print
void setRangeAllArg(String value)
The name of the range all argument for print
void setRangeEnd(int value)
Sets the end range for print
void setRangeEndArg(String value)
The name of the range end argument for print
void setRangeStart(int value)
Sets the start range for print
void setRangeStartArg(String value)
The name of the range start argument for print
void showCollateOption(boolean value)
To show or not show the collate option
[Expand]
Inherited Methods
From class com.microstrategy.web.app.gui.SubscriptionFileWidgetImpl
From class com.microstrategy.web.app.gui.AbstractGuiElement
From class java.lang.Object
From interface com.microstrategy.web.app.gui.DefaultSubscriptionWidget
From interface com.microstrategy.web.app.gui.GuiElement
From interface com.microstrategy.web.app.gui.SubscriptionFileWidget
From interface com.microstrategy.web.app.gui.SubscriptionPrintWidget
From interface com.microstrategy.web.app.gui.SubscriptionWidget

Public Constructors

public SubscriptionPrintWidgetImpl ()

Default no arguments constructor. Initialize the widget with default values.

Public Methods

public String getCollatedArg ()

Returns
  • name of the collated argument for print

public String getCopiesArg ()

Returns
  • name of the number of copies argument.

public boolean getIsCollated ()

Returns
  • true if the print is to be collated.

public boolean getIsPortrait ()

Returns
  • true if the print is to be in portrait mode.

public String getPortraitArg ()

Returns
  • name of the portrait argument for print

public int getPrintCopies ()

Returns the number of print copies

Returns
  • the number of print copies

public String getRangeAllArg ()

Returns
  • name of the range all argument for print

public int getRangeEnd ()

Returns the end range for print

Returns
  • the end range for print

public String getRangeEndArg ()

Returns
  • name of the range end argument for print

public int getRangeStart ()

Returns the start range for print

Returns
  • the start range for print

public String getRangeStartArg ()

Returns
  • name of the range start argument for print

public MarkupOutput renderElement ()

Renders the element using the global arguments.

Returns
  • a MarkupOutput with the Subscription Widget.

public void setCollatedArg (String value)

The name of the collated argument for print

Parameters
value the name of the collated argument for print

public void setCopiesArg (String value)

The name of the number of copies argument

Parameters
value the name of the number of copies argument

public void setIsCollated (boolean value)

Indicated whether to print collated or not.

Parameters
value true if the print is to be collated.

public void setIsPortrait (boolean value)

Indicated whether to print in portrait mode or not.

Parameters
value true if the print is to be in portrait mode.

public void setPortraitArg (String value)

The name of the portrait argument for print

Parameters
value the name of the portrait argument for print

public void setPrintCopies (int value)

Sets the number of copies for print

Parameters
value the number of copies for print

public void setRangeAllArg (String value)

The name of the range all argument for print

Parameters
value the name of the range end argument for print

public void setRangeEnd (int value)

Sets the end range for print

Parameters
value the end range for print

public void setRangeEndArg (String value)

The name of the range end argument for print

Parameters
value the name of the range end argument for print

public void setRangeStart (int value)

Sets the start range for print

Parameters
value the start range for print

public void setRangeStartArg (String value)

The name of the range start argument for print

Parameters
value the name of the range start argument for print

public void showCollateOption (boolean value)

To show or not show the collate option

Parameters
value true to show the collate option