com.guiffy.inside
Class GuiffyPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended bycom.guiffy.inside.GuiffyPanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class GuiffyPanel
extends javax.swing.JPanel

Class GuiffyPanel is a Component for including Guiffy inside Java applications (with their own Menus and ToolBars). GuiffyPanel extends JPanel.

Guiffy is a source file compare/merge utility(component). Plus, Guiffy also compares File Folders/Trees. The Guiffy extended JPanel includes: 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 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 GuiffyPanel Size is 600, 450.
GuiffyPanel is initialized as not Visible.

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

Version:
5.2 -- developed in May, 2003
Author:
Guiffy Software, Inc. by Bill Ritcher
See Also:
JPanel, Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
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.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
GuiffyPanel(boolean usesettings)
          Creates a GuiffyPanel 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 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 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 actionOptsShow()
          Action for Options Show.
 void actionOptsStyle()
          Action for Options Style.
 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 actionSaveDiff()
          Action for Save Difference.
 void actionSaveHTML()
          Action for Save As HTML.
 void actionSaveMerge()
          Action for Save Merge.
 void actionSaveRCS()
          Action for Save As RCS.
 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 getAutoDiff()
          Returns AutoDiff setting true or false.
 boolean getAutoHTML()
          Returns AutoMTML setting true or false.
 boolean getAutoMerg()
          Returns AutoMerg setting true or false.
 boolean getAutoRCS()
          Returns AutoRCS 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 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.net.URL getImageResource(java.lang.String ims)
          Returns the URL for an Image Resource.
 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 getMinimumBlocksDiff()
          Returns Minimize Blocks Changed Diff option true or false.
 boolean getMinimumLinesDiff()
          Returns Minimize Lines Changed Diff 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.
 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.
 java.lang.String[] getQtReTypes()
          Returns Ignore Regular Expressions types list.
 java.lang.String[] getQtRexs()
          Returns Ignore Regular Expressions list.
 java.lang.String getSaveEncoding()
          Returns SaveEncoding.
 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 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.
 int getTabSize()
          Returns Tab Size option.
 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 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.
 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 saveDiff(java.lang.String diffname)
          Saves Differences to file specified.
 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 setAllowMergePopup(boolean allpop)
          Sets Allow Merge View Popup menu.
 void setAllowTogetherPopup(boolean allpop)
          Sets Allow Together View Popup menu.
 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 setAutoRCS(boolean autor, java.lang.String autorfn)
          Sets AutoRCS option and the Save RCS filename.
 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 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 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 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 GuiffyPanel 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 setMergeAutoShift(java.lang.String shifts)
          Sets Merge AutoShift to [R] [N] or [D].
 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 setOEMLicenseKey(java.io.ByteArrayInputStream bais)
           
 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 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 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 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 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 setSMFFile(java.lang.String smfname)
          Sets the Saved Merge File Name.
 void setTabSize(int tabsiz)
          Sets Tab Size option.
 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 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 JPanel implementation to display registration Nag Dialog.
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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

GuiffyPanel

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

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

setVisible

public void setVisible(boolea