[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

FaxOptionsWindow

inherits from EditWindow

... <- Box <- Window <- TitledWindow <- EditWindow <- FaxOptionsWindow



Operations

Get list of all operations

AboutToShow
AddCoverPageComments
AdjustSize


Attributes

Get list of all attributes

CommentsButton
IncludeCoverPageMode
LandscapeMode
SelectedContent
StandardPaperSizeSwitch


Fields

Field Type
Viewable: superview: Viewable
relativeOrigin: Dot
contentSize: Dot
viewFlags: Flags
labelStyle: TextStyle
color: Unsigned
altColor: Unsigned
shadow: Shadow
sound: Playable
HasBorder: border: Border
Window: canCoexist: Boolean
persistentWindow: Boolean
dontAutoExtend: Boolean
ignoreGrid: Boolean
closeAfterTouch: Boolean
closeBeforeTouch: Boolean
autoPosition: Boolean
noCloseBox: Boolean
downArrowVisible: Boolean
upArrowVisible: Boolean
rightArrowVisible: Boolean
leftArrowVisible: Boolean
autoMoveContents: Boolean
searchable: Boolean
customTitleColor: Boolean
scaleWindowTitle: Boolean
noBuiltInArrows: Boolean
noZoom: Boolean
autoCopyWindow: Boolean
TitledWindow: titleColor: Unsigned
titleHeight: Micron
dependents: ObjectList
EditWindow: target: Object
redrawObject: Viewable
FaxOptionsWindow: selectedContent: ContentProxy
standardPaperSizeSwitch: Switch
commentsButton: Button


Instance template

instance FaxOptionsWindow tag;
 relativeOrigin: <0.0,0.0>;
    contentSize: <0.0,0.0>;
      viewFlags: 0x00000000;
     labelStyle: nilObject;
          color: 0;
       altColor: 0;
         shadow: nilObject;
          sound: nilObject;
         border: nilObject;
     canCoexist: false;
persistentWindow: false;
 dontAutoExtend: false;
     ignoreGrid: false;
closeAfterTouch: false;
closeBeforeTouch: false;
   autoPosition: false;
     noCloseBox: false;
downArrowVisible: false;
 upArrowVisible: false;
rightArrowVisible: false;
leftArrowVisible: false;
autoMoveContents: false;
     searchable: false;
customTitleColor: false;
scaleWindowTitle: false;
noBuiltInArrows: false;
         noZoom: false;
 autoCopyWindow: false;
     titleColor: 0;
    titleHeight: <0.0>;
     dependents: nilObject;
         target: nilObject;
   redrawObject: nilObject;
selectedContent: nilObject;
standardPaperSizeSwitch: nilObject;
 commentsButton: nilObject;
end instance;

Class definition

Define Class FaxOptionsWindow;
    inherits from EditWindow;
    
    field selectedContent:          ContentProxy, weak, getter, setter;
    field standardPaperSizeSwitch:  Switch, weak, getter;
    field commentsButton:           Button, weak, getter;

    attribute StandardPaperSizeSwitch: Switch, readOnly;
        // stores the switch that allows user to fax to full page
        // this switch should not be visible when in landscape mode
    attribute CommentsButton: Button, readOnly;
        // stores the button that allows the user to add comments to the fax cover page
        // this button should not be visible when 'include cover page' is not checked

    attribute LandscapeMode: Boolean;
        // checks Landscape on the window's target (the print job)
        // the setter shows or hides the standard paper size switch
    attribute IncludeCoverPageMode: Boolean;
        // checks HasCoverPage on the window's target (the print job)
        // the setter shows or hides the comments button
    attribute SelectedContent: ContentProxy;
        // stores what the user has selected to fax
        
    operation AddCoverPageComments(commentsTextField: TextField);
        // adds comments that the user has typed to the print job's cover page

    overrides AdjustSize;
        // resizes the window and moves switches around depending on print job settings
        // goes through each viewable in the subview chain and repositions it
        // depends on subviews being listed in order that objects appear from top to bottom
    overrides AboutToShow;
        // to show/hide the standard paper size switch
end class;