com.guiffy.inside
Class GuiffyFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by com.guiffy.inside.GuiffyFrame
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class GuiffyFrame
extends javax.swing.JFrame

Class GuiffyFrame is the Component for including Guiffy inside Java applications. GuiffyFrame extends JFrame.

Guiffy is a source file compare/merge utility(component). Plus, Guiffy also compares File Folders/Trees. The Guiffy extended JFrame includes: MenuBar, ToolBar, MergeText view, Merging ButtonBar, File TitleBars, 3 compare text views(Together view, 1st file view, 2nd file view), synchronized vertical and horizontal scroll bars, visual difference meters, and a status/progress bar. Functionality is included for Edit controls including Undo/Redo, text searching, and logical navigation. The Compare and Merge text views support basic editing operations. Extensive application JavaHelp documentation is accessible from the MenuBar which supports TOC, Index, and Search navigation.

Guiffy's user interface is engineered for localization and has been translated for Spanish, German, Italian, French, and Swedish.

Guiffy compares/merges source(text) files of any type - supports Unicode character set. And, Guiffy accepts all 3 forms of end-of-line. Guiffy supports a user choice of compare algorithms: 1) Minimum lines of difference or 2) Minimum blocks of difference. The default(which can be switched by the user) is the Mimimum lines of difference. For files with more than 32K lines, Guiffy automatically switches to its Minimum blocks of difference algorithm. The Guiffy 3-way SureMerge employs the the Minimum blocks of difference algorithm. Guiffy does NOT impose any file size limits. And, Guiffy's comparison resolution algorithm is NOT sensitive to file size.

For each File property a set?File(filepath) or set?Reader/Writer(Reader/Writer) method can be used to specify the text content. By default the specified Reader/Writer is null and a filepath is required for the File's property.

Guiffy's Stylized Text views are proprietary implementations, optimized for exceptional performance with large text documents.

Guiffy's 3-way smart merge, SureMerge, automatically merges all changes except those which conflict. SureMerge's conflict detection algorithm treats inserts and deletes(not just changes) as conflicts. SureMerge extends its conflict attention span to include modifications very near to each other but not necessarily overlapping. Plus, the Attention Focus Expander option allows the user to expand the conflict/overlap area.

The default GuiffyFrame Size is 600, 450.
The default GuiffyFrame Location is the center of the screen.
The default GuiffyFrame CloseOperation is HIDE_ON_CLOSE. GuiffyFrame has an additional CLOSE option defined - EXIT_ON_CLOSE.
GuiffyFrame is initialized as not Visible.

If the GuiffyFrame constructor parameter usesettings is true - the user's SavedSettings are loaded and set. If usesettings is false - the File->SaveSettings menuitem is disabled.

Version:
3.2 -- developed in September, 2001
Author:
Guiffy Software, Inc. by Bill Ritcher
See Also:
JFrame, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int EXIT_ON_CLOSE
          WindowsConstants - setDefaultCloseOperation(EXIT_ON_CLOSE) will do System.exit(0) when the Frame is closed
static int SAVESETS_OFF
          Auto Save Settings Constants - controls automatically saving settings on Exit.
static int SAVESETS_ONPROMPT
           
static int SAVESETS_ONQUIET
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
GuiffyFrame(boolean usesettings)
          Creates a GuiffyFrame with all the options defaulted, If usesettings is true - the user's SavedSettings are loaded and set.
 
Method Summary
 void actionCopy()
          Action for Copy.
 void actionExitMerge()
          Action for Exit (from Merge Bar).
 void actionFind()
          Action for Find.
 void actionFlip()
          Action for Flip.
 void actionHelpAbout()
          Action for Help About.
 void actionHelpContents()
          Action for Help Contents.
 void actionHelpIndex()
          Action for Help Index.
 void actionHelpSearch()
          Action for Help Search.
 void actionKeepUndoAll()
          Action for KeepUndoAll.
 void actionMark()
          Action for Mark Removed.
 void actionMergeAutoShiftD()
          Action for Merge AutoShift to "Drive".
 void actionMergeAutoShiftN()
          Action for Merge AutoShift to "Neutral".
 void actionMergeAutoShiftR()
          Action for Merge AutoShift to "Reverse".
 void actionNextAttention()
          Action for Next Attention.
 void actionNextChange()
          Action for Next Change.
 void actionOpenCFolders()
          Action for Open & Compare folders.
 void actionOpenCMFiles()
          Action for Open & Compare/Merge files.
 void actionOpenCVS()
          Action for Open CVS Conflict file.
 void actionOpenSMF()
          Action for Open Saved Merge file.
 void actionOptsColor()
          Action for Options Colors.
 void actionOptsCompareMerge()
          Action for Options Compare/Merge.
 void actionOptsEncode()
          Action for Options Encoding.
 void actionOptsEOLs()
          Action for Options Write EOLs.
 void actionOptsFolderIgnore()
          Action for Options Folder Ignore.
 void actionOptsFolderShow()
          Action for Options Folder Show.
 void actionOptsFont()
          Action for Options Fonts.
 void actionOptsFTypes()
          Action for Options File Types.
 void actionOptsIgnore()
          Action for Options Ignore.
 void actionOptsShortcuts()
          Action for Options Shortcuts.
 void actionOptsShow()
          Action for Options Show.
 void actionOptsStyle()
          Action for Options Style.
 void actionOptsSyntaxHighlightingFileTypes()
          Action for Options Syntax Highlighting File Types.
 void actionOptsSyntaxHighlightingStyles()
          Action for Options Syntax Highlighting Styles.
 void actionPaste()
          Action for Paste.
 void actionPreviousAttention()
          Action for Previous Attention.
 void actionPreviousChange()
          Action for Previous Change.
 void actionPrint()
          Action for Print Difference.
 void actionRedo()
          Action for Redo.
 void actionRep1stin2nd()
          Action for Replace 1st in 2nd.
 void actionRep2ndin1st()
          Action for Replace 2nd in 1st.
 void actionSave1st()
          Action for Save 1st.
 void actionSave1stAs()
          Action for Save 1stAs.
 void actionSave2nd()
          Action for Save 2nd.
 void actionSave2ndAs()
          Action for Save 2ndAs.
 void actionSaveAsUnifiedDiff()
          Action for Save As Unified Diff.
 void actionSaveDiff()
          Action for Save Difference.
 void actionSaveHTML()
          Action for Save As HTML.
 void actionSaveMerge()
          Action for Save Merge.
 void actionSaveMergeExit()
          Action for Save Merge & Exit (from Merge Bar).
 void actionSaveSettings()
          Action for Save Settings.
 void actionUndo()
          Action for Undo.
 void actionViewRefresh()
          Action for View Refresh.
 void actionViewSplitHorizontal()
          Action for View Split Horizontal.
 void actionViewSplitVertical()
          Action for View Split Vertical.
 void actionViewTogether()
          Action for View Together.
 void compareFiles(boolean vis)
          Compares the 1st and 2nd files and displays the differences according to the options selected.
 void compareFolders(boolean vis)
          Compares the 1st and 2nd folders and displays the differences according to the options selected.
 java.lang.String get1stFileEncoding()
          Returns FileEncoding for 1st files.
 java.lang.String get2ndFileEncoding()
          Returns FileEncoding for 2nd files.
 boolean getAllowFileCompares()
          Returns AllowFileCompares setting true or false.
 boolean getAllowFolderCompares()
          Returns AllowFolderCompares setting true or false.
 boolean getAllowMerges()
          Returns AllowMerges setting true or false.
 boolean getAutoDiff()
          Returns AutoDiff setting true or false.
 boolean getAutoHTML()
          Returns AutoMTML setting true or false.
 boolean getAutoMerg()
          Returns AutoMerg setting true or false.
 java.awt.Color getBackgroundColor()
          Returns the Background(Matching) color option.
 java.awt.Color getChangedBackgroundColor()
          Returns the Changed Background color option.
 boolean getComparEditBarVisible()
          Returns ComparEditBarVisible option true or false.
 java.awt.Color getDeletesBackgroundColor()
          Returns the Deleted Background color option.
 java.awt.Color getDeletesColor()
          Returns the Deleted text foreground color option.
 java.awt.Font getDeletesFont()
          Returns the Deleted text font option.
 boolean getEditBarVisible()
          Returns EditBarVisible option true or false.
 boolean getEncodingAutoMode()
          Returns Encoding AutoMode.
 boolean getEOLAutoMode()
          Returns EOL AutoMode.
 java.lang.String getEOLOption()
          Returns Write EOLs option for Saved files.
 int getExpandedFocus()
          Returns Attention(conflict) Focus Expander value.
 java.lang.String getFileEncoding()
          Returns FileEncoding.
 java.awt.Color getFillerBackgroundColor()
          Returns the Filler Background color option.
 java.awt.Color getFillerColor()
          Returns the Filler foreground color option.
 java.awt.Font getFillerFont()
          Returns the Filler font option.
 java.lang.String getH1()
          Returns the 1st FileName header.
 java.lang.String getH2()
          Returns the 2nd FileName header.
 java.lang.String getHM()
          Returns the Merge FileName header.
 boolean getIgnoreAllFilsExcept()
          Returns ignore All files Except, (folder compares) option true or false.
 boolean getIgnoreAllTypsExcept()
          Returns ignore All filetypes Except, (folder compares) option true or false.
 boolean getIgnoreBlanklines()
          Returns IgnoreBlanklines option true or false.
 boolean getIgnoreCase()
          Returns IgnoreCase option true or false.
 boolean getIgnoreDateandTime()
          Returns ignore modified date and time (folder compares) option true or false.
 boolean getIgnoreEmbeddedWhiteSpace()
          Returns Ignore Embedded type Whitespace option true of false.
 int getIgnoreField2Begin()
          Returns IgnoreField2's beginning column.
 int getIgnoreField2End()
          Returns IgnoreField2's ending column.
 int getIgnoreFieldBegin()
          Returns IgnoreField's beginning column.
 int getIgnoreFieldEnd()
          Returns IgnoreField's ending column.
 boolean getIgnoreFileSize()
          Returns ignore file size (folder compares) option true or false.
 java.lang.String getIgnoreFils()
          Returns ignore files, (folder compares) list.
 boolean getIgnoreLeadingWhiteSpace()
          Returns Ignore Leading type Whitespace option true of false.
 java.lang.String getIgnoreSubs()
          Returns ignore subfolders, (folder compares) list.
 boolean getIgnoreSymbolicLinks()
          Returns ignore symbolic links (folder compares) option true or false.
 boolean getIgnoreTrailingWhiteSpace()
          Returns Ignore Trailing type Whitespace option true of false.
 java.lang.String getIgnoreTyps()
          Returns ignore filetypes, (folder compares) list.
 boolean getIgnoreWhitespace()
          Returns IgnoreWhitespace option true or false.
 java.awt.Color getInsertsBackgroundColor()
          Returns the Inserted Background color option.
 java.awt.Color getInsertsColor()
          Returns the Inserted text foreground color option.
 java.awt.Font getInsertsFont()
          Returns the Inserted text font option.
 java.awt.Color getLineNumBackgroundColor()
          Returns the LineNumbers Background color option.
 java.awt.Color getLineNumColor()
          Returns the LineNumbers foreground color option.
 java.awt.Font getLineNumFont()
          Returns the LineNumber font option.
 java.awt.Color getMatchingBackgroundColor()
          Returns the Matching Background color option.
 java.awt.Color getMatchingColor()
          Returns the Matching text foreground color option.
 java.awt.Font getMatchingFont()
          Returns the Matching text font option.
 java.lang.String getMergeAutoShift()
          Returns Merge AutoShift value.
 boolean getMergeBarVisible()
          Returns MergeBarVisible option true or false.
 boolean getMinimumBlocksDiff()
          Returns Minimize Blocks Changed Diff option true or false.
 boolean getMinimumLinesDiff()
          Returns Minimize Lines Changed Diff option true or false.
 boolean getNavigationBarVisible()
          Returns NavigationBarVisible option true or false.
 int getNumberof1stApplied()
          Returns the number of changes applied from 1st.
 int getNumberof2ndApplied()
          Returns the number of changes applied from 2nd.
 int getNumberofAttentions()
          Returns the number of unresolved Attentions.
 int getNumberofChanges()
          Returns the number of change blocks.
 int getNumberofMergesToDo()
          Returns the number of unresolved Merge (2way) changes.
 boolean getOptsBarVisible()
          Returns OptsBarVisible option true or false.
 java.lang.String getP1()
          Returns the prefix for 1st FileName header.
 java.lang.String getP2()
          Returns the prefix for 2nd FileName header.
 java.lang.String getParentFileEncoding()
          Returns FileEncoding for Parent files.
 java.lang.String getPM()
          Returns the prefix for Merge FileName header.
 boolean getPromote()
          Returns Promote merge option true or false.
 java.lang.String[] getQtReTypes()
          Returns Ignore Regular Expressions types list.
 java.lang.String[] getQtRexs()
          Returns Ignore Regular Expressions list.
 java.lang.String getRepBakMode()
          Returns Replace / Backup mode for Saved files.
 java.lang.String getSaveEncoding()
          Returns SaveEncoding.
 int getSaveSettings()
          Returns Auto Save Settings control.
 java.awt.Color getSelectedBackgroundColor()
          Returns the Selected Background color option.
 java.awt.Color getSelectedColor()
          Returns the Selected text foreground color option.
 boolean getShowAdds()
          Returns show files Added (folder compares) option true or false.
 boolean getShowAlignSimilarLines()
          Returns Show Align Similar Lines option true or false.
 boolean getShowArcs()
          Returns show archive filetypes, recursively (folder compares) option true or false.
 boolean getShowChgs()
          Returns show files Changed (folder compares) option true or false.
 boolean getShowContextDiffs()
          Returns Show Context Differences option true or false.
 int getShowContextKB()
          Returns Show Context KB.
 int getShowContextSize()
          Returns Show Context Differences Size.
 boolean getShowContextWhen()
          Returns Show Context When option true or false.
 boolean getShowDels()
          Returns show files Deleted (folder compares) option true or false.
 boolean getShowFolderDefaultFont()
          Returns show folder compare using default Tree Font option true or false.
 boolean getShowFolderDetails()
          Returns show folder compare details (Size and Modified Date) option true or false.
 boolean getShowIgnoredDiffs()
          Returns Show Ignored Diffs option true or false.
 boolean getShowInLineDiffs()
          Returns Show InLine Diffs option true or false.
 boolean getShowInLineDiffsCharacter()
          Returns Show InLine Diffs Charcater option true or false.
 int getShowInLineDiffsPercent()
          Returns Show InLine Diffs Percent value.
 boolean getShowInLineDiffsString()
          Returns Show InLine Diffs String option true or false.
 boolean getShowLineNumbers()
          Returns Show Line Numbers option true or false.
 boolean getShowMats()
          Returns show Matching files (folder compares) option true or false.
 boolean getShowOnlyDiffs()
          Returns Show Only Differences option true or false.
 boolean getShowSubs()
          Returns show subfolders, recursively (folder compares) option true or false.
 boolean getShowSyntaxHighlighting()
          Returns Show Synatx Highlighting option true or false.
 boolean getStyleBarVisible()
          Returns StyleBarVisible option true or false.
 int getTabSize()
          Returns Tab Size option.
 boolean getToolBarVisible()
          Returns ToolBarVisible option true or false.
 boolean getVerifyBxb()
          Returns Verify file matches, byte-by-byte (folder compares) option true or false.
 boolean getVerifySub()
          Returns Verify subfolder matches, (folder compares) option true or false.
 boolean getVerifyTxt()
          Returns Verify file matches, text compared (folder compares) option true or false.
 boolean getViewsBarVisible()
          Returns ViewsBarVisible option true or false.
 boolean getViewSplitHorizontal()
          Returns View Split Horizontal option true or false.
 boolean getViewSplitVertical()
          Returns View Split Vertical option true or false.
 boolean getViewTogether()
          Returns View Together option true or false.
 void mergeCVSFile(boolean vis)
          Performs a Merge, Opens the CVS "conflict" file and displays the differences according to the options selected.
 void mergeFiles(boolean vis)
          Performs a Merge, Compares the 1st and 2nd files and displays the differences according to the options selected.
 void mergeSMFFile(boolean vis)
          Performs a Merge, Opens the Saved Merge file and displays the differences according to the options selected.
protected  void processWindowEvent(java.awt.event.WindowEvent e)
          Override JFrame implementation to exit if the close operation is set to EXIT_ON_CLOSE
 void resetOptions()
          ReSets all the options to the defaults.
 void resetSavedSettings()
          ReSets all the options to the defaults AND, resets to the user SavedSettings.
 void set1stFile(java.lang.String firstname)
          Sets the 1st File Name.
 void set1stFileEncoding(java.lang.String encods)
          Sets File Encoding for 1st files.
 void set1stFolder(java.lang.String firstname)
          Sets the 1st Folder Name.
 void set1stReader(java.io.Reader firstrder)
          Sets the 1st Reader.
 void set1stWriter(java.io.Writer firstwrer)
          Sets the 1st Writer.
 void set2ndFile(java.lang.String secndname)
          Sets the 2nd File Name.
 void set2ndFileEncoding(java.lang.String encods)
          Sets File Encoding for 2nd files.
 void set2ndFolder(java.lang.String secndname)
          Sets the 2nd Folder Name.
 void set2ndReader(java.io.Reader secndrder)
          Sets the 2nd Reader.
 void set2ndWriter(java.io.Writer secndwrer)
          Sets the 2nd Writer.
 void setAllow1stEditing(boolean alledi)
          Sets Allow 1st File Editing during Compares true or false.
 void setAllow1stPopup(boolean allpop)
          Sets Allow 1st File View Popup menu.
 void setAllow2ndEditing(boolean alledi)
          Sets Allow 2nd File Editing during Compares true or false.
 void setAllow2ndPopup(boolean allpop)
          Sets Allow 2nd File View Popup menu.
 void setAllowFileCompares(boolean allfic)
          Sets Allow File Compares (During Merges) true or false.
 void setAllowFolderCompares(boolean allfoc)
          Sets Allow Folder Compares (During Merges) true or false.
 void setAllowMergePopup(boolean allpop)
          Sets Allow Merge View Popup menu.
 void setAllowMerges(boolean allmrg)
          Sets Allow Merges (During Compares) true or false.
 void setAllowSaves(boolean allsav)
          Sets Allow Saves (During Merges) before complete true or false.
 void setAllowTogetherPopup(boolean allpop)
          Sets Allow Together View Popup menu.
 void setAuto1stHTMLTableWriter(java.io.Writer ahtmlwrer)
          Sets the Auto1stTableHTML Writer.
 void setAuto2ndHTMLTableWriter(java.io.Writer ahtmlwrer)
          Sets the Auto2ndTableHTML Writer.
 void setAutoDiff(boolean autod, java.lang.String autodfn)
          Sets AutoDiff option and the Save Diff filename.
 void setAutoHTML(boolean autoh, java.lang.String autohfn)
          Sets AutoHTML option and the Save HTML filename set.
 void setAutoHTMLWriter(java.io.Writer ahtmlwrer)
          Sets the AutoHTML Writer.
 void setAutoMerg(boolean autom)
          Sets AutoMerg option.
 void setBackgroundColor(java.awt.Color baccol)
          Sets the Background color option(Matching, Inserted, and Deleted).
 void setChangedBackgroundColor(java.awt.Color chnbac)
          Sets the Changed background color option.
 void setComparEditBarVisible(boolean vcebar)
          Sets View display ComparEdit ToolBar option true or false.
 void setCVSFile(java.lang.String cvsctname)
          Sets the CVS "conflict" File Name.
 void setDefaultCloseOperation(int operation)
          Override JFrame implementation to store the opcode locally and set exit option in Guiffy pane class
 void setDeletesBackgroundColor(java.awt.Color delbac)
          Sets the Deleted background color option.
 void setDeletesColor(java.awt.Color delcol)
          Sets the Deleted text foreground color option.
 void setDeletesFont(java.awt.Font delfon)
          Sets the Deleted text font option.
 void setEditableH1(boolean hdredi)
          Sets the 1st FileName header Editable.
 void setEditableH2(boolean hdredi)
          Sets the 2nd FileName header Editable.
 void setEditableHM(boolean hdredi)
          Sets the Merge FileName header Editable.
 void setEditBarVisible(boolean vedbar)
          Sets View display Edit ToolBar option true or false.
 void setEncodingAutoMode(boolean sam)
          Sets the Encoding AutoMode.
 void setEOLAutoMode(boolean sam)
          Sets the EOL AutoMode.
 void setEOLOption(java.lang.String eolopt)
          Sets Write EOLs option for Saved files.
 void setEscapeTags(boolean esctag)
          Sets Escape Tags option (for compare htlm reports) true or false.
 void setExpandedFocus(int expfoc)
          Sets Attention(conflict) Focus Expander for SureMerge.
 void setFileEncoding(java.lang.String encods)
          Sets File Encoding for 1st, 2nd, and Parent files.
 void setFillerBackgroundColor(java.awt.Color filbac)
          Sets the Filler background color option.
 void setFillerColor(java.awt.Color filcol)
          Sets the Filler foreground color option.
 void setFillerFont(java.awt.Font filfon)
          Sets the Fillers font option.
 void setGuiffyExit(GuiffyExit hook)
          Sets the GuiffyExit hook of the GuiffyFrame If set to null, a previously added GuiffyExit hook will be removed.
 void setH1(java.lang.String header)
          Sets the 1st FileName header.
 void setH2(java.lang.String header)
          Sets the 2nd FileName header.
 void setHM(java.lang.String header)
          Sets the Merge FileName header.
 void setIgnoreAllFilsExcept(boolean igafe)
          Sets ignore All files Except, (folder compares) true or false.
 void setIgnoreAllTypsExcept(boolean igate)
          Sets ignore All filetypes Except, (folder compares) true or false.
 void setIgnoreBlanklines(boolean ignbln)
          Sets IgnoreBlanklines option true or false.
 void setIgnoreCase(boolean igncas)
          Sets IgnoreCase option true or false.
 void setIgnoreDateandTime(boolean igmdat)
          Sets ignore modified date and time (folder compares) option true or false.
 void setIgnoreEmbeddedWhiteSpace(boolean igs)
          Sets Ignore Embedded type Whitespace flag.
 void setIgnoreField(int begcol, int endcol)
          Sets IgnoreField option columns xxx thru yyy.
 void setIgnoreField2(int begcol, int endcol)
          Sets IgnoreField2 option columns xxx thru yyy.
 void setIgnoreFileSize(boolean igfsiz)
          Sets ignore file size (folder compares) option true or false.
 void setIgnoreFils(java.lang.String igfils)
          Sets ignore files, (folder compares) list.
 void setIgnoreLeadingWhiteSpace(boolean igs)
          Sets Ignore Leading type Whitespace flag.
 void setIgnoreSubs(java.lang.String igsubs)
          Sets ignore subfolders, (folder compares) list.
 void setIgnoreSymbolicLinks(boolean igsyml)
          Sets ignore Symbolic Links (folder compares) option true or false.
 void setIgnoreTrailingWhiteSpace(boolean igs)
          Sets Ignore Trailing type Whitespace flag.
 void setIgnoreTyps(java.lang.String igtyps)
          Sets ignore filetypes, (folder compares) list.
 void setIgnoreWhitespace(boolean ignwhi)
          Sets IgnoreWhitespace of all types option true or false.
 void setInsertsBackgroundColor(java.awt.Color insbac)
          Sets the Inserted background color option.
 void setInsertsColor(java.awt.Color inscol)
          Sets the Inserted text foreground color option.
 void setInsertsFont(java.awt.Font insfon)
          Sets the Inserted text font option.
 void setLineNumBackgroundColor(java.awt.Color linbac)
          Sets the LineNumbers background color option.
 void setLineNumColor(java.awt.Color lincol)
          Sets the LineNumbers foreground color option.
 void setLineNumFont(java.awt.Font linfon)
          Sets the LineNumbers font option.
 void setMatchingBackgroundColor(java.awt.Color matbac)
          Sets the Matching background color option.
 void setMatchingColor(java.awt.Color matcol)
          Sets the Matching text foreground color option.
 void setMatchingFont(java.awt.Font matfon)
          Sets the Matching text font option.
 void setMemoryMeterVisible(boolean vmeter)
          Sets View display Memory Meter ToolBar option true or false.
 void setMergeAutoShift(java.lang.String shifts)
          Sets Merge AutoShift to [R] [N] or [D].
 void setMergeBarVisible(boolean mrgbar)
          Sets View display Merge ToolBar option true or false.
 void setMinimumBlocksDiff(boolean minblk)
          Sets Minimize Blocks Changed Diff option true or false.
 void setMinimumLinesDiff(boolean minlin)
          Sets Minimize Lines Changed Diff option true or false.
 void setNamedSettingsFile(java.lang.String settname)
          Sets the Named Settings File Name.
 void setNavigationBarVisible(boolean vnabar)
          Sets View display Navigation ToolBar option true or false.
 void setOEMLicenseKey(java.io.ByteArrayInputStream bais)
           
 void setOptsBarVisible(boolean vopbar)
          Sets View display Options ToolBar option true or false.
 void setP1(java.lang.String prefix)
          Sets the prefix for 1st FileName header.
 void setP2(java.lang.String prefix)
          Sets the prefix for 2nd FileName header.
 void setParentFile(java.lang.String parntname)
          Sets the Parent File Name.
 void setParentFileEncoding(java.lang.String encods)
          Sets File Encoding for Parent files.
 void setParentFolder(java.lang.String parntname)
          Sets the Parent Folder Name.
 void setParentReader(java.io.Reader parntrder)
          Sets the Parent Reader.
 void setPM(java.lang.String prefix)
          Sets the prefix for Merge FileName header.
 void setPromote(boolean promo)
          Sets Promote merge option true or false.
 void setQtRexs(java.lang.String[] rxs, int rxi)
          Sets Quietly Ignore Regular Expressions list.
 void setQtRexTyps(java.lang.String[] rxs, java.lang.String[] rxt, int rxi)
          Sets Quietly Ignore Regular Expressions list and Types.
 void setRepBakMode(java.lang.String rbjopt)
          Sets Replace / Backup mode for Saved files.
 void setResultFile(java.lang.String resltname)
          Sets the Result File Name.
 void setResultFolder(java.lang.String resltname)
          Sets the Result Folder Name.
 void setResultWriter(java.io.Writer resltwrer)
          Sets the Result Writer.
 void setSaveEncoding(java.lang.String encods)
          Sets Save Encoding for Dif, RCS, MergeResult and HTML files.
 void setSaveSettings(int savset)
          Sets Auto Save Settings control.
 void setSelectedBackgroundColor(java.awt.Color selbac)
          Sets the Selected background color option.
 void setSelectedColor(java.awt.Color selcol)
          Sets the Selected text foreground color option.
 void setShowAdds(boolean sho)
          Sets show files Added (folder compares) option.
 void setShowAlignSimilarLines(boolean shoasl)
          Sets Show Align similar lines option true or false.
 void setShowArcs(boolean sharcs)
          Sets show archive filetypes, recursively (folder compares) option true or false.
 void setShowChgs(boolean sho)
          Sets show files Changed (folder compares) option.
 void setShowContextDiffs(boolean shocxt)
          Sets Show Context Differences option true or false.
 void setShowContextKB(int conkbs)
          Sets Show Context When KB Size option.
 void setShowContextSize(int conlns)
          Sets Show Context Differences Size option.
 void setShowContextWhen(boolean shocxt)
          Sets Show Context When option true or false.
 void setShowDels(boolean sho)
          Sets show files Deleted (folder compares) option.
 void setShowFolderDefaultFont(boolean shfcdf)
          Sets show folder compare using default Tree Font true or false.
 void setShowFolderDetails(boolean shfcdt)
          Sets show folder compare details (Size and Modified date) true or false.
 void setShowGutter(boolean shogut)
          Sets Show Gutter option (for compare htlm reports) true or false.
 void setShowIgnoredDiffs(boolean sig)
          Sets Show Ignored Diffs default is false.
 void setShowInLineDiffs(boolean shoinl)
          Sets Show InLine Differences option true or false.
 void setShowInLineDiffsCharacter(boolean shochr)
          Sets Show InLine Diffs Character option true or false.
 void setShowInLineDiffsString(boolean shostr)
          Sets Show InLine Diffs String option true or false.
 void setShowInLinePercent(int shopct)
          Sets Show InLine Differences < Percent of line value.
 void setShowLineNumbers(boolean sholno)
          Sets Show Line Numbers option true or false.
 void setShowMats(boolean sho)
          Sets show Matching files (folder compares) option.
 void setShowOnlyDiffs(boolean shonly)
          Sets Show Only Differences option true or false.
 void setShowSubs(boolean shsubs)
          Sets show subfolders, recursively (folder compares) option true or false.
 void setShowSyntaxHighlighting(boolean shosyn)
          Sets Show Syntax Highlighting option true or false.
 void setSMFFile(java.lang.String smfname)
          Sets the Saved Merge File Name.
 void setStyleBarVisible(boolean vstbar)
          Sets View display Style ToolBar option true or false.
 void setTabSize(int tabsiz)
          Sets Tab Size option.
 void setToolBarVisible(boolean vitbar)
          Sets View display ToolBar option true or false.
 void setVerifyBxb(boolean verbxb)
          Sets Verify file matches, byte-by-byte (folder compares) option true or false.
 void setVerifySub(boolean versub)
          Sets Verify subfolder matches, (folder compares) option true or false.
 void setVerifyTxt(boolean vertxt)
          Sets Verify file matches, text compare (folder compares) option true or false.
 void setViewsBarVisible(boolean vvebar)
          Sets View display Views ToolBar option true or false.
 void setViewSplitHorizontal(boolean viwhor)
          Sets View Split Horizontal option true or false.
 void setViewSplitVertical(boolean viwver)
          Sets View Split Vertical option true or false.
 void setViewTogether(boolean viwtog)
          Sets View Together option true or false.
 void setVisible(boolean vis)
          Override JFrame implementation to display registration Nag Dialog.
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

EXIT_ON_CLOSE

public static final int EXIT_ON_CLOSE
WindowsConstants - setDefaultCloseOperation(EXIT_ON_CLOSE) will do System.exit(0) when the Frame is closed

See Also:
Constant Field Values

SAVESETS_OFF

public static final int SAVESETS_OFF
Auto Save Settings Constants - controls automatically saving settings on Exit. Can be: OFF, ONPROMPT(with Prompt), ONQUIET(No Prompt).

See Also:
Constant Field Values

SAVESETS_ONPROMPT

public static final int SAVESETS_ONPROMPT
See Also:
Constant Field Values

SAVESETS_ONQUIET

public static final int SAVESETS_ONQUIET
See Also:
Constant Field Values
Constructor Detail

GuiffyFrame

public GuiffyFrame(boolean usesettings)
Creates a GuiffyFrame with all the options defaulted, If usesettings is true - the user's SavedSettings are loaded and set. If usesettings is false - the File->SaveSettings menuitem is disabled.

Parameters:
usesettings - the boolean value that specifies whether to load and set the user's SavedSettings.
Method Detail

setDefaultCloseOperation

public void setDefaultCloseOperation(int operation)
Override JFrame implementation to store the opcode locally and set exit option in Guiffy pane class

Overrides:
setDefaultCloseOperation in class javax.swing.JFrame

setVisible

public void setVisible(boolean vis)
Override JFrame implementation to display registration Nag Dialog.

Overrides:
setVisible in class java.awt.Component

setOEMLicenseKey

public void setOEMLicenseKey(java.io.ByteArrayInputStream bais)

processWindowEvent

protected void processWindowEvent(java.awt.event.WindowEvent e)
Override JFrame implementation to exit if the close operation is set to EXIT_ON_CLOSE

Overrides:
processWindowEvent in class javax.swing.JFrame

setGuiffyExit

public void setGuiffyExit(GuiffyExit hook)
Sets the GuiffyExit hook of the GuiffyFrame If set to null, a previously added GuiffyExit hook will be removed.

See Also:
GuiffyExit

compareFiles

public void compareFiles(boolean vis)
                  throws java.io.IOException
Compares the 1st and 2nd files and displays the differences according to the options selected.

First, checks each File.exists(), !File.isDirectory, and File.canRead().
NOTE: If the file's Reader is set, the above checks are avoided.
Throws an IOException on any error.
Then, sets Frame Visible(or NOT) and performs the compare.

Parameters:
vis - the boolean value that specifies whether to make GuiffyFrame Visible.
Throws:
java.io.IOException - if files don't exist, are a folder, or can't read

mergeFiles

public void mergeFiles(boolean vis)
                throws java.io.IOException
Performs a Merge, Compares the 1st and 2nd files and displays the differences according to the options selected. Then, displays the 3rd view showing the merged text.

First, checks 1st, 2nd, and Parent File.exists(), !File.isDirectory, and File.canRead().
NOTE: If the file's Reader is set, the above checks are avoided.
Checks Result !File.isDirectory().
NOTE: If the file's Writer is set, the above check is avoided.
Throws an IOException on any error.
Then, sets Frame Visible(or NOT) and performs the compare(s) and merge.

If a Parent file is specified, each file is compared with the Parent and all non-conflicting changes are automatically merged. The UI displays each change(without a Parent file specified) or only the changes which have a conflict to allow the user selection of the changes to be applied in the merge. And, the user can perform editing of the text in the merge view.

Parameters:
vis - the boolean value that specifies whether to make GuiffyFrame Visible.
Throws:
java.io.IOException - if input files don't exist, are a folder, or can't read
java.io.IOException - if result file is a folder, or can't write

mergeCVSFile

public void mergeCVSFile(boolean vis)
                  throws java.io.IOException
Performs a Merge, Opens the CVS "conflict" file and displays the differences according to the options selected. Then, displays the 3rd view showing the merged text.

First, checks CVS File.exists(), !File.isDirectory, and File.canRead().
Checks Result !File.isDirectory().
Throws an IOException on any error.
Then, sets Frame Visible(or NOT) and performs the open and merge.

The UI displays each conflict to allow the user selection of the changes to be applied in the merge. And, the user can perform editing of the text in the merge view.

Parameters:
vis - the boolean value that specifies whether to make GuiffyFrame Visible.
Throws:
java.io.IOException - if CVS input file doesn't exist, is a folder, or can't read
java.io.IOException - if result file is a folder, or can't write

mergeSMFFile

public void mergeSMFFile(boolean vis)
                  throws java.io.IOException
Performs a Merge, Opens the Saved Merge file and displays the differences according to the options selected. Then, displays the 3rd view showing the merged text.

First, checks Saved Merge File.exists(), !File.isDirectory, and File.canRead().
Checks Result !File.isDirectory().
Throws an IOException on any error.
Then, sets Frame Visible(or NOT) and performs the open and merge.

The UI displays each unsresolved change to allow the user selection of the changes to be applied in the merge. And, the user can perform editing of the text in the merge view.

Parameters:
vis - the boolean value that specifies whether to make GuiffyFrame Visible.
Throws:
java.io.IOException - if Saved Merge input file doesn't exist, is a folder, or can't read
java.io.IOException - if result file is a folder, or can't write

compareFolders

public void compareFolders(boolean vis)
                    throws java.io.IOException
Compares the 1st and 2nd folders and displays the differences according to the options selected.

First, checks each File.exists(), File.isDirectory, and File.canRead().
Throws an IOException on any error.
Then, sets Frame Visible(or NOT) and performs the compare.

Parameters:
vis - the boolean value that specifies whether to make GuiffyFrame Visible.
Throws:
java.io.IOException - if folders don't exist, are not a folder, or can't read

actionOpenCMFiles

public void actionOpenCMFiles()
Action for Open & Compare/Merge files.


actionOpenCFolders

public void actionOpenCFolders()
Action for Open & Compare folders.


actionPrint

public void actionPrint()
Action for Print Difference.


actionOpenCVS

public void actionOpenCVS()
Action for Open CVS Conflict file.


actionOpenSMF

public void actionOpenSMF()
Action for Open Saved Merge file.


actionSaveSettings

public void actionSaveSettings()
Action for Save Settings.


actionSaveMerge

public void actionSaveMerge()
Action for Save Merge.


actionSave1st

public void actionSave1st()
Action for Save 1st.


actionSave2nd

public void actionSave2nd()
Action for Save 2nd.


actionSave1stAs

public void actionSave1stAs()
Action for Save 1stAs.


actionSave2ndAs

public void actionSave2ndAs()
Action for Save 2ndAs.


actionSaveDiff

public void actionSaveDiff()
Action for Save Difference.


actionSaveAsUnifiedDiff

public void actionSaveAsUnifiedDiff()
Action for Save As Unified Diff.


actionSaveHTML

public void actionSaveHTML()
Action for Save As HTML.


actionSaveMergeExit

public void actionSaveMergeExit()
Action for Save Merge & Exit (from Merge Bar).


actionExitMerge

public void actionExitMerge()
Action for Exit (from Merge Bar).


actionUndo

public void actionUndo()
Action for Undo.


actionRedo

public void actionRedo()
Action for Redo.


actionCopy

public void actionCopy()
Action for Copy.


actionPaste

public void actionPaste()
Action for Paste.


actionMark

public void actionMark()
Action for Mark Removed.


actionFlip

public void actionFlip()
Action for Flip.


actionRep2ndin1st

public void actionRep2ndin1st()
Action for Replace 2nd in 1st.


actionRep1stin2nd

public void actionRep1stin2nd()
Action for Replace 1st in 2nd.


actionOptsIgnore

public void actionOptsIgnore()
Action for Options Ignore.


actionOptsShow

public void actionOptsShow()
Action for Options Show.


actionOptsFolderIgnore

public void actionOptsFolderIgnore()
Action for Options Folder Ignore.


actionOptsFolderShow

public void actionOptsFolderShow()
Action for Options Folder Show.


actionOptsCompareMerge

public void actionOptsCompareMerge()
Action for Options Compare/Merge.


actionOptsFont

public void actionOptsFont()
Action for Options Fonts.


actionOptsColor

public void actionOptsColor()
Action for Options Colors.


actionOptsStyle

public void actionOptsStyle()
Action for Options Style.


actionOptsSyntaxHighlightingFileTypes

public void actionOptsSyntaxHighlightingFileTypes()
Action for Options Syntax Highlighting File Types.


actionOptsSyntaxHighlightingStyles

public void actionOptsSyntaxHighlightingStyles()
Action for Options Syntax Highlighting Styles.


actionOptsEOLs

public void actionOptsEOLs()
Action for Options Write EOLs.


actionOptsEncode

public void actionOptsEncode()
Action for Options Encoding.


actionOptsFTypes

public void actionOptsFTypes()
Action for Options File Types.


actionOptsShortcuts

public void actionOptsShortcuts()
Action for Options Shortcuts.


actionViewRefresh

public void actionViewRefresh()
Action for View Refresh.


actionViewSplitVertical

public void actionViewSplitVertical()
Action for View Split Vertical.


actionViewSplitHorizontal

public void actionViewSplitHorizontal()
Action for View Split Horizontal.


actionViewTogether

public void actionViewTogether()
Action for View Together.


actionFind

public void actionFind()
Action for Find.


actionNextAttention

public void actionNextAttention()
Action for Next Attention.


actionPreviousAttention

public void actionPreviousAttention()
Action for Previous Attention.


actionKeepUndoAll

public void actionKeepUndoAll()
Action for KeepUndoAll.


actionMergeAutoShiftR

public void actionMergeAutoShiftR()
Action for Merge AutoShift to "Reverse".


actionMergeAutoShiftN

public void actionMergeAutoShiftN()
Action for Merge AutoShift to "Neutral".


actionMergeAutoShiftD

public void actionMergeAutoShiftD()
Action for Merge AutoShift to "Drive".


actionNextChange

public void actionNextChange()
Action for Next Change.


actionPreviousChange

public void actionPreviousChange()
Action for Previous Change.


actionHelpContents

public void actionHelpContents()
Action for Help Contents.


actionHelpIndex

public void actionHelpIndex()
Action for Help Index.


actionHelpSearch

public void actionHelpSearch()
Action for Help Search.


actionHelpAbout

public void actionHelpAbout()
Action for Help About.


setNamedSettingsFile

public void setNamedSettingsFile(java.lang.String settname)
Sets the Named Settings File Name. Loads the Named Settings file.

Parameters:
settname - the Saved Settings File name as a complete path.

set1stFile

public void set1stFile(java.lang.String firstname)
Sets the 1st File Name.

Parameters:
firstname - the 1st File name as a complete path.

set2ndFile

public void set2ndFile(java.lang.String secndname)
Sets the 2nd File Name.

Parameters:
secndname - the 2nd File name as a complete path.

setParentFile

public void setParentFile(java.lang.String parntname)
Sets the Parent File Name.

Parameters:
parntname - the Parent File name as a complete path.

setResultFile

public void setResultFile(java.lang.String resltname)
Sets the Result File Name.

Parameters:
resltname - the Result File name as a complete path.

set1stReader

public void set1stReader(java.io.Reader firstrder)
Sets the 1st Reader.

Parameters:
firstrder - the 1st Reader.

set2ndReader

public void set2ndReader(java.io.Reader secndrder)
Sets the 2nd Reader.

Parameters:
secndrder - the 2nd Reader.

set1stWriter

public void set1stWriter(java.io.Writer firstwrer)
Sets the 1st Writer.

Parameters:
firstwrer - the 1st Writer.

set2ndWriter

public void set2ndWriter(java.io.Writer secndwrer)
Sets the 2nd Writer.

Parameters:
secndwrer - the 2nd Writer.

setParentReader

public void setParentReader(java.io.Reader parntrder)
Sets the Parent Reader.

Parameters:
parntrder - the Parent Reader.

setResultWriter

public void setResultWriter(java.io.Writer resltwrer)
Sets the Result Writer.

Parameters:
resltwrer - the Result Writer.

setAutoHTMLWriter

public void setAutoHTMLWriter(java.io.Writer ahtmlwrer)
Sets the AutoHTML Writer. Sets AutoHTML option true. When AutoHTML is set true, after a compare - Save as HTML and Exit are automatic. *

Parameters:
ahtmlwrer - the Result Writer.

setAuto1stHTMLTableWriter

public void setAuto1stHTMLTableWriter(java.io.Writer ahtmlwrer)
Sets the Auto1stTableHTML Writer. Sets AutoHTML option true. When AutoHTML is set true, after a compare - Save as HTML and Exit are automatic. *

Parameters:
ahtmlwrer - the Result Writer.

setAuto2ndHTMLTableWriter

public void setAuto2ndHTMLTableWriter(java.io.Writer ahtmlwrer)
Sets the Auto2ndTableHTML Writer. Sets AutoHTML option true. When AutoHTML is set true, after a compare - Save as HTML and Exit are automatic. *

Parameters:
ahtmlwrer - the Result Writer.

setCVSFile

public void setCVSFile(java.lang.String cvsctname)
Sets the CVS "conflict" File Name.

Parameters:
cvsctname - the CVS conflict File name as a complete path.

setSMFFile

public void setSMFFile(java.lang.String smfname)
Sets the Saved Merge File Name.

Parameters:
smfname - the Saved Merge File name as a complete path.

set1stFolder

public void set1stFolder(java.lang.String firstname)
Sets the 1st Folder Name.

Parameters:
firstname - the 1st Folder name as a complete path.

set2ndFolder

public void set2ndFolder(java.lang.String secndname)
Sets the 2nd Folder Name.

Parameters:
secndname - the 2nd Folder name as a complete path.

setParentFolder

public void setParentFolder(java.lang.String parntname)
Sets the Parent Folder Name. Used when launchimg 3-way merge from a folder compare.

Parameters:
parntname - the Parent Folder name as a complete path.

setResultFolder

public void setResultFolder(java.lang.String resltname)
Sets the Result Folder Name. Used when launchimg 3-way merge from a folder compare.

Parameters:
resltname - the Result File name as a complete path.

setIgnoreCase

public void setIgnoreCase(boolean igncas)
Sets IgnoreCase option true or false. Default is false.

Parameters:
igncas - the boolean value that determines whether case differences are ignored during the compare.

setIgnoreWhitespace

public void setIgnoreWhitespace(boolean ignwhi)
Sets IgnoreWhitespace of all types option true or false. Default is false.

Parameters:
ignwhi - the boolean value that determines whether whitespace differences are ignored during the compare.

setIgnoreLeadingWhiteSpace

public void setIgnoreLeadingWhiteSpace(boolean igs)
Sets Ignore Leading type Whitespace flag. Default is false.

Parameters:
igs - the boolean value that determines whether leading whitespace differences are ignored during the compare.

setIgnoreEmbeddedWhiteSpace

public void setIgnoreEmbeddedWhiteSpace(boolean igs)
Sets Ignore Embedded type Whitespace flag. Default is false.

Parameters:
igs - the boolean value that determines whether embedded whitespace differences are ignored during the compare.

setIgnoreTrailingWhiteSpace

public void setIgnoreTrailingWhiteSpace(boolean igs)
Sets Ignore Trailing type Whitespace flag. Default is false.

Parameters:
igs - the boolean value that determines whether trailing whitespace differences are ignored during the compare.

setIgnoreBlanklines

public void setIgnoreBlanklines(boolean ignbln)
Sets IgnoreBlanklines option true or false. Default is false.

Parameters:
ignbln - the boolean value that determines whether blanklines inserted or deleted are ignored during the compare.

setIgnoreField

public void setIgnoreField(int begcol,
                           int endcol)
Sets IgnoreField option columns xxx thru yyy. Default is none(0 thru 0).

Parameters:
begcol - the ignore field's beginning column
endcol - the ignore field's ending column

setIgnoreField2

public void setIgnoreField2(int begcol,
                            int endcol)
Sets IgnoreField2 option columns xxx thru yyy. Default is none(0 thru 0).

Parameters:
begcol - the ignore field's beginning column
endcol - the ignore field's ending column

setQtRexs

public void setQtRexs(java.lang.String[] rxs,
                      int rxi)
Sets Quietly Ignore Regular Expressions list. (Type = Line)

Parameters:
rxs - the String array of ignore regular expressions.
rxi - the number of regular expressions.

setQtRexTyps

public void setQtRexTyps(java.lang.String[] rxs,
                         java.lang.String[] rxt,
                         int rxi)
Sets Quietly Ignore Regular Expressions list and Types.

Parameters:
rxs - the String array of ignore regular expressions.
rxt - the String array of Types(Line,Part, or Block).
rxi - the number of regular expressions.

setRepBakMode

public void setRepBakMode(java.lang.String rbjopt)
Sets Replace / Backup mode for Saved files. Default is Confirm.

Parameters:
rbjopt - the String value of "Replace", "Confirm", "Backup" or "Journal" specifies the Replace / Backup mode for Saved Files.

setVerifyBxb

public void setVerifyBxb(boolean verbxb)
Sets Verify file matches, byte-by-byte (folder compares) option true or false. Default is false.

Parameters:
verbxb - the boolean value that determines whether file matches are verified, byte-by-byte during folder compares.

setVerifyTxt

public void setVerifyTxt(boolean vertxt)
Sets Verify file matches, text compare (folder compares) option true or false. Default is false.

Parameters:
vertxt - the boolean value that determines whether file matches are verified, text compare during folder compares.

setVerifySub

public void setVerifySub(boolean versub)
Sets Verify subfolder matches, (folder compares) option true or false. Default is false.

Parameters:
versub - the boolean value that determines whether subfolder matches are verified, during folder compares.

setIgnoreDateandTime

public void setIgnoreDateandTime(boolean igmdat)
Sets ignore modified date and time (folder compares) option true or false. Default is false.

Parameters:
igmdat - the boolean value that determines whether modified date and time is ignored during folder compares.

setIgnoreFileSize

public void setIgnoreFileSize(boolean igfsiz)
Sets ignore file size (folder compares) option true or false. Default is false.

Parameters:
igfsiz - the boolean value that determines whether file size is ignored during folder compares.

setIgnoreSymbolicLinks

public void setIgnoreSymbolicLinks(boolean igsyml)
Sets ignore Symbolic Links (folder compares) option true or false. Default is false.

Parameters:
igsyml - the boolean value that determines whether symbolic links are ignored during folder compares.

setShowSubs

public void setShowSubs(boolean shsubs)
Sets show subfolders, recursively (folder compares) option true or false. Default is false.

Parameters:
shsubs - the boolean value that determines whether to show subfolders (recursively) during folder compares.

setShowArcs

public void setShowArcs(boolean sharcs)
Sets show archive filetypes, recursively (folder compares) option true or false. Default is false.

Parameters:
sharcs - the boolean value that determines whether to show archive filetypes (recursively) during folder compares.

setShowFolderDetails

public void setShowFolderDetails(boolean shfcdt)
Sets show folder compare details (Size and Modified date) true or false. Default is true.

Parameters:
shfcdt - the boolean value that specifies to show folder compare details

setShowFolderDefaultFont

public void setShowFolderDefaultFont(boolean shfcdf)
Sets show folder compare using default Tree Font true or false. Default is false.

Parameters:
shfcdf - the boolean value that specifies to show folder compare using default Tree Font

setShowMats

public void setShowMats(boolean sho)
Sets show Matching files (folder compares) option. Default it true.

Parameters:
sho - the boolean value for whether to show Matching files.

setShowAdds

public void setShowAdds(boolean sho)
Sets show files Added (folder compares) option. Default it true.

Parameters:
sho - the boolean value for whether to show files Added.

setShowDels

public void setShowDels(boolean sho)
Sets show files Deleted (folder compares) option. Default it true.

Parameters:
sho - the boolean value for whether to show files Deleted.

setShowChgs

public void setShowChgs(boolean sho)
Sets show files Changed (folder compares) option. Default it true.

Parameters:
sho - the boolean value for whether to show files Changed.

setIgnoreSubs

public void setIgnoreSubs(java.lang.String igsubs)
Sets ignore subfolders, (folder compares) list.

Parameters:
igsubs - the string value list of subfolders to ignore. The list of subfolders are separated by ';'s.

setIgnoreFils

public void setIgnoreFils(java.lang.String igfils)
Sets ignore files, (folder compares) list.

Parameters:
igfils - the string value list of files to ignore. The list of file are separated by ';'s.

setIgnoreAllFilsExcept

public void setIgnoreAllFilsExcept(boolean igafe)
Sets ignore All files Except, (folder compares) true or false. Default is false.

Parameters:
igafe - the boolean value that indicates All Except files are ignored during folder compares.

setIgnoreTyps

public void setIgnoreTyps(java.lang.String igtyps)
Sets ignore filetypes, (folder compares) list.

Parameters:
igtyps - the string value list of filetypes to ignore. The list of filetypes like .class are separated by ';'s.

setIgnoreAllTypsExcept

public void setIgnoreAllTypsExcept(boolean igate)
Sets ignore All filetypes Except, (folder compares) true or false. Default is false.

Parameters:
igate - the boolean value that indicates All Except filetypes are ignored during folder compares.

setTabSize

public void setTabSize(int tabsiz)
Sets Tab Size option. Default is 8.

Parameters:
tabsiz - the int value that specifies tab size for the text views.

setShowOnlyDiffs

public void setShowOnlyDiffs(boolean shonly)
Sets Show Only Differences option true or false. Default is false.

Parameters:
shonly - the boolean value that specifies to show only the differences in compare views.

setShowContextDiffs

public void setShowContextDiffs(boolean shocxt)
Sets Show Context Differences option true or false. Default is true.

Parameters:
shocxt - the boolean value that specifies to show context around differences in compare views.

setShowContextSize

public void setShowContextSize(int conlns)
Sets Show Context Differences Size option. Default is 10.

Parameters:
conlns - the number of lines of context to show before and after differences. If less than 1, default of 10 is used. If greater than 48, value of 48 is used.

setShowContextWhen

public void setShowContextWhen(boolean shocxt)
Sets Show Context When option true or false. Default is true.

Parameters:
shocxt - the boolean value that specifies to show context when files are > specified KB in size.

setShowContextKB

public void setShowContextKB(int conkbs)
Sets Show Context When KB Size option. Default is 400.

Parameters:
conkbs - show context when file is > KB. If less than 1, default of 400 is used.

setShowInLineDiffs

public void setShowInLineDiffs(boolean shoinl)
Sets Show InLine Differences option true or false. Default is true.

Parameters:
shoinl - the boolean value that specifies to show InLine diffs in compare views.

setShowInLinePercent

public void setShowInLinePercent(int shopct)
Sets Show InLine Differences < Percent of line value. Default is 50.

Parameters:
shopct - the int value that specifies to show InLine diffs when < percent of line length.

setShowInLineDiffsString

public void setShowInLineDiffsString(boolean shostr)
Sets Show InLine Diffs String option true or false. Default is false.

Parameters:
shostr - the boolean value that specifies to show InLine diffs as a single string in compare views.

setShowInLineDiffsCharacter

public void setShowInLineDiffsCharacter(boolean shochr)
Sets Show InLine Diffs Character option true or false. Default is true.

Parameters:
shochr - the boolean value that specifies to show InLine diffs Char by Char in compare views.

setShowAlignSimilarLines

public void setShowAlignSimilarLines(boolean shoasl)
Sets Show Align similar lines option true or false. Default is false.

Parameters:
shoasl - the boolean value that specifies to show Align similar lines in file compare views.

setShowLineNumbers

public void setShowLineNumbers(boolean sholno)
Sets Show Line Numbers option true or false. Default is true.

Parameters:
sholno - the boolean value that specifies to show Line Numbers in compare views.

setShowSyntaxHighlighting

public void setShowSyntaxHighlighting(boolean shosyn)
Sets Show Syntax Highlighting option true or false. Default is false.

Parameters:
shosyn - the boolean value that specifies to show Syntax Highlighting in compare/merge views.

setShowGutter

public void setShowGutter(boolean shogut)
Sets Show Gutter option (for compare htlm reports) true or false. Default is true.

Parameters:
shogut - the boolean value that specifies to show Gutter in compare report.

setShowIgnoredDiffs

public void setShowIgnoredDiffs(boolean sig)
Sets Show Ignored Diffs default is false.

Parameters:
sig - the boolean value for show ignored diffs

setEscapeTags

public void setEscapeTags(boolean esctag)
Sets Escape Tags option (for compare htlm reports) true or false. Default is true.

Parameters:
esctag - the boolean value that specifies to escape tags in compare report.

setEOLOption

public void setEOLOption(java.lang.String eolopt)
Sets Write EOLs option for Saved files. Default is the format of the operating environment.

Parameters:
eolopt - the String value of "DOS", "MacOS" or "Unix" specifies the format for writing End-Of-Lines in Saved Files.

setEOLAutoMode

public void setEOLAutoMode(boolean sam)
Sets the EOL AutoMode.


setFileEncoding

public void setFileEncoding(java.lang.String encods)
Sets File Encoding for 1st, 2nd, and Parent files. Default is the format of the Locale operating environment.

Parameters:
encods - the String value of the Encoding such as "ASCII", "UTF8", "SJIS", "Cp500" (for EBCDIC) etc. - Over 100 formats supported.

set1stFileEncoding

public void set1stFileEncoding(java.lang.String encods)
Sets File Encoding for 1st files. Default is the format of the Locale operating environment.

Parameters:
encods - the String value of the Encoding such as "ASCII", "UTF8", "SJIS", "Cp500" (for EBCDIC) etc. - Over 100 formats supported.

set2ndFileEncoding

public void set2ndFileEncoding(java.lang.String encods)
Sets File Encoding for 2nd files. Default is the format of the Locale operating environment.

Parameters:
encods - the String value of the Encoding such as "ASCII", "UTF8", "SJIS", "Cp500" (for EBCDIC) etc. - Over 100 formats supported.

setParentFileEncoding

public void setParentFileEncoding(java.lang.String encods)
Sets File Encoding for Parent files. Default is the format of the Locale operating environment.

Parameters:
encods - the String value of the Encoding such as "ASCII", "UTF8", "SJIS", "Cp500" (for EBCDIC) etc. - Over 100 formats supported.

setSaveEncoding

public void setSaveEncoding(java.lang.String encods)
Sets Save Encoding for Dif, RCS, MergeResult and HTML files. Default is the format of the Locale operating environment.

Parameters:
encods - the String value of the Encoding such as "ASCII", "UTF8", "SJIS", "Cp500" (for EBCDIC) etc. - Over 100 formats supported.

setEncodingAutoMode

public void setEncodingAutoMode(boolean sam)
Sets the Encoding AutoMode.


setMatchingFont

public void setMatchingFont(java.awt.Font matfon)
Sets the Matching text font option. Default is "Courier New" or"Monospaced", Font.PLAIN, 12.

Parameters:
matfon - the Font for Matching text.

setInsertsFont

public void setInsertsFont(java.awt.Font insfon)
Sets the Inserted text font option. Default is "Courier New" or "Monospaced", Font.PLAIN, 12.

Parameters:
insfon - the Font for Inserted text.

setDeletesFont

public void setDeletesFont(java.awt.Font delfon)
Sets the Deleted text font option. Default is "Courier New" or "Monospaced", Font.PLAIN, 12.

Parameters:
delfon - the Font for Deleted text.

setLineNumFont

public void setLineNumFont(java.awt.Font linfon)
Sets the LineNumbers font option. Default is "Courier New" or"Monospaced", Font.PLAIN, 12.

Parameters:
linfon - the Font for LineNumbers.

setFillerFont

public void setFillerFont(java.awt.Font filfon)
Sets the Fillers font option. Default is "Courier New" or"Monospaced", Font.PLAIN, 12.

Parameters:
filfon - the Font for Fillers.

setBackgroundColor

public void setBackgroundColor(java.awt.Color baccol)
Sets the Background color option(Matching, Inserted, and Deleted). Default RGB values are 255, 255, and 255.

Parameters:
baccol - the Color for Backgrounds.

setMatchingColor

public void setMatchingColor(java.awt.Color matcol)
Sets the Matching text foreground color option. Default RGB values are 4, 4, and 2.

Parameters:
matcol - the Color for Matching text foreground.

setMatchingBackgroundColor

public void setMatchingBackgroundColor(java.awt.Color matbac)
Sets the Matching background color option. Default RGB values are 255, 255, and 255.

Parameters:
matbac - the Color for Matching background.

setInsertsColor

public void setInsertsColor(java.awt.Color inscol)
Sets the Inserted text foreground color option. Default RGB values are 0, 112, and 0.

Parameters:
inscol - the Color for Inserted text foreground.

setInsertsBackgroundColor

public void setInsertsBackgroundColor(java.awt.Color insbac)
Sets the Inserted background color option. Default RGB values are 205, 235, and 205.

Parameters:
insbac - the Color for Inserted background.

setDeletesColor

public void setDeletesColor(java.awt.Color delcol)
Sets the Deleted text foreground color option. Default RGB values are 208, 96, and 0.

Parameters:
delcol - the Color for Deleted text foreground.

setDeletesBackgroundColor

public void setDeletesBackgroundColor(java.awt.Color delbac)
Sets the Deleted background color option. Default RGB values are 235, 205, and 205.

Parameters:
delbac - the Color for Deleted background.

setChangedBackgroundColor

public void setChangedBackgroundColor(java.awt.Color chnbac)
Sets the Changed background color option. Default RGB values are 205, 205, and 235.

Parameters:
chnbac - the Color for Changed background.

setSelectedColor

public void setSelectedColor(java.awt.Color selcol)
Sets the Selected text foreground color option. Default RGB values are 245, 245, and 245.

Parameters:
selcol - the Color for Selected text foreground.

setSelectedBackgroundColor

public void setSelectedBackgroundColor(java.awt.Color selbac)
Sets the Selected background color option. Default RGB values are 0, 102, and 204.

Parameters:
selbac - the Color for Selected background.

setLineNumColor

public void setLineNumColor(java.awt.Color lincol)
Sets the LineNumbers foreground color option. Default RGB values are 66, 66, and 66.

Parameters:
lincol - the Color for LineNumbers foreground.

setLineNumBackgroundColor

public void setLineNumBackgroundColor(java.awt.Color linbac)
Sets the LineNumbers background color option. Default RGB values are 211, 212, and 213.

Parameters:
linbac - the Color for LineNumbers background.

setFillerColor

public void setFillerColor(java.awt.Color filcol)
Sets the Filler foreground color option. Default RGB values are 97, 98, and 99.

Parameters:
filcol - the Color for Filler foreground.

setFillerBackgroundColor

public void setFillerBackgroundColor(java.awt.Color filbac)
Sets the Filler background color option. Default RGB values are 231, 232, and 233.

Parameters:
filbac - the Color for Filler background.

setViewTogether

public void setViewTogether(boolean viwtog)
Sets View Together option true or false. Default is false.

Parameters:
viwtog - the boolean value that specifies to show differences together in one compare view.

setViewSplitVertical

public void setViewSplitVertical(boolean viwver)
Sets View Split Vertical option true or false. Default is true.

Parameters:
viwver - the boolean value that specifies to show differences split vertically side-by-side in compare views.

setViewSplitHorizontal

public void setViewSplitHorizontal(boolean viwhor)
Sets View Split Horizontal option true or false. Default is false.

Parameters:
viwhor - the boolean value that specifies to show differences split horizontally one-over-the-other in compare views.

setToolBarVisible

public void setToolBarVisible(boolean vitbar)
Sets View display ToolBar option true or false. Default is true.

Parameters:
vitbar - the boolean value that specifies to show ToolBar.

setEditBarVisible

public void setEditBarVisible(boolean vedbar)
Sets View display Edit ToolBar option true or false. Default is true.

Parameters:
vedbar - the boolean value that specifies to show Edit Bar.

setMergeBarVisible

public void setMergeBarVisible(boolean mrgbar)
Sets View display Merge ToolBar option true or false. Default is true. Ignored beginning with 11.0 release - Merge Toolbar removed.

Parameters:
mrgbar - the boolean value that specifies to show Merge Bar.

setOptsBarVisible

public void setOptsBarVisible(boolean vopbar)
Sets View display Options ToolBar option true or false. Default is true.

Parameters:
vopbar - the boolean value that specifies to show Opts Bar.

setStyleBarVisible

public void setStyleBarVisible(boolean vstbar)
Sets View display Style ToolBar option true or false. Default is true.

Parameters:
vstbar - the boolean value that specifies to show Style Bar.

setViewsBarVisible

public void setViewsBarVisible(boolean vvebar)
Sets View display Views ToolBar option true or false. Default is true.

Parameters:
vvebar - the boolean value that specifies to show Views Bar.

setComparEditBarVisible

public void setComparEditBarVisible(boolean vcebar)
Sets View display ComparEdit ToolBar option true or false. Default is true.

Parameters:
vcebar - the boolean value that specifies to show ComparEdit Bar.

setNavigationBarVisible

public void setNavigationBarVisible(boolean vnabar)
Sets View display Navigation ToolBar option true or false. Default is true.

Parameters:
vnabar - the boolean value that specifies to show Navigation Bar.

setMemoryMeterVisible

public void setMemoryMeterVisible(boolean vmeter)
Sets View display Memory Meter ToolBar option true or false. Default is false.

Parameters:
vmeter - the boolean value that specifies to show Memory Meter.

setAllow1stEditing

public void setAllow1stEditing(boolean alledi)
Sets Allow 1st File Editing during Compares true or false. Default is true.

Parameters:
alledi - the boolean value that specifies to allow Editing

setAllow2ndEditing

public void setAllow2ndEditing(boolean alledi)
Sets Allow 2nd File Editing during Compares true or false. Default is true.

Parameters:
alledi - the boolean value that specifies to allow Editing

setAllow1stPopup

public void setAllow1stPopup(boolean allpop)
Sets Allow 1st File View Popup menu. Default is true.

Parameters:
allpop - the boolean value that specifies to allow Popup menu

setAllow2ndPopup

public void setAllow2ndPopup(boolean allpop)
Sets Allow 2nd File View Popup menu. Default is true.

Parameters:
allpop - the boolean value that specifies to allow Popup menu

setAllowTogetherPopup

public void setAllowTogetherPopup(boolean allpop)
Sets Allow Together View Popup menu. Default is true.

Parameters:
allpop - the boolean value that specifies to allow Popup menu

setAllowMergePopup

public void setAllowMergePopup(boolean allpop)
Sets Allow Merge View Popup menu. Default is true.

Parameters:
allpop - the boolean value that specifies to allow Popup menu

setAllowFileCompares

public void setAllowFileCompares(boolean allfic)
Sets Allow File Compares (During Merges) true or false. Default is true.

Parameters:
allfic - the boolean value that specifies to allow File Compares (During Merges).

setAllowFolderCompares

public void setAllowFolderCompares(boolean allfoc)
Sets Allow Folder Compares (During Merges) true or false. Default is true.

Parameters:
allfoc - the boolean value that specifies to allow Folder Compares (During Merges).

setAllowMerges

public void setAllowMerges(boolean allmrg)
Sets Allow Merges (During Compares) true or false. Default is true.

Parameters:
allmrg - the boolean value that specifies to allow Merges (During Compares).

setAllowSaves

public void setAllowSaves(boolean allsav)
Sets Allow Saves (During Merges) before complete true or false. Default is true. Note: if setAutoMerge is set to true, the Merge Result file is saved only if there are no Attentions.

Parameters:
allsav - the boolean value that specifies to allow Saves before complete (During Merges).

setPM

public void setPM(java.lang.String prefix)
Sets the prefix for Merge FileName header.

Parameters:
prefix - the prefix for the Merge filename header.

setP1

public void setP1(java.lang.String prefix)
Sets the prefix for 1st FileName header.

Parameters:
prefix - the prefix for the 1st filename header.

setP2

public void setP2(java.lang.String prefix)
Sets the prefix for 2nd FileName header.

Parameters:
prefix - the prefix for the 2nd filename header.

setHM

public void setHM(java.lang.String header)
Sets the Merge FileName header.

Parameters:
header - the Merge filename header.

setH1

public void setH1(java.lang.String header)
Sets the 1st FileName header.

Parameters:
header - the 1st filename header.

setH2

public void setH2(java.lang.String header)
Sets the 2nd FileName header.

Parameters:
header - the 2nd filename header.

setEditableHM

public void setEditableHM(boolean hdredi)
Sets the Merge FileName header Editable.

Parameters:
hdredi - the editable switch, default true.

setEditableH1

public void setEditableH1(boolean hdredi)
Sets the 1st FileName header Editable.

Parameters:
hdredi - the editable switch, default true.

setEditableH2

public void setEditableH2(boolean hdredi)
Sets the 2nd FileName header Editable.

Parameters:
hdredi - the editable switch, default true.

setAutoDiff

public void setAutoDiff(boolean autod,
                        java.lang.String autodfn)
Sets AutoDiff option and the Save Diff filename. Default is false. When AutoDiff is set true, after a compare - Save Difference and Exit are automatic.

Parameters:
autod - the boolean value that specifies to Automatically Save the Difference after Compare and then Exit.
autodfn - the Save Diff File name as a complete path.

setAutoHTML

public void setAutoHTML(boolean autoh,
                        java.lang.String autohfn)
Sets AutoHTML option and the Save HTML filename set. Default is false. When AutoHTML is set true, after a compare - Save as HTML and Exit are automatic.

Parameters:
autoh - the boolean value that specifies to Automatically Save as HTML after Compare and then Exit.
autohfn - the Save HTML File name set as a complete path.

setAutoMerg

public void setAutoMerg(boolean autom)
Sets AutoMerg option. Default is false. When AutoMerg is set true, after a Merge - Save Merge and Exit are automatic. Note: the Save Merge filename is specified by the setResultFile method. Unresolved merge changes will be encapsulated in the saved merge result file. Note: if setAllowSaves is set to false, the Merge Result file is saved only if there are no Attentions.

Parameters:
autom - the boolean value that specifies to Automatically Save Merge after Merge and then Exit.

setMinimumLinesDiff

public void setMinimumLinesDiff(boolean minlin)
Sets Minimize Lines Changed Diff option true or false. Default is true.

Parameters:
minlin - the boolean value that determines which diff algorithm is used - Minimize Lines/Blocks changed.

setMinimumBlocksDiff

public void setMinimumBlocksDiff(boolean minblk)
Sets Minimize Blocks Changed Diff option true or false. Default is false.

Parameters:
minblk - the boolean value that determines which diff algorithm is used - Minimize Lines/Blocks changed.

setPromote

public void setPromote(boolean promo)
Sets Promote merge option true or false. Default is false.

Parameters:
promo - the boolean value for Promote merge option.

setExpandedFocus

public void setExpandedFocus(int expfoc)
Sets Attention(conflict) Focus Expander for SureMerge. Default is 0.

Parameters:
expfoc - the integer value that expands the attention(conflict) focus for SureMerge.

setMergeAutoShift

public void setMergeAutoShift(java.lang.String shifts)
Sets Merge AutoShift to [R] [N] or [D]. Default is [D].

Parameters:
shifts - the string "Reverse", "Neutral", or "Drive".

setSaveSettings

public void setSaveSettings(int savset)
Sets Auto Save Settings control. If GuiffyFrame created with usesettings true, Default is ONPROMPT. If GuiffyFrame created with usesettings false, Default is OFF.

Parameters:
savset - the integer value that controls the auto save settings.

resetOptions

public void resetOptions()
ReSets all the options to the defaults. Sets:
IgnoreCase(false)
IgnoreWhitespace(false)
IgnoreBlanklines(false)
TabSize(8)
ShowOnlyDiffs(false)
ShowContextDiffs(false)
ShowContextSize(10)
ShowContextWhen(false)
ShowContextKB(400)
ShowInLineDiffs(true)
ShowInLineDiffsPercent(50)
ShowInLineDiffsString(false)
ShowInLineDiffsCharacter(true)
ShowLineNumbers(true)
ShowSyntaxHighlighting(false)
EOLOption("DOS", "MacOS", or "Unix" depending on environment)
EOLAutoMode(false)
RepBakMode("Confirm")
FileEncoding(Default of Locale)
SaveEncoding(Default of Locale)
EncodingAutoMode(true)
MatchingFont(Font "Courier New", Font.PLAIN, 12)
InsertsFont(Font "Courier New", Font.PLAIN, 12)
DeletesFont(Font "Courier New", Font.PLAIN, 12)
LineNumFont(Font "Courier New", Font.PLAIN, 12)
FillerFont(Font "Courier New", Font.PLAIN, 12)
MatchingColor(Color 4, 4, 2)
InsertsColor(Color 0, 112, 0)
DeletesColor(Color 208, 96, 0)
SelectedColor(Color 245, 245, 245)
LineNumColor(Color 66, 66, 66)
FillerColor(Color 97, 98, 99)
MatchingBackgroundColor(Color 255, 255, 255)
InsertsBackgroundColor(Color 205, 235, 205)
DeletesBackgroundColor(Color 235, 205, 205)
ChangedBackgroundColor(Color 205, 205, 235)
SelectedBackgroundColor(Color 0, 102, 204)
LineNumBackgroundColor(Color 211, 212, 213)
FillerBackgroundColor(Color 231, 232, 233)
ViewSplitVertical(true)
ToolBarVisible(true)
EditBarVisible(true)
OptsBarVisible(true)
StyleBarVisible(true)
ViewsBarVisible(true)
ComparEditBarVisible(true)
NavigationBarVisible(true)
AllowFileCompares(true)
AllowFolderCompares(true)
AllowMerges(true)
PM(null)
P1(null)
P2(null)
HM(null)
H1(null)
H2(null)
VerifyBxb(false)
VerifyTxt(true)
VerifySub(false)
IgnoreDateandTime(true)
IgnoreFileSize(true)
IgnoreSymbolicLinks(false)
ShowFolderDetails(false)
ShowSubs(false)
ShowArcs(false)
ShowFolderDefaultFont(false)
ShowMats(true)
ShowAdds(true)
ShowDels(true)
ShowChgs(true)
IgnoreField( 0, 0 )
IgnoreRexps(false)
AutoDiff(false)
AutoHTML(false)
AutoMerg(false)
MinimumLinesDiff(true)
MinimumBlocksDiff(false)
Promote(false)
ExpandedFocus( 0 )
MergeAutoShift("Drive")
SaveSettings(SAVESETS_ONPROMPT)
If GuiffyFrame created with usesettings true, SaveSettings(SAVESETS_ONPROMPT)
If GuiffyFrame created with usesettings false, SaveSettings(SAVESETS_OFF)
FileEncoding(null)
SaveEncoding(null)
IgnoreSubs(null)
IgnoreFils(null)
IgnoreAllFilsExcept(false)
IgnoreTyps(null)
IgnoreAllTypsExcept(false)
ShowIgnoredDiffs(false)


resetSavedSettings

public void resetSavedSettings()
ReSets all the options to the defaults AND, resets to the user SavedSettings.


getIgnoreCase

public boolean getIgnoreCase()
Returns IgnoreCase option true or false.

Returns:
the boolean value that determines whether case differences are ignored during the compare.

getIgnoreWhitespace

public boolean getIgnoreWhitespace()
Returns IgnoreWhitespace option true or false.

Returns:
the boolean value that determines whether whitespace differences are ignored during the compare.

getIgnoreLeadingWhiteSpace

public boolean getIgnoreLeadingWhiteSpace()
Returns Ignore Leading type Whitespace option true of false.

Returns:
the boolean value that determines whether leading whitespace differences are ignored during the compare.

getIgnoreEmbeddedWhiteSpace

public boolean getIgnoreEmbeddedWhiteSpace()
Returns Ignore Embedded type Whitespace option true of false.

Returns:
the boolean value that determines whether embedded whitespace differences are ignored during the compare.

getIgnoreTrailingWhiteSpace

public boolean getIgnoreTrailingWhiteSpace()
Returns Ignore Trailing type Whitespace option true of false.

Returns:
the boolean value that determines whether trailing whitespace differences are ignored during the compare.

getIgnoreBlanklines

public boolean getIgnoreBlanklines()
Returns IgnoreBlanklines option true or false.

Returns:
the boolean value that determines whether blanklines inserted or deleted are ignored during the compare.

getIgnoreFieldBegin

public int getIgnoreFieldBegin()
Returns IgnoreField's beginning column.

Returns:
the int value for IgnoreField's beginning column, 0 is OFF.

getIgnoreFieldEnd

public int getIgnoreFieldEnd()
Returns IgnoreField's ending column.

Returns:
the int value for IgnoreField's ending column, 0 is OFF.

getIgnoreField2Begin

public int getIgnoreField2Begin()
Returns IgnoreField2's beginning column.

Returns:
the int value for IgnoreField2's beginning column, 0 is OFF.

getIgnoreField2End

public int getIgnoreField2End()
Returns IgnoreField2's ending column.

Returns:
the int value for IgnoreField2's ending column, 0 is OFF.

getQtRexs

public java.lang.String[] getQtRexs()
Returns Ignore Regular Expressions list.

Returns:
the String array of Ignore Regular Expressions.

getQtReTypes

public java.lang.String[] getQtReTypes()
Returns Ignore Regular Expressions types list.

Returns:
the String array of Ignore Regular Expressions Types.

getRepBakMode

public java.lang.String getRepBakMode()
Returns Replace / Backup mode for Saved files.

Returns:
the String value of "Replace", "Confirm", "Backup" or "Journal" specifies the Replace / Backup mode for Saved Files.

getVerifyBxb

public boolean getVerifyBxb()
Returns Verify file matches, byte-by-byte (folder compares) option true or false.

Returns:
the boolean value that determines whether file matches are verified, byte-by-byte during folder compares.

getVerifyTxt

public boolean getVerifyTxt()
Returns Verify file matches, text compared (folder compares) option true or false.

Returns:
the boolean value that determines whether file matches are verified, text compared during folder compares.

getVerifySub

public boolean getVerifySub()
Returns Verify subfolder matches, (folder compares) option true or false.

Returns:
the boolean value that determines whether subfolder matches are verified, during folder compares.

getIgnoreDateandTime

public boolean getIgnoreDateandTime()
Returns ignore modified date and time (folder compares) option true or false.

Returns:
the boolean value that determines whether file modified date and time is ignored during folder compares.

getIgnoreFileSize

public boolean getIgnoreFileSize()
Returns ignore file size (folder compares) option true or false.

Returns:
the boolean value that determines whether file size is ignored during folder compares.

getIgnoreSymbolicLinks

public boolean getIgnoreSymbolicLinks()
Returns ignore symbolic links (folder compares) option true or false.

Returns:
the boolean value that determines whether symbolic links are ignored during folder compares.

getShowSubs

public boolean getShowSubs()
Returns show subfolders, recursively (folder compares) option true or false.

Returns:
the boolean value that determines whether to show subfolders (recursively) during folder compares.

getShowArcs

public boolean getShowArcs()
Returns show archive filetypes, recursively (folder compares) option true or false.

Returns:
the boolean value that determines whether to show archive filetypes (recursively) during folder compares.

getShowFolderDetails

public boolean getShowFolderDetails()
Returns show folder compare details (Size and Modified Date) option true or false.

Returns:
the boolean value that determines whether to show details.

getShowFolderDefaultFont

public boolean getShowFolderDefaultFont()
Returns show folder compare using default Tree Font option true or false.

Returns:
the boolean value that determines whether to show compare with default Tree Font.

getShowMats

public boolean getShowMats()
Returns show Matching files (folder compares) option true or false.

Returns:
the boolean value for whether to show Matching files.

getShowAdds

public boolean getShowAdds()
Returns show files Added (folder compares) option true or false.

Returns:
the boolean value for whether to show files Added.

getShowDels

public boolean getShowDels()
Returns show files Deleted (folder compares) option true or false.

Returns:
the boolean value for whether to show files Deleted.

getShowChgs

public boolean getShowChgs()
Returns show files Changed (folder compares) option true or false.

Returns:
the boolean value for whether to show files Changed.

getIgnoreSubs

public java.lang.String getIgnoreSubs()
Returns ignore subfolders, (folder compares) list.

Returns:
the String value list of subfolders to ignore. The lis of subfolders is separated by ';'s.

getIgnoreFils

public java.lang.String getIgnoreFils()
Returns ignore files, (folder compares) list.

Returns:
the String value list of files to ignore. The lis of files is separated by ';'s.

getIgnoreAllFilsExcept

public boolean getIgnoreAllFilsExcept()
Returns ignore All files Except, (folder compares) option true or false.

Returns:
the boolean value for whether to ignore All files Except.

getIgnoreTyps

public java.lang.String getIgnoreTyps()
Returns ignore filetypes, (folder compares) list.

Returns:
the String value list of filetypes to ignore. The lis of filetypes is separated by ';'s.

getIgnoreAllTypsExcept

public boolean getIgnoreAllTypsExcept()
Returns ignore All filetypes Except, (folder compares) option true or false.

Returns:
the boolean value for whether to ignore All filetypes Except.

getTabSize

public int getTabSize()
Returns Tab Size option.

Returns:
the int value that specifies tab size for the text views.

getShowOnlyDiffs

public boolean getShowOnlyDiffs()
Returns Show Only Differences option true or false.

Returns:
the boolean value that specifies to show only the differences in compare views.

getShowContextDiffs

public boolean getShowContextDiffs()
Returns Show Context Differences option true or false.

Returns:
the boolean value that specifies to show context around differences in compare views.

getShowContextSize

public int getShowContextSize()
Returns Show Context Differences Size.

Returns:
the number of lines of context to show before and after differences.

getShowContextWhen

public boolean getShowContextWhen()
Returns Show Context When option true or false.

Returns:
the boolean value that specifies to show context when files are > specified KB.

getShowContextKB

public int getShowContextKB()
Returns Show Context KB.

Returns:
the file size in KB for when to show context diffs.

getShowInLineDiffs

public boolean getShowInLineDiffs()
Returns Show InLine Diffs option true or false.

Returns:
the boolean value that specifies to show InLine Diffs in compare views.

getShowInLineDiffsPercent

public int getShowInLineDiffsPercent()
Returns Show InLine Diffs Percent value.

Returns:
the int value that specifies to show InLine Diffs when < percent of line length.

getShowInLineDiffsString

public boolean getShowInLineDiffsString()
Returns Show InLine Diffs String option true or false.

Returns:
the boolean value that specifies to show InLine Diffs as a single string in compare views.

getShowInLineDiffsCharacter

public boolean getShowInLineDiffsCharacter()
Returns Show InLine Diffs Charcater option true or false.

Returns:
the boolean value that specifies to show InLine Diffs Char by Char string in compare views.

getShowAlignSimilarLines

public boolean getShowAlignSimilarLines()
Returns Show Align Similar Lines option true or false.

Returns:
the boolean value that specifies to show Align Similar Lines in file compare views.

getShowLineNumbers

public boolean getShowLineNumbers()
Returns Show Line Numbers option true or false.

Returns:
the boolean value that specifies to show Line Numbers in compare views.

getShowSyntaxHighlighting

public boolean getShowSyntaxHighlighting()
Returns Show Synatx Highlighting option true or false.

Returns:
the boolean value that specifies to show Syntax Highlighting in compare/merge views.

getShowIgnoredDiffs

public boolean getShowIgnoredDiffs()
Returns Show Ignored Diffs option true or false.

Returns:
the boolean value that specifies to show Ignored Diffs in compare views.

getEOLOption

public java.lang.String getEOLOption()
Returns Write EOLs option for Saved files.

Returns:
the String value of "DOS", "MacOS" or "Unix" specifies the format for writing End-Of-Lines in Saved Files.

getEOLAutoMode

public boolean getEOLAutoMode()
Returns EOL AutoMode.

Returns:
the boolean value of EOL AutoMode.

getFileEncoding

public java.lang.String getFileEncoding()
Returns FileEncoding.

Returns:
the String value of File Encoding.

get1stFileEncoding

public java.lang.String get1stFileEncoding()
Returns FileEncoding for 1st files.

Returns:
the String value of File Encoding.

get2ndFileEncoding

public java.lang.String get2ndFileEncoding()
Returns FileEncoding for 2nd files.

Returns:
the String value of File Encoding.

getParentFileEncoding

public java.lang.String getParentFileEncoding()
Returns FileEncoding for Parent files.

Returns:
the String value of File Encoding.

getSaveEncoding

public java.lang.String getSaveEncoding()
Returns SaveEncoding.

Returns:
the String value of Save Encoding.

getEncodingAutoMode

public boolean getEncodingAutoMode()
Returns Encoding AutoMode.

Returns:
the boolean value of Encoding AutoMode.

getMatchingFont

public java.awt.Font getMatchingFont()
Returns the Matching text font option.

Returns:
the Font for Matching text.

getInsertsFont

public java.awt.Font getInsertsFont()
Returns the Inserted text font option.

Returns:
the Font for Inserted text.

getDeletesFont

public java.awt.Font getDeletesFont()
Returns the Deleted text font option.

Returns:
the Font for Deleted text.

getLineNumFont

public java.awt.Font getLineNumFont()
Returns the LineNumber font option.

Returns:
the Font for LineNumbers.

getFillerFont

public java.awt.Font getFillerFont()
Returns the Filler font option.

Returns:
the Font for Fillers.

getBackgroundColor

public java.awt.Color getBackgroundColor()
Returns the Background(Matching) color option.

Returns:
the Color for Backgrounds.

getMatchingColor

public java.awt.Color getMatchingColor()
Returns the Matching text foreground color option.

Returns:
the Color for Matching text foreground.

getMatchingBackgroundColor

public java.awt.Color getMatchingBackgroundColor()
Returns the Matching Background color option.

Returns:
the Color for Matching Backgrounds.

getInsertsColor

public java.awt.Color getInsertsColor()
Returns the Inserted text foreground color option.

Returns:
the Color for Inserted text foreground.

getInsertsBackgroundColor

public java.awt.Color getInsertsBackgroundColor()
Returns the Inserted Background color option.

Returns:
the Color for Inserted Backgrounds.

getDeletesColor

public java.awt.Color getDeletesColor()
Returns the Deleted text foreground color option.

Returns:
the Color for Deleted text foreground.

getDeletesBackgroundColor

public java.awt.Color getDeletesBackgroundColor()
Returns the Deleted Background color option.

Returns:
the Color for Deleted Backgrounds.

getChangedBackgroundColor

public java.awt.Color getChangedBackgroundColor()
Returns the Changed Background color option.

Returns:
the Color for Changed Backgrounds.

getSelectedColor

public java.awt.Color getSelectedColor()
Returns the Selected text foreground color option.

Returns:
the Color for Selected text foreground.

getSelectedBackgroundColor

public java.awt.Color getSelectedBackgroundColor()
Returns the Selected Background color option.

Returns:
the Color for Selected Backgrounds.

getLineNumColor

public java.awt.Color getLineNumColor()
Returns the LineNumbers foreground color option.

Returns:
the Color for LineNumbers foreground.

getLineNumBackgroundColor

public java.awt.Color getLineNumBackgroundColor()
Returns the LineNumbers Background color option.

Returns:
the Color for LineNumbers Backgrounds.

getFillerColor

public java.awt.Color getFillerColor()
Returns the Filler foreground color option.

Returns:
the Color for Filler foreground.

getFillerBackgroundColor

public java.awt.Color getFillerBackgroundColor()
Returns the Filler Background color option.

Returns:
the Color for Filler Backgrounds.

getViewTogether

public boolean getViewTogether()
Returns View Together option true or false.

Returns:
the boolean value that specifies to show differences together in one compare view.

getViewSplitVertical

public boolean getViewSplitVertical()
Returns View Split Vertical option true or false.

Returns:
the boolean value that specifies to show differences split vertically side-by-side in compare views.

getViewSplitHorizontal

public boolean getViewSplitHorizontal()
Returns View Split Horizontal option true or false.

Returns:
the boolean value that specifies to show differences split horizontally one-over-the-other in compare views.

getToolBarVisible

public boolean getToolBarVisible()
Returns ToolBarVisible option true or false.

Returns:
the boolean value for ToolBarVisible.

getEditBarVisible

public boolean getEditBarVisible()
Returns EditBarVisible option true or false.

Returns:
the boolean value for EditBarVisible.

getMergeBarVisible

public boolean getMergeBarVisible()
Returns MergeBarVisible option true or false. Beginning with 11.0 release - Merge Toolbar removed.

Returns:
the boolean value for MergeBarVisible.

getOptsBarVisible

public boolean getOptsBarVisible()
Returns OptsBarVisible option true or false.

Returns:
the boolean value for OptsBarVisible.

getStyleBarVisible

public boolean getStyleBarVisible()
Returns StyleBarVisible option true or false.

Returns:
the boolean value for StyleBarVisible.

getViewsBarVisible

public boolean getViewsBarVisible()
Returns ViewsBarVisible option true or false.

Returns:
the boolean value for ViewsBarVisible.

getComparEditBarVisible

public boolean getComparEditBarVisible()
Returns ComparEditBarVisible option true or false.

Returns:
the boolean value for ComparEditBarVisible.

getNavigationBarVisible

public boolean getNavigationBarVisible()
Returns NavigationBarVisible option true or false.

Returns:
the boolean value for NavigationBarVisible.

getAllowFileCompares

public boolean getAllowFileCompares()
Returns AllowFileCompares setting true or false.

Returns:
the boolean value for AllowFileCompares.

getAllowFolderCompares

public boolean getAllowFolderCompares()
Returns AllowFolderCompares setting true or false.

Returns:
the boolean value for AllowFolderCompares.

getAllowMerges

public boolean getAllowMerges()
Returns AllowMerges setting true or false.

Returns:
the boolean value for AllowMerges.

getPM

public java.lang.String getPM()
Returns the prefix for Merge FileName header.

Returns:
the prefix for the Merge filename header.

getP1

public java.lang.String getP1()
Returns the prefix for 1st FileName header.

Returns:
the prefix for the 1st filename header.

getP2

public java.lang.String getP2()
Returns the prefix for 2nd FileName header.

Returns:
the prefix for the 2nd filename header.

getHM

public java.lang.String getHM()
Returns the Merge FileName header.

Returns:
the Merge filename header.

getH1

public java.lang.String getH1()
Returns the 1st FileName header.

Returns:
the 1st filename header.

getH2

public java.lang.String getH2()
Returns the 2nd FileName header.

Returns:
the 2nd filename header.

getAutoDiff

public boolean getAutoDiff()
Returns AutoDiff setting true or false.

Returns:
the boolean value for AutoDiff.

getAutoHTML

public boolean getAutoHTML()
Returns AutoMTML setting true or false.

Returns:
the boolean value for AutoHTML.

getAutoMerg

public boolean getAutoMerg()
Returns AutoMerg setting true or false.

Returns:
the boolean value for AutoMerg.

getMinimumLinesDiff

public boolean getMinimumLinesDiff()
Returns Minimize Lines Changed Diff option true or false.

Returns:
the boolean value for Minimum Lines Diff option.

getMinimumBlocksDiff

public boolean getMinimumBlocksDiff()
Returns Minimize Blocks Changed Diff option true or false.

Returns:
the boolean value for Minimum Blocks Diff option.

getPromote

public boolean getPromote()
Returns Promote merge option true or false.

Returns:
the boolean value for Promote merge option.

getExpandedFocus

public int getExpandedFocus()
Returns Attention(conflict) Focus Expander value.

Returns:
the integer value that expands the attention(conflict) focus.

getMergeAutoShift

public java.lang.String getMergeAutoShift()
Returns Merge AutoShift value.

Returns:
the String value that control Merge AutoShifting, "Reverse", "Neutral", or "Drive".

getNumberofChanges

public int getNumberofChanges()
Returns the number of change blocks.

Returns:
the integer value - the number of change blocks of the previous compare or merge operation.

getNumberof1stApplied

public int getNumberof1stApplied()
Returns the number of changes applied from 1st.

Returns:
the integer value - the number of changes applied from 1st during the previous merge operation.

getNumberof2ndApplied

public int getNumberof2ndApplied()
Returns the number of changes applied from 2nd.

Returns:
the integer value - the number of changes applied from 2nd during the previous merge operation.

getNumberofAttentions

public int getNumberofAttentions()
Returns the number of unresolved Attentions.

Returns:
the integer value - the number of unresolved Attentions during the previous merge operation.

getNumberofMergesToDo

public int getNumberofMergesToDo()
Returns the number of unresolved Merge (2way) changes.

Returns:
the integer value - the number of unresolved Merge (2way) changes during the previous merge operation.

getSaveSettings

public int getSaveSettings()
Returns Auto Save Settings control.

Returns:
the integer value that controls the auto save settings. (SAVESETS_OFF, SAVESETS_ONPROMPT, or SAVESETS_ONQUIET)