public class EdbChronoPane extends EdbEditorObject implements EdbUndo.Undoable, DragGestureListener, EdbDnDAnyDropTarget, Transferable
| Modifier and Type | Field and Description |
|---|---|
static String |
Act_ChronoClear |
static String |
Act_ChronoClearFrom |
static String |
Act_ChronoClearTo |
static String |
Act_ChronoFrom2To |
static String |
Act_ChronoTo2From |
(package private) static DataFlavor |
dataFlavor_EdbChronoPane |
protected EdbLabel |
label |
protected int |
myDateFrom |
protected int |
myDateTo |
protected EdbPanel |
panel |
protected EdbLabel |
postfix |
protected EdbLabel |
prefix |
editorOwner, s_changeListeners| Constructor and Description |
|---|
EdbChronoPane(EdbEditorOwner eo,
String pre,
int df,
int dt,
String post) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent ae) |
void |
addMouseListener(MouseListener ml) |
void |
dragGestureRecognized(DragGestureEvent dge) |
boolean |
edbDnDDrop(DropTargetDropEvent dtde)
ドロップターゲット領域内でドロップしたときに呼び出されます.
|
boolean |
edbDnDDropAcceptable(DropTargetDragEvent dtde)
受け入れ可能なFlavorか?
|
boolean |
edbDnDDropTargetIsReady()
ドロップターゲットのReady状態の取得.
|
void |
edbDnDDropTargetSelected(boolean sel)
ドロップターゲット領域内でドラッグのEnter/Exit時に呼び出されます.
|
void |
edit()
ウインドウを表示し,期間限定の入力を行います.
|
boolean |
endEdit() |
EdbDate |
getDateFrom()
期間(始まり)を取得します.
|
EdbDate |
getDateTo()
期間(終わり)を取得します.
|
EdbPanel |
getPanel() |
String |
getText() |
Object |
getTransferData(DataFlavor flavor) |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor flavor) |
boolean |
isEditable() |
void |
mouseClicked(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
protected boolean |
mousePopupShow(MouseEvent e)
Popupメニューを表示する.
|
void |
registProxyDragGestureRecognizer(int act,
DragGestureListener lis)
Register Drag Gesture Recognizer for parent object (proxy).
|
boolean |
setDateFrom(EdbDate d) |
boolean |
setDateFrom(EdbDate d,
boolean undoable)
期間(始まり)を設定します.
|
boolean |
setDateFrom(int d) |
boolean |
setDateFrom(int d,
boolean undoable)
期間(始まり)を設定します.
|
boolean |
setDateFromTo(EdbDate f,
EdbDate t) |
boolean |
setDateFromTo(EdbDate f,
EdbDate t,
boolean undoable)
期間を設定します.
|
boolean |
setDateTo(EdbDate d) |
boolean |
setDateTo(EdbDate d,
boolean undoable)
期間(終わり)を設定します.
|
boolean |
setDateTo(int d) |
boolean |
setDateTo(int d,
boolean undoable)
期間(終わり)を設定します.
|
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 s) |
void |
setToolTipText(String t)
ツールヒントに表示するテキストを登録します.このテキストは,カーソルがコンポーネント上にあるときに表示されます.
|
void |
show() |
boolean |
startEdit() |
boolean |
undo(Object o) |
createMenuItem_Edit, createMenuItem_Edit, dragDropEnd, dragEnter, dragExit, dragOver, dropActionChanged, getWidth, isVisible, setVisibleaddChangeListener, 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, unlockBrowserprotected int myDateFrom
protected int myDateTo
protected EdbPanel panel
protected EdbLabel prefix
protected EdbLabel label
protected EdbLabel postfix
public static final String Act_ChronoTo2From
public static final String Act_ChronoFrom2To
public static final String Act_ChronoClearFrom
public static final String Act_ChronoClearTo
public static final String Act_ChronoClear
static DataFlavor dataFlavor_EdbChronoPane
public EdbChronoPane(EdbEditorOwner eo, String pre, int df, int dt, String post)
public EdbPanel getPanel()
getPanel in class EdbEditorObjectpublic void registProxyDragGestureRecognizer(int act,
DragGestureListener lis)
registProxyDragGestureRecognizer in class EdbEditorObjectact - drag actionlis - drag gesture listenerpublic void setEditable(boolean e)
setEditable in class EdbEditorObjectpublic boolean isEditable()
isEditable in class EdbEditorObjectpublic boolean startEdit()
startEdit in class EdbEditorObjectpublic boolean endEdit()
endEdit in class EdbEditorObjectpublic boolean setText(String s)
setText in class EdbEditorObjectpublic String getText()
getText in class EdbEditorObjectpublic void addMouseListener(MouseListener ml)
addMouseListener in class EdbEditorObjectpublic void edit()
edit in class EdbEditorObjectpublic void setToolTipText(String t)
setToolTipText in class EdbEditorObjectt - 示する文字列.テキストが null の場合は,このコンポーネントのツールヒントはオフに設定されるpublic void setLabelFont(Font f)
f - フォントpublic void setSubFont(Font f)
setSubFont in class EdbEditorObjectf - フォントpublic void setFont(Font f)
setFont in class EdbEditorObjectf - フォントpublic void setLabelFgc(Color c)
c - 背景色public void setSubFgc(Color c)
setSubFgc in class EdbEditorObjectpublic void setFgc(Color c)
setFgc in class EdbEditorObjectc - 前景色.public void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenermouseClicked in class EdbEditorUnitprotected boolean mousePopupShow(MouseEvent e)
mousePopupShow in class EdbEditorUnite - Mouse Event.public void actionPerformed(ActionEvent ae)
actionPerformed in interface ActionListeneractionPerformed in class EdbEditorObjectpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenermouseEntered in class EdbEditorUnitpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenermouseExited in class EdbEditorUnitpublic void show()
show in class EdbEditorObjectpublic boolean undo(Object o)
undo in interface EdbUndo.Undoablepublic boolean setDateFrom(int d,
boolean undoable)
d - 日付undoable - アンドゥ可能性.true,失敗した場合は false を返します.public boolean setDateFrom(int d)
public boolean setDateTo(int d,
boolean undoable)
d - 日付undoable - アンドゥ可能性.true,失敗した場合は false を返します.public boolean setDateTo(int d)
public boolean setDateFrom(EdbDate d, boolean undoable)
d - 日付undoable - アンドゥ可能性.true,失敗した場合は false を返します.public boolean setDateFrom(EdbDate d)
public boolean setDateTo(EdbDate d, boolean undoable)
d - 日付undoable - アンドゥ可能性.true,失敗した場合は false を返します.public boolean setDateTo(EdbDate d)
public boolean setDateFromTo(EdbDate f, EdbDate t, boolean undoable)
f - 期間(始まり)t - 期間(終わり)undoable - アンドゥ可能性.true,失敗した場合は false を返します.public EdbDate getDateFrom()
public EdbDate getDateTo()
public Object getTransferData(DataFlavor flavor)
getTransferData in interface Transferablepublic DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface Transferablepublic boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported in interface Transferablepublic void dragGestureRecognized(DragGestureEvent dge)
dragGestureRecognized in interface DragGestureListenerpublic boolean edbDnDDropTargetIsReady()
edbDnDDropTargetIsReady in interface EdbDnDDropTargetpublic void edbDnDDropTargetSelected(boolean sel)
edbDnDDropTargetSelected in interface EdbDnDDropTargetsel - セレクション状態.public boolean edbDnDDropAcceptable(DropTargetDragEvent dtde)
edbDnDDropAcceptable in interface EdbDnDAnyDropTargetdtde - DropTargetDragEventpublic boolean edbDnDDrop(DropTargetDropEvent dtde) throws Exception
edbDnDDrop in interface EdbDnDAnyDropTargetdtde - DropTargetDropEventException - ExceptionEDB Working Group at Mon Dec 15 16:45:05 JST 2025