static enum FileBrowser.Direction extends java.lang.Enum<FileBrowser.Direction>
Modifier and Type | Method and Description |
---|---|
(package private) abstract boolean |
defaultCheck()
Returns true if this Direction should be checked by default.
|
(package private) abstract boolean |
doOperation(FileBrowser.MyPath leftPath,
FileBrowser.MyPath rightPath,
javax.swing.JLabel message)
Perform the operation indicated by the icon.
|
(package private) boolean |
doTime(FileBrowser.MyPath leftPath,
FileBrowser.MyPath rightPath,
javax.swing.JLabel message)
Only update file times.
|
(package private) abstract void |
icon(java.awt.Graphics g,
int columnWidth,
int rowHeight)
Draws an icon indicating the operation for this enum entry.
|
(package private) abstract FileBrowser.Direction |
nextDirection()
Returns the opposite target for this enum entry.
|
(package private) abstract FileBrowser.Direction |
targetDefault()
Returns the default Direction for this enum entry.
|
(package private) abstract FileBrowser.Direction |
targetLeft()
Returns the left target for this enum entry.
|
(package private) abstract FileBrowser.Direction |
targetRight()
Returns the right target for this enum entry.
|
static FileBrowser.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileBrowser.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileBrowser.Direction leftOverwriteNewer
public static final FileBrowser.Direction leftOverwriteOlder
public static final FileBrowser.Direction leftCreateFile
public static final FileBrowser.Direction leftCreateDirectory
public static final FileBrowser.Direction leftDeleteDirectory
public static final FileBrowser.Direction leftDeleteFile
public static final FileBrowser.Direction rightDirectoryOverwriteLeftFile
public static final FileBrowser.Direction rightFileOverwriteLeftDirectory
public static final FileBrowser.Direction leftCreateLink
public static final FileBrowser.Direction leftDeleteLink
public static final FileBrowser.Direction rightLinkOverwriteLeft
public static final FileBrowser.Direction rightOverwriteLeftLink
public static final FileBrowser.Direction rightOverwriteNewer
public static final FileBrowser.Direction rightOverwriteOlder
public static final FileBrowser.Direction rightCreateFile
public static final FileBrowser.Direction rightCreateDirectory
public static final FileBrowser.Direction rightDeleteDirectory
public static final FileBrowser.Direction rightDeleteFile
public static final FileBrowser.Direction leftDirectoryOverwriteRightFile
public static final FileBrowser.Direction leftFileOverwriteRightDirectory
public static final FileBrowser.Direction rightCreateLink
public static final FileBrowser.Direction rightDeleteLink
public static final FileBrowser.Direction leftLinkOverwriteRight
public static final FileBrowser.Direction leftOverwriteRightLink
public static FileBrowser.Direction[] values()
for (FileBrowser.Direction c : FileBrowser.Direction.values()) System.out.println(c);
public static FileBrowser.Direction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullabstract FileBrowser.Direction targetDefault()
abstract FileBrowser.Direction targetLeft()
abstract FileBrowser.Direction targetRight()
abstract FileBrowser.Direction nextDirection()
abstract void icon(java.awt.Graphics g, int columnWidth, int rowHeight)
g
- the graphics contextcolumnWidth
- the width of the icon to drawrowHeight
- the height of the icon to drawabstract boolean defaultCheck()
abstract boolean doOperation(FileBrowser.MyPath leftPath, FileBrowser.MyPath rightPath, javax.swing.JLabel message)
leftPath
- the left path for the operation or nullrightPath
- the right path for the operation or nullmessage
- a JLabel used for feedbackboolean doTime(FileBrowser.MyPath leftPath, FileBrowser.MyPath rightPath, javax.swing.JLabel message)
leftPath
- the left path for the operation or nullrightPath
- the right path for the operation or nullmessage
- a JLabel used for feedback