|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel jp.go.aist.dmrc.platform.beans.graphics.drawing.PFDrawingEditor
public class PFDrawingEditor
図面イメージ注記作成コンポーネント
図形の描画・編集・保存をするためのコンポーネント。
このコンポーネントから以下のイベントが発生します。
トリガ | イベント番号 |
---|---|
モードが直線に変更されたとき | 0 |
モードが矩形に変更されたとき | 1 |
モードが楕円に変更されたとき | 2 |
モードが矢印に変更されたとき | 3 |
モードが文字に変更されたとき | 4 |
モードが画像に変更されたとき | 5 |
モードが多角形に変更されたとき | 6 |
モードが選択に変更されたとき | 7 |
トリガー | 対象データ | イベント番号 |
---|---|---|
外部ファイルを読み込んだとき | 読み込んだファイル名(フルパス) String |
0 |
トリガー | 対象データ | 更新データ | イベント番号 |
---|---|---|---|
キャンバス全体がクリアされたとき | なし | なし | 0 |
図形が新規に作成されたとき | 作成された図形の番号(0から始まる番号) int |
なし | 1 |
図形が削除されたとき | 削除された図形の番号 int |
なし | 2 |
図形が編集(移動・サイズ変更)されたとき | 編集された図形の番号 int |
なし | 3 |
図形が手前に移動されたとき | 移動後の図形番号 int |
移動前の図形番号 int |
3 |
図形が奥に移動されたとき | 移動後の図形番号 int |
移動前の図形番号 int |
3 |
図形がUNDOされたとき | なし | なし | 4 |
図形がREDOされたとき | なし | なし | 4 |
トリガー | 対象データ | イベント番号 |
---|---|---|
ファイルのドロップ | ファイルパス名String |
0 |
入れ子のクラスの概要 |
---|
クラス javax.swing.JPanel から継承された入れ子のクラス/インタフェース |
---|
javax.swing.JPanel.AccessibleJPanel |
クラス javax.swing.JComponent から継承された入れ子のクラス/インタフェース |
---|
javax.swing.JComponent.AccessibleJComponent |
クラス java.awt.Container から継承された入れ子のクラス/インタフェース |
---|
java.awt.Container.AccessibleAWTContainer |
クラス java.awt.Component から継承された入れ子のクラス/インタフェース |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
フィールドの概要 | |
---|---|
protected int |
gridInterval
グリッド間隔 |
protected javax.swing.JScrollPane |
pane
スクロールペイン |
クラス javax.swing.JComponent から継承されたフィールド |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
クラス java.awt.Component から継承されたフィールド |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
インタフェース java.awt.image.ImageObserver から継承されたフィールド |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
コンストラクタの概要 | |
---|---|
PFDrawingEditor()
コンストラクタ |
メソッドの概要 | |
---|---|
int |
addFigureDataByPoints(int sx,
int sy,
int ex,
int ey)
図形データを始点と終点の座標指定で追加する。 |
int |
addFigureDataBySize(int x,
int y,
int width,
int height)
図形データを基準点とサイズ指定で追加する。 |
void |
addImage(java.awt.Image imageData,
int x,
int y)
画像を追加する。 |
void |
addPFActionListener(PFActionListener lis)
引数で与えられたイベントリスナを登録し、 アクションイベント発生時に処理を行う対象とする。 |
void |
addPFDataDropListener(PFDataDropListener lis)
引数で与えられたイベントリスナを登録し、 データドロップイベント発生時に処理を行う対象とする。 |
void |
addPFDataSetListener(PFDataSetListener lis)
引数で与えられたイベントリスナを登録し、 データ設定イベント発生時に処理を行う対象とする。 |
void |
addPFDataUpdateListener(PFDataUpdateListener lis)
引数で与えられたイベントリスナを登録し、 データ更新イベント発生時に処理を行う対象とする。 |
void |
clear()
画面クリア |
void |
fileLoad(java.io.File filename)
保存データを読み込み |
void |
fileSave(java.io.File filename)
描画図形を保存する |
protected void |
firePFActionPerformed(PFActionEvent event)
アクションイベントを発生させる。 |
protected void |
firePFDataSet(PFDataSetEvent event)
データ設定イベントを発生させる。 |
protected void |
firePFDataUpdated(PFDataUpdateEvent event)
データ更新イベントを発生させる。 |
byte[] |
getBytes()
ベクターの要素をバイト配列に変換する |
java.awt.Image |
getCanvasImage()
キャンバス全体をイメージ画像として取得する |
int |
getComponentID()
コンポーネントIDを取得する。 |
java.lang.String |
getComponentKey()
コンポーネントキーを取得する。 |
PFMultiLocaleString |
getComponentKeys()
全ロケール分のコンポーネントキーを返す。 |
java.lang.String |
getComponentName()
コンポーネント名称を取得する。 |
java.lang.String |
getComponentPublicName()
コンポーネント公開名を取得する. |
java.lang.String |
getComponentString()
コンポーネントの文字列表現を取得する。 |
int |
getFigureCount()
図形の数を取得する |
int |
getGridInterval()
キャンバのスグリッド間隔を取得する |
int |
getHistorySize()
履歴最大保持数を取得する |
int |
getMarginSize()
画像のマージンを取得する |
java.util.Iterator |
getPFActionListenerList()
イベントリスナ配列を取得する。 |
java.util.Iterator |
getPFDataDropListenerList()
データドロップイベントリスナ配列を取得する。 |
java.util.Iterator |
getPFDataSetListenerList()
データ設定イベントリスナ配列を取得する。 |
java.util.Iterator |
getPFDataUpdateListenerList()
データ更新イベントリスナ配列を取得する。 |
boolean |
getPropertyEditable()
画面上から属性が編集可能かどうかを取得する。 |
int |
getSelectedDataID()
選択中の描画データのIDを1つ取得する。 |
PFObjectList |
getSelectedDataIDList()
選択中の描画データのIDのリストを取得する。 |
protected void |
initDropTarget()
ドロップターゲット実装の初期化 |
boolean |
isAllowPullTransfer()
他PFからのPull型コンポーネント転送要求に対する可否属性を取得する. |
boolean |
isAllowPushTransfer()
他PFへのPush型コンポーネント転送要求に対する可否属性を取得する. |
boolean |
isAllowRemoteInvocation()
他PFからのコンポーネント連携要求に対する可否属性を取得する. |
boolean |
isDropEnabled()
ドロップの有効/無効を取得する。 |
boolean |
isReadOnlyCanvas()
キャンバスが読み込み専用か取得する |
void |
localeUpdated()
ロケール変更に対応する。 |
void |
print(java.awt.Graphics g)
印刷を行う. |
void |
readExternal(java.io.ObjectInput in)
コンポーネントのデシリアライズ。 |
void |
readFile(java.io.File file)
図面もしくは画像ファイルを読み込む。 |
void |
readXML(PFXMLLoader in)
コンポーネントのXML入力. |
void |
redo()
やり直し |
void |
removeFigureData(int id)
図形データを削除する。 |
void |
removePFActionListener(PFActionListener lis)
引数で与えられたイベントリスナを削除し、 アクションイベント発生時に処理を行う対象から外す。 |
void |
removePFDataDropListener(PFDataDropListener lis)
引数で与えられたイベントリスナを削除し、 データドロップイベント発生時に処理を行う対象から外す。 |
void |
removePFDataSetListener(PFDataSetListener lis)
引数で与えられたイベントリスナを削除し、 データ設定イベント発生時に処理を行う対象から外す。 |
void |
removePFDataUpdateListener(PFDataUpdateListener lis)
引数で与えられたイベントリスナを削除し、 データ更新イベント発生時に処理を行う対象から外す。 |
void |
saveJpg(java.io.File filename)
JPEG形式で保存をする |
void |
saveSer(java.io.File filename)
シリアライズ形式で保存をする |
void |
saveSvg(java.io.File filename)
SVG形式で保存をする |
void |
setAllowPullTransfer(boolean flag)
他PFからのPull型コンポーネント転送要求に対する可否属性を設定する. |
void |
setAllowPushTransfer(boolean flag)
他PFへのPush型コンポーネント転送要求に対する可否属性を設定する. |
void |
setAllowRemoteInvocation(boolean flag)
他PFからのコンポーネント連携要求に対する可否属性を設定する. |
void |
setBytes(byte[] bytes)
バイト型配列のオブジェクトをベクターに変換する |
void |
setColor(java.awt.Color c)
描画色を設定する |
void |
setComponentID(int id)
コンポーネントIDを設定する。 |
void |
setComponentKey(java.lang.String key)
コンポーネントキーを設定する。 |
void |
setComponentKeys(PFMultiLocaleString keys)
全ロケール分のコンポーネントキーを設定する。 |
void |
setComponentPublicName(java.lang.String publicName)
コンポーネント公開名を設定する. |
void |
setDropEnabled(boolean enabled)
ドロップの有効/無効を設定する。 |
void |
setFontSize(java.awt.Font f)
文字のフォントを設定する |
void |
setGridInterval(int grid)
キャンバスのグリッド間隔を設定する |
void |
setHistorySize(int history)
履歴最大保持数を設定する |
void |
setMarginSize(int margin)
画像のマージンを設定する |
void |
setMode(int figure)
描画する図形を切り替える |
void |
setModeArrow()
矢印図形を描画する |
void |
setModeEllipse()
楕円図形を描画する |
void |
setModeImage()
画像を描画する |
void |
setModeLine()
直線図形を描画する |
void |
setModePolyline()
多角形を描画する |
void |
setModeRect()
矩形図形を描画する |
void |
setModeSelect()
図形を選択する |
void |
setModeText()
テキストを描画する |
void |
setPropertyEditable(boolean flag)
画面上から属性が編集可能かどうかを設定する。 |
void |
setReadOnlyCanvas(boolean flag)
キャンバスを読み込み専用を設定する |
void |
undo()
元に戻す |
void |
updateFigureDataColor(int id,
java.awt.Color color)
図形データの文字または線の色を更新する。 |
void |
updateFigureDataFillColor(int id,
java.awt.Color color)
図形データの塗りつぶし色を更新する。 |
void |
updateFigureDataLineSize(int id,
float size)
図形データの線の幅を更新する。 |
void |
updateFigureDataPosition(int id,
int x,
int y)
図形データの位置を更新する。 |
void |
updateFigureDataPositionRelatively(int id,
int dx,
int dy)
図形データの位置を相対位置指定で更新する。 |
void |
updateTextData(int id,
java.lang.String text)
文字データの内容を更新する。 |
void |
updateTextDataFont(int id,
java.awt.Font font)
文字データのフォントを更新する。 |
void |
writeExternal(java.io.ObjectOutput out)
コンポーネントのシリアライズ。 |
void |
writeXML(PFXMLGenerator out)
コンポーネントのXML出力. |
クラス javax.swing.JPanel から継承されたメソッド |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
クラス javax.swing.JComponent から継承されたメソッド |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
クラス java.awt.Container から継承されたメソッド |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
クラス java.awt.Component から継承されたメソッド |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
protected int gridInterval
protected javax.swing.JScrollPane pane
コンストラクタの詳細 |
---|
public PFDrawingEditor()
メソッドの詳細 |
---|
public java.lang.String getComponentName()
PFComponent
内の getComponentName
public java.lang.String getComponentKey()
PFComponent
内の getComponentKey
public void setComponentKey(java.lang.String key)
PFComponent
内の setComponentKey
key
- コンポーネントキーpublic PFMultiLocaleString getComponentKeys()
public void setComponentKeys(PFMultiLocaleString keys)
keys
- 全ロケール分のコンポーネントキーpublic int getComponentID()
PFComponent
内の getComponentID
public void setComponentID(int id)
PFComponentBus
から設定される。
各コンポーネント内では操作しないこと。
PFComponent
内の setComponentID
id
- 設定するコンポーネントIDpublic java.lang.String getComponentString()
PFComponent
内の getComponentString
public java.lang.String getComponentPublicName()
PFComponent
内の getComponentPublicName
public void setComponentPublicName(java.lang.String publicName) throws PFComponentException
PFComponent
内の setComponentPublicName
publicName
- 設定するコンポーネント公開名
PFComponentException
- 規約に反する名前が設定されようとした場合public boolean isAllowRemoteInvocation()
PFComponent
内の isAllowRemoteInvocation
public void setAllowRemoteInvocation(boolean flag)
PFComponent
内の setAllowRemoteInvocation
flag
- コンポーネント連携要求に対する可否public boolean isAllowPullTransfer()
PFComponent
内の isAllowPullTransfer
public void setAllowPullTransfer(boolean flag)
PFComponent
内の setAllowPullTransfer
flag
- Pull型コンポーネント転送要求に対する可否public boolean isAllowPushTransfer()
PFComponent
内の isAllowPushTransfer
public void setAllowPushTransfer(boolean flag)
PFComponent
内の setAllowPushTransfer
flag
- Push型コンポーネント転送要求に対する可否public boolean getPropertyEditable()
PFPropertyEditableComponent
内の getPropertyEditable
public void setPropertyEditable(boolean flag)
PFPropertyEditableComponent
内の setPropertyEditable
flag
- 編集可否(true/false)public java.util.Iterator getPFActionListenerList()
PFActionEventSource
内の getPFActionListenerList
public void addPFActionListener(PFActionListener lis)
PFActionEventSource
内の addPFActionListener
lis
- 追加対象イベントリスナpublic void removePFActionListener(PFActionListener lis)
PFActionEventSource
内の removePFActionListener
lis
- 削除対象イベントリスナprotected void firePFActionPerformed(PFActionEvent event)
event
- アクションイベントpublic java.util.Iterator getPFDataSetListenerList()
PFDataSetEventSource
内の getPFDataSetListenerList
public void addPFDataSetListener(PFDataSetListener lis)
PFDataSetEventSource
内の addPFDataSetListener
lis
- 追加対象イベントリスナpublic void removePFDataSetListener(PFDataSetListener lis)
PFDataSetEventSource
内の removePFDataSetListener
lis
- 削除対象イベントリスナprotected void firePFDataSet(PFDataSetEvent event)
event
- データ設定イベントpublic java.util.Iterator getPFDataUpdateListenerList()
PFDataUpdateEventSource
内の getPFDataUpdateListenerList
public void addPFDataUpdateListener(PFDataUpdateListener lis)
PFDataUpdateEventSource
内の addPFDataUpdateListener
lis
- 追加対象イベントリスナpublic void removePFDataUpdateListener(PFDataUpdateListener lis)
PFDataUpdateEventSource
内の removePFDataUpdateListener
lis
- 削除対象イベントリスナprotected void firePFDataUpdated(PFDataUpdateEvent event)
event
- データ更新イベントpublic java.util.Iterator getPFDataDropListenerList()
PFDataDropEventSource
内の getPFDataDropListenerList
public void addPFDataDropListener(PFDataDropListener lis)
PFDataDropEventSource
内の addPFDataDropListener
lis
- 追加対象イベントリスナpublic void removePFDataDropListener(PFDataDropListener lis)
PFDataDropEventSource
内の removePFDataDropListener
lis
- 削除対象イベントリスナpublic void localeUpdated()
PFComponent
内の localeUpdated
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.Externalizable
内の readExternal
in
- 入力元ストリーム
java.io.IOException
- I/Oエラー
java.lang.ClassNotFoundException
- クラスが見つからないpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
java.io.Externalizable
内の writeExternal
out
- 出力先ストリーム
java.io.IOException
- I/Oエラーpublic void readXML(PFXMLLoader in)
PFXMLSerializable
内の readXML
in
- XML入力ユーティリティpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
PFXMLSerializable
内の writeXML
out
- XML出力ユーティリティ
java.io.IOException
public void print(java.awt.Graphics g)
javax.swing.JComponent
内の print
g
- Graphicspublic void setReadOnlyCanvas(boolean flag)
flag
- 読み込み専用(true/false)public boolean isReadOnlyCanvas()
public void setGridInterval(int grid)
grid
- グリッド間隔public int getGridInterval()
public void setBytes(byte[] bytes)
bytes
- ベクターのバイト列public byte[] getBytes()
public void setModeLine()
public void setModeRect()
public void setModeEllipse()
public void setModeArrow()
public void setModeText()
public void setModeImage()
public void setModePolyline()
public void setModeSelect()
public void setMode(int figure)
figure
- 図形public void undo()
public void redo()
public void clear()
public void setColor(java.awt.Color c)
c
- 描画色public void setFontSize(java.awt.Font f)
f
- フォントpublic void fileSave(java.io.File filename)
filename
- ファイル名public void fileLoad(java.io.File filename)
filename
- ファイル名public void saveSer(java.io.File filename)
filename
- ファイル名public void saveJpg(java.io.File filename)
filename
- ファイル名public void saveSvg(java.io.File filename)
filename
- ファイル名public int getFigureCount()
public java.awt.Image getCanvasImage()
public void setHistorySize(int history)
history
- 最大履歴保持数public int getHistorySize()
public void setMarginSize(int margin)
margin
- マージンpublic int getMarginSize()
public void readFile(java.io.File file)
file
- ファイルpublic void setDropEnabled(boolean enabled)
PFDropTarget
内の setDropEnabled
enabled
- public boolean isDropEnabled()
PFDropTarget
内の isDropEnabled
protected void initDropTarget()
public void addImage(java.awt.Image imageData, int x, int y)
img
- イメージデータx
- 読込位置x座標y
- 読込位置y座標public void removeFigureData(int id)
id
- 図形リスト内の位置public void updateFigureDataPositionRelatively(int id, int dx, int dy)
id
- 図形リスト内の位置dx
- X座標の相対位置dy
- Y座標の相対位置public void updateFigureDataPosition(int id, int x, int y)
id
- 図形リスト内の位置x
- X座標y
- Y座標public void updateFigureDataFillColor(int id, java.awt.Color color)
id
- 図形リスト内の位置color
- 色public void updateFigureDataColor(int id, java.awt.Color color)
id
- 図形リスト内の位置color
- 色public void updateFigureDataLineSize(int id, float size)
id
- 図形リスト内の位置size
- 線の幅public void updateTextData(int id, java.lang.String text)
id
- 図形リスト内の位置text
- 文字データの内容public void updateTextDataFont(int id, java.awt.Font font)
id
- 図形リスト内の位置font
- 文字データのフォントpublic int addFigureDataBySize(int x, int y, int width, int height)
x
- 作成する図形の基準位置X座標y
- 作成する図形の基準位置Y座標width
- 作成する図形の幅height
- 作成する図形の高さ
public int addFigureDataByPoints(int sx, int sy, int ex, int ey)
sx
- 作成する図形の始点位置X座標sy
- 作成する図形の始点位置Y座標ex
- 作成する図形の始点位置X座標ey
- 作成する図形の始点位置Y座標
public int getSelectedDataID()
public PFObjectList getSelectedDataIDList()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |