|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.guiffy.inside.GuiffyFrame
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.
JFrame,
Serialized Form| Nested Class Summary |
| Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
| Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| 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 |
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 |
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. |
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 |
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 |
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. |
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. |
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. |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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, 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, setIconImage, 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, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, 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, 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, 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, isOpaque, 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, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, 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 |
public static final int EXIT_ON_CLOSE
public static final int SAVESETS_OFF
public static final int SAVESETS_ONPROMPT
public static final int SAVESETS_ONQUIET
| Constructor Detail |
public GuiffyFrame(boolean usesettings)
usesettings - the boolean value that specifies whether to
load and set the user's SavedSettings.| Method Detail |
public void setDefaultCloseOperation(int operation)
public void setVisible(boolean vis)
public void setOEMLicenseKey(java.io.ByteArrayInputStream bais)
protected void processWindowEvent(java.awt.event.WindowEvent e)
public void setGuiffyExit(GuiffyExit hook)
GuiffyExit
public void compareFiles(boolean vis)
throws java.io.IOException
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.
vis - the boolean value that specifies whether to make
GuiffyFrame Visible.
java.io.IOException - if files don't exist, are a folder, or can't read
public void mergeFiles(boolean vis)
throws java.io.IOException
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.
vis - the boolean value that specifies whether to make
GuiffyFrame Visible.
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
public void mergeCVSFile(boolean vis)
throws java.io.IOException
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.
vis - the boolean value that specifies whether t