public class AttacheCase4GUI extends javax.swing.JFrame implements AttacheCaseConstant
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
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ARCHIVE_FILE_ATTR, ATC_DATA_FILE_VERSION, ATC_DATA_FILE_VERSION_3, ATC_DATA_FILE_VERSION_MAX, ATC_DATA_SUB_VERSION_6, ATC_DATA_SUB_VERSION_7, ATC_EXTENSION, ATTACHE_CASE_APP_VERSION, BLOWFISH_PASS_FOOTER, BUF_FOOTER_SIZE, BUF_HEADER_SIZE, BUF_PASSWORD_SIZE, BUF_SHA1_SIZE, BUF_SIZE_256, BUF_SIZE_32, CURRENT_FILE_NAME_KEY, DATE_FORMAT_PATTERN, DEBUG, DECRYPT_MODE, DEFAULT_MODE, DESTROY_TOKEN_STRING, ENCRYPT_MODE, FILE_BUFFER_SIZE, INI_FILE_NAME, MAC_INI_FILE_PATH, MSG_CONFIRM_CONTINUE, MSG_CONFIRM_OPEN_DECRYPTED_FILES, MSG_CONFIRM_OVER_WRITE_SAME_DIR, MSG_CONFIRM_OVER_WRITE_SAME_FILE, MSG_ERROR_CHECKSUM, MSG_ERROR_COMPARE_FILE, MSG_ERROR_DIR_EXIST, MSG_ERROR_DISK_SPACE, MSG_ERROR_FILE_DESTORYED, MSG_ERROR_FILE_EXIST, MSG_ERROR_ILLEGAL_PASSWORD, MSG_ERROR_LOWER_VERSION, MSG_ERROR_NO_DIR_NAME, MSG_ERROR_NO_FILE_NAME, MSG_ERROR_NOT_ENCRYPT_FILE, MSG_ERROR_NOT_FILE_EXIST, MSG_ERROR_OUT_FILE_OPEN, MSG_ERROR_OUT_FILE_WRITE, MSG_ERROR_PASSWORD_WRONG, MSG_ERROR_UPPER_VERSION, MSG_INPUT_NEW_DIR, MSG_INPUT_NEW_FILE, MSG_INPUT_PASSWORD, MSG_PROCESS_STOPPED, OLD_DATA_FILE_VERSION, PASSCODE_ATTACHECASE, PROGRESS_BAR_NAME, READ_FILE_BUF_SIZE, READ_ONLY_FILE_ATTR, RESOURCE, RIJNDAEL_BLOCK_SIZE, SHORT_CUT_KEY, SIZE_OF_INT, SIZE_OF_LONG, START_OF_DATE, TOKEN_STRING, TYPE_ALGORISM_BLOWFISH, TYPE_ALGORISM_RIJNDAEL, TYPE_DECODE_FILE, TYPE_ENCODE_FILE, V_GAP_FOR_ICON, VERSION, VERSION_MODE, Z_DEFAULT_COMPRESSION, Z_MAX_COMPRESSION, Z_MIN_COMPRESSION
コンストラクタと説明 |
---|
AttacheCase4GUI()
AttacheCase4GUIを構成します。
|
AttacheCase4GUI(Options opt)
AttacheCase4GUIを構成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
javax.swing.Action |
getDecryptAction() |
static AttacheCase4GUI |
getFrame() |
Options |
getOptions() |
void |
run()
渡されたファイルを確認して,暗号化または復号の処理を行います。
|
void |
setFileList(java.util.List<java.io.File> fileList) |
void |
setOptions(Options options) |
void |
setPassword(Encrypt encrypt)
暗号化時のパスワードを設定します。
|
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
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, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, 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, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public AttacheCase4GUI()
public AttacheCase4GUI(Options opt)
opt
- オプションpublic void setPassword(Encrypt encrypt) throws java.io.IOException, PasswordException
パスワードファイルを利用する設定の場合は,ファイルを読み込んでパスワードを設定します。 入力する必要がある場合は,キーボードから入力を求めます。 【注意】このメソッドを利用するのは暗号化の時だけです。
encrypt
- 暗号化オブジェクトまたは復号オブジェクトjava.io.IOException
- ファイルが存在しない場合PasswordException
- パスワード入力でエラーが発生した場合public static AttacheCase4GUI getFrame()
public void setFileList(java.util.List<java.io.File> fileList)
public javax.swing.Action getDecryptAction()
public Options getOptions()
public void setOptions(Options options)
public void run()