public class EdbPassphrasePane extends EdbEditorObject implements EdbUndo.Undoable
Modifier and Type | Field and Description |
---|---|
protected boolean |
editable |
protected String |
myText |
protected EdbPanel |
panel |
protected jp.ac.tokushima_u.edb.gui.EdbPassphrasePane.PassphraseEditor |
passphraseEditor |
protected JComponent |
passphraseEditorPane |
protected String |
postfix |
protected EdbLabel |
postfixLabel |
protected String |
prefix |
protected EdbLabel |
prefixLabel |
protected EdbLabel |
textBox |
protected EdbPanel |
textPanel |
protected MLText |
title |
protected EdbLabel |
titleLabel |
editorOwner, s_changeListeners
Constructor and Description |
---|
EdbPassphrasePane(EdbEditorOwner eo,
MLText tit,
String pre,
String text,
String post,
int minL,
int maxL) |
Modifier and Type | Method and Description |
---|---|
void |
addMouseListener(MouseListener ml)
このペインからマウスイベントを受け取るために,指定されたマウスリスナーを追加します.
|
void |
copy() |
void |
cut() |
void |
delete() |
boolean |
endEdit() |
EdbPanel |
getPanel() |
String |
getText()
パスフレーズを取得します.
|
boolean |
isEditable()
編集できるかどうかを判定します.
|
void |
mouseClicked(MouseEvent e) |
void |
mouseEntered(MouseEvent me) |
void |
mouseExited(MouseEvent me) |
protected boolean |
mousePopupShow(MouseEvent e)
Popupメニューを表示する.
|
boolean |
pastable() |
void |
paste() |
void |
registProxyDragGestureRecognizer(int act,
DragGestureListener lis)
Register Drag Gesture Recognizer for parent object (proxy).
|
void |
setEditable(boolean e) |
void |
setFgc(Color c)
前景色を設定します.
|
void |
setFont(Font f) |
void |
setLabelFgc(Color c)
値ラベルの背景色を設定します.
|
void |
setLabelFont(Font f)
値ラベルのフォントを設定します.
|
void |
setSubFgc(Color c) |
void |
setSubFont(Font f) |
boolean |
setText(String t) |
boolean |
setText(String t,
boolean undoable)
パスフレーズを設定します.
|
void |
setTitleFont(Font f)
タイトルラベルのフォントを設定します.
|
void |
setToolTipText(String t) |
void |
show() |
boolean |
startEdit() |
boolean |
undo(Object o) |
actionPerformed, createMenuItem_Edit, createMenuItem_Edit, dragDropEnd, dragEnter, dragExit, dragOver, dropActionChanged, edit, getWidth, isVisible, setVisible
addChangeListener, createAction_EndOfEdit, createAction_RotateFocus, editorObjectInnovateEditor, editorObjectNotifyChanged, editorObjectNotifyWillChange, editorObjectRequestDuplicate, editorObjectRequestInsert, editorObjectRequestRemove, editorObjectRequestReplace, editorObjectRequestVisible, editorObjectRotateFocus, editorObjectUndoPush, editorOwnerDuplicateObject, editorOwnerInsertObject, editorOwnerIsEditable, editorOwnerObjectChanged, editorOwnerObjectVisibleRequested, editorOwnerObjectWillChange, editorOwnerRemoveObject, editorOwnerReplaceObject, editorOwnerRotateFocus, getBrowser, getEDB, getEditor, getTracePrintWriter, isSimpleButton1Click, isSimpleButton1Click2, lockBrowser, mousePressed, mouseReleased, unlockBrowser
protected String myText
protected boolean editable
protected EdbPanel panel
protected EdbPanel textPanel
protected MLText title
protected String prefix
protected String postfix
protected EdbLabel titleLabel
protected EdbLabel prefixLabel
protected EdbLabel postfixLabel
protected EdbLabel textBox
protected jp.ac.tokushima_u.edb.gui.EdbPassphrasePane.PassphraseEditor passphraseEditor
protected JComponent passphraseEditorPane
public EdbPassphrasePane(EdbEditorOwner eo, MLText tit, String pre, String text, String post, int minL, int maxL)
public EdbPanel getPanel()
getPanel
in class EdbEditorObject
public void registProxyDragGestureRecognizer(int act, DragGestureListener lis)
registProxyDragGestureRecognizer
in class EdbEditorObject
act
- drag actionlis
- drag gesture listenerpublic void addMouseListener(MouseListener ml)
addMouseListener
in class EdbEditorObject
ml
- マウスリスナpublic void setToolTipText(String t)
setToolTipText
in class EdbEditorObject
public void setLabelFont(Font f)
f
- フォントpublic void setSubFont(Font f)
setSubFont
in class EdbEditorObject
public void setTitleFont(Font f)
f
- フォントpublic void setFont(Font f)
setFont
in class EdbEditorObject
public void setLabelFgc(Color c)
c
- 背景色public void setSubFgc(Color c)
setSubFgc
in class EdbEditorObject
public void setFgc(Color c)
setFgc
in class EdbEditorObject
c
- 前景色.public boolean isEditable()
isEditable
in class EdbEditorObject
true
,できない場合は false
を返します.public void setEditable(boolean e)
setEditable
in class EdbEditorObject
public boolean startEdit()
startEdit
in class EdbEditorObject
public boolean endEdit()
endEdit
in class EdbEditorObject
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
mouseClicked
in class EdbEditorUnit
protected boolean mousePopupShow(MouseEvent e)
mousePopupShow
in class EdbEditorUnit
e
- Mouse Event.public void mouseEntered(MouseEvent me)
mouseEntered
in interface MouseListener
mouseEntered
in class EdbEditorUnit
public void mouseExited(MouseEvent me)
mouseExited
in interface MouseListener
mouseExited
in class EdbEditorUnit
public void show()
show
in class EdbEditorObject
public boolean setText(String t, boolean undoable)
t
- パスフレーズundoable
- アンドゥ可能性true
,失敗した場合は false
を返します.public boolean setText(String t)
setText
in class EdbEditorObject
public boolean undo(Object o)
undo
in interface EdbUndo.Undoable
public String getText()
getText
in class EdbEditorObject
public void cut()
public void copy()
public boolean pastable()
public void paste()
public void delete()
EDB Working Group at Tue Jun 10 17:08:59 JST 2025