jp.go.aist.dmrc.platform.beans.gui
クラス PFComboBox

java.lang.Object
  上位を拡張 java.awt.Component
      上位を拡張 java.awt.Container
          上位を拡張 javax.swing.JComponent
              上位を拡張 javax.swing.JComboBox
                  上位を拡張 jp.go.aist.dmrc.platform.beans.gui.PFComboBox
すべての実装されたインタフェース:
java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.ItemSelectable, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.ListDataListener, PFComponent, PFGUIComponent, PFPropertyEditableComponent, jp.go.aist.dmrc.platform.base.PFWebGUIComponent, PFXMLSerializable, PFActionEventSource, PFDataSelectEventSource, PFEventSource

public class PFComboBox
extends javax.swing.JComboBox
implements PFGUIComponent, jp.go.aist.dmrc.platform.base.PFWebGUIComponent, PFDataSelectEventSource, PFActionEventSource, PFXMLSerializable

コンボボックスのコンポーネント。

このコンポーネントから以下のイベントが発生します。

関連項目:
直列化された形式

入れ子のクラスの概要
 
クラス javax.swing.JComboBox から継承された入れ子のクラス/インタフェース
javax.swing.JComboBox.AccessibleJComboBox, javax.swing.JComboBox.KeySelectionManager
 
クラス 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
 
フィールドの概要
static int EVENT_CHANGE
           
 
クラス javax.swing.JComboBox から継承されたフィールド
actionCommand, dataModel, editor, isEditable, keySelectionManager, lightWeightPopupEnabled, maximumRowCount, renderer, selectedItemReminder
 
クラス 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
 
コンストラクタの概要
PFComboBox()
          コンストラクタ。
 
メソッドの概要
 void addItem(int index)
          項目を追加する。
 void addMultiLocaleTextItem(PFMultiLocaleString text, int index)
          項目を追加する。
 void addMultiLocaleTextItems(PFObjectList list, int index)
          複数の項目を追加する。
 void addPFActionListener(PFActionListener lis)
          引数で与えられたイベントリスナを登録し、 アクションイベント発生時に処理を行う対象とする。
 void addPFDataSelectListener(PFDataSelectListener lis)
          引数で与えられたイベントリスナを登録し、 データ選択イベント発生時に処理を行う対象とする。
 void addTextItem(java.lang.String text, int index)
          項目を追加する。
 void addTextItems(PFObjectList list, int index)
          複数の項目を追加する。
 void clearSelection()
          選択状態を解除する
protected  void fireActionPerformed(PFActionEvent event)
          アクションイベント発生を他コンポーネントに通知する。
protected  void firePFDataSelected(PFDataSelectEvent event)
          データ選択イベント発生を他コンポーネントに通知する。
 java.awt.Color getBackgroundAt(int index)
          指定位置の背景色を取得する。
 PFObjectList getBackgroundItems()
          各要素の背景色を一括で取得する。
 int getComponentID()
          コンポーネントIDを取得する。
 java.lang.String getComponentKey()
          コンポーネントキーを取得する。
 PFMultiLocaleString getComponentKeys()
          全ロケール分のコンポーネントキーを返す。
 java.lang.String getComponentName()
          コンポーネント名称を取得する。
 java.lang.String getComponentPublicName()
          コンポーネント公開名を取得する.
 java.lang.String getComponentString()
          コンポーネントの文字列表現を取得する。
 java.awt.Font getFontAt(int index)
          指定位置のフォントを取得する。
 PFObjectList getFontItems()
          各要素のフォントを一括で取得する。
 java.awt.Color getForegroundAt(int index)
          指定位置の前景色を取得する。
 PFObjectList getForegroundItems()
          各要素の前景色を一括で取得する。
 javax.swing.Icon getIconAt(int index)
          指定位置のアイコンを取得する。
 PFObjectList getMultiLocaleTextItems()
          項目名リストを取得する。
 PFMultiLocaleString getMultiLocaleToolTipText()
          ツールチップテキストを取得する。
 java.util.Iterator getPFActionListenerList()
          イベントリスナ配列を取得する。
protected  jp.go.aist.dmrc.platform.beans.gui.PFComboBoxModel getPFComboBoxModel()
          コンボボックスモデルを取得する.
 java.util.Iterator getPFDataSelectListenerList()
          データ選択イベントリスナ配列を取得する。
protected  javax.swing.JPopupMenu getPopupMenu(int index)
          ポップアップメニューを生成する。
 javax.swing.JComponent[] getPopupMenuList()
           
 java.awt.Dimension getPreferredSize()
          推奨サイズを取得する。
 boolean getPropertyEditable()
          画面上から属性が編集可能かどうかを取得する。
 java.lang.String getSelectedTextItem()
          現在選択されている項目の名称を取得する。
 java.awt.Color getSelectionBackground()
          選択時の背景色を取得する。
 java.awt.Color getSelectionForeground()
          選択時の前景色を取得する。
 java.lang.String getTextAt(int index)
          指定位置のテキストを取得する。
 PFObjectList getTextItems()
          項目名リストを取得する。
 java.lang.String getToolTipText()
          ツールチップテキストを取得する。
protected  void init()
          初期化処理。
 void invokeFromServlet(int event, java.lang.String args)
          画面操作に対応する、各コンポーネントのイベント生成メソッドを呼ぶ。
 boolean isAllowPullTransfer()
          他PFからのPull型コンポーネント転送要求に対する可否属性を取得する.
 boolean isAllowPushTransfer()
          他PFへのPush型コンポーネント転送要求に対する可否属性を取得する.
 boolean isAllowRemoteInvocation()
          他PFからのコンポーネント連携要求に対する可否属性を取得する.
 boolean isBackgroundSetAt(int index)
          指定項目の背景色設定有無を取得する。
 boolean isFontSetAt(int index)
          指定項目のフォント設定有無を取得する。
 boolean isForegroundSetAt(int index)
          指定項目の前景色設定有無を取得する。
 boolean isSelectionBackgroundSet()
          選択時の背景色の設定有無を取得する。
 boolean isSelectionForegroundSet()
          選択時の前景色の設定有無を取得する。
 void localeUpdated()
          ロケール更新への対応
 void readXML(PFXMLLoader in)
          コンポーネントのXML入力.
 void removeAllItems()
          全項目を削除する。
 void removeItemAt(int index)
          指定位置の項目を削除する。
 void removePFActionListener(PFActionListener lis)
          引数で与えられたイベントリスナを削除し、 アクションイベント発生時に処理を行う対象から外す。
 void removePFDataSelectListener(PFDataSelectListener lis)
          引数で与えられたイベントリスナを削除し、 データ選択イベント発生時に処理を行う対象から外す。
 void setAllowPullTransfer(boolean flag)
          他PFからのPull型コンポーネント転送要求に対する可否属性を設定する.
 void setAllowPushTransfer(boolean flag)
          他PFへのPush型コンポーネント転送要求に対する可否属性を設定する.
 void setAllowRemoteInvocation(boolean flag)
          他PFからのコンポーネント連携要求に対する可否属性を設定する.
 void setBackgroundAt(java.awt.Color color, int index)
          指定位置の背景色を設定する。
 void setBackgroundItems(PFObjectList colors)
          各要素の背景色を一括で設定する。
 void setComponentID(int id)
          コンポーネントIDを設定する。
 void setComponentKey(java.lang.String key)
          コンポーネントキーを設定する。
 void setComponentKeys(PFMultiLocaleString keys)
          全ロケール分のコンポーネントキーを設定する。
 void setComponentPublicName(java.lang.String publicName)
          コンポーネント公開名を設定する.
 void setFontAt(java.awt.Font font, int index)
          指定位置のフォントを設定する。
 void setFontItems(PFObjectList fonts)
          各要素のフォントを一括で設定する。
 void setForegroundAt(java.awt.Color color, int index)
          指定位置の前景色を設定する。
 void setForegroundItems(PFObjectList colors)
          各要素の前景色を一括で設定する。
 void setIconAt(javax.swing.Icon icon, int index)
          指定位置のアイコンを設定する。
 void setMultiLocaleTextItems(PFObjectList list)
          項目名を設定する。
 void setMultiLocaleToolTipText(PFMultiLocaleString text)
          ツールチップテキストを設定する。
protected  void setPFComboBoxModel(jp.go.aist.dmrc.platform.beans.gui.PFComboBoxModel mod)
          コンボボックスモデルを設定する.
 void setPreferredSize(java.awt.Dimension d)
          推奨サイズを設定する。
 void setPropertyEditable(boolean flag)
          画面上から属性が編集可能かどうかを設定する。
 void setSelectedItem(java.lang.Object object)
          指定項目を選択する。
 void setSelectionBackground(java.awt.Color color)
          選択時の背景色を設定する。
 void setSelectionForeground(java.awt.Color color)
          選択時の前景色を設定する。
 void setTextAt(java.lang.String text, int index)
          指定位置のテキストを設定する。
 void setTextItems(PFObjectList list)
          項目名を設定する。
 void setToolTipText(java.lang.String text)
          ツールチップテキストを設定する。
 void writeXML(PFXMLGenerator out)
          コンポーネントのXML出力.
 
クラス javax.swing.JComboBox から継承されたメソッド
actionPerformed, actionPropertyChanged, addActionListener, addItem, addItemListener, addPopupMenuListener, configureEditor, configurePropertiesFromAction, contentsChanged, createActionPropertyChangeListener, createDefaultKeySelectionManager, fireActionEvent, fireItemStateChanged, firePopupMenuCanceled, firePopupMenuWillBecomeInvisible, firePopupMenuWillBecomeVisible, getAccessibleContext, getAction, getActionCommand, getActionListeners, getEditor, getItemAt, getItemCount, getItemListeners, getKeySelectionManager, getMaximumRowCount, getModel, getPopupMenuListeners, getPrototypeDisplayValue, getRenderer, getSelectedIndex, getSelectedItem, getSelectedObjects, getUI, getUIClassID, hidePopup, insertItemAt, installAncestorListener, intervalAdded, intervalRemoved, isEditable, isLightWeightPopupEnabled, isPopupVisible, paramString, processKeyEvent, removeActionListener, removeItem, removeItemListener, removePopupMenuListener, selectedItemChanged, selectWithKeyChar, setAction, setActionCommand, setEditable, setEditor, setEnabled, setKeySelectionManager, setLightWeightPopupEnabled, setMaximumRowCount, setModel, setPopupVisible, setPrototypeDisplayValue, setRenderer, setSelectedIndex, setUI, showPopup, 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, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, 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, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, 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, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, 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
 

フィールドの詳細

EVENT_CHANGE

public static final int EVENT_CHANGE
関連項目:
定数フィールド値
コンストラクタの詳細

PFComboBox

public PFComboBox()
コンストラクタ。

メソッドの詳細

getComponentName

public java.lang.String getComponentName()
コンポーネント名称を取得する。

定義:
インタフェース PFComponent 内の getComponentName
戻り値:
コンポーネント名

getComponentKey

public java.lang.String getComponentKey()
コンポーネントキーを取得する。

定義:
インタフェース PFComponent 内の getComponentKey
戻り値:
コンポーネントキー

setComponentKey

public void setComponentKey(java.lang.String key)
コンポーネントキーを設定する。

定義:
インタフェース PFComponent 内の setComponentKey
パラメータ:
key - コンポーネントキー

getComponentKeys

public PFMultiLocaleString getComponentKeys()
全ロケール分のコンポーネントキーを返す。

戻り値:
全ロケール分のコンポーネントキー

setComponentKeys

public void setComponentKeys(PFMultiLocaleString keys)
全ロケール分のコンポーネントキーを設定する。

パラメータ:
keys - 全ロケール分のコンポーネントキー

getComponentID

public int getComponentID()
コンポーネントIDを取得する。

定義:
インタフェース PFComponent 内の getComponentID
戻り値:
コンポーネントID

setComponentID

public void setComponentID(int id)
コンポーネントIDを設定する。
コンポーネントIDはプラットフォームから設定される。 各コンポーネント内では操作しないこと。

定義:
インタフェース PFComponent 内の setComponentID
パラメータ:
id - 設定するコンポーネントID

getComponentString

public java.lang.String getComponentString()
コンポーネントの文字列表現を取得する。
形式:"Component Name" [ ID : "ID" ]

定義:
インタフェース PFComponent 内の getComponentString
戻り値:
文字列表現

getComponentPublicName

public java.lang.String getComponentPublicName()
コンポーネント公開名を取得する.

定義:
インタフェース PFComponent 内の getComponentPublicName
戻り値:
コンポーネント公開名

setComponentPublicName

public void setComponentPublicName(java.lang.String publicName)
                            throws PFComponentException
コンポーネント公開名を設定する.
空文字のみの公開名は、nullに置き換える。数字のみの公開名は許可しない。 また、既存コンポーネントとの重複も認めない.

定義:
インタフェース PFComponent 内の setComponentPublicName
パラメータ:
publicName - 設定するコンポーネント公開名
例外:
PFComponentException - 規約に反する名前が設定されようとした場合

isAllowRemoteInvocation

public boolean isAllowRemoteInvocation()
他PFからのコンポーネント連携要求に対する可否属性を取得する.

定義:
インタフェース PFComponent 内の isAllowRemoteInvocation
戻り値:
コンポーネント連携要求可否属性

setAllowRemoteInvocation

public void setAllowRemoteInvocation(boolean flag)
他PFからのコンポーネント連携要求に対する可否属性を設定する.

定義:
インタフェース PFComponent 内の setAllowRemoteInvocation
パラメータ:
flag - コンポーネント連携要求に対する可否

isAllowPullTransfer

public boolean isAllowPullTransfer()
他PFからのPull型コンポーネント転送要求に対する可否属性を取得する.

定義:
インタフェース PFComponent 内の isAllowPullTransfer
戻り値:
Pull型コンポーネント転送要求可否属性

setAllowPullTransfer

public void setAllowPullTransfer(boolean flag)
他PFからのPull型コンポーネント転送要求に対する可否属性を設定する.

定義:
インタフェース PFComponent 内の setAllowPullTransfer
パラメータ:
flag - Pull型コンポーネント転送要求に対する可否

isAllowPushTransfer

public boolean isAllowPushTransfer()
他PFへのPush型コンポーネント転送要求に対する可否属性を取得する.

定義:
インタフェース PFComponent 内の isAllowPushTransfer
戻り値:
Push型コンポーネント転送要求可否属性

setAllowPushTransfer

public void setAllowPushTransfer(boolean flag)
他PFへのPush型コンポーネント転送要求に対する可否属性を設定する.

定義:
インタフェース PFComponent 内の setAllowPushTransfer
パラメータ:
flag - Push型コンポーネント転送要求に対する可否

getPropertyEditable

public boolean getPropertyEditable()
画面上から属性が編集可能かどうかを取得する。

定義:
インタフェース PFPropertyEditableComponent 内の getPropertyEditable
戻り値:
編集可否(true/false)

setPropertyEditable

public void setPropertyEditable(boolean flag)
画面上から属性が編集可能かどうかを設定する。

定義:
インタフェース PFPropertyEditableComponent 内の setPropertyEditable
パラメータ:
flag - 編集可否(true/false)

getPFDataSelectListenerList

public java.util.Iterator getPFDataSelectListenerList()
データ選択イベントリスナ配列を取得する。

定義:
インタフェース PFDataSelectEventSource 内の getPFDataSelectListenerList
戻り値:
イベントリスナイテレータ

addPFDataSelectListener

public void addPFDataSelectListener(PFDataSelectListener lis)
引数で与えられたイベントリスナを登録し、 データ選択イベント発生時に処理を行う対象とする。

定義:
インタフェース PFDataSelectEventSource 内の addPFDataSelectListener
パラメータ:
lis - 追加対象イベントリスナ

removePFDataSelectListener

public void removePFDataSelectListener(PFDataSelectListener lis)
引数で与えられたイベントリスナを削除し、 データ選択イベント発生時に処理を行う対象から外す。

定義:
インタフェース PFDataSelectEventSource 内の removePFDataSelectListener
パラメータ:
lis - 削除対象イベントリスナ

firePFDataSelected

protected void firePFDataSelected(PFDataSelectEvent event)
データ選択イベント発生を他コンポーネントに通知する。

パラメータ:
event - データ選択イベント

getPFActionListenerList

public java.util.Iterator getPFActionListenerList()
イベントリスナ配列を取得する。

定義:
インタフェース PFActionEventSource 内の getPFActionListenerList
戻り値:
イベントリスナイテレータ

addPFActionListener

public void addPFActionListener(PFActionListener lis)
引数で与えられたイベントリスナを登録し、 アクションイベント発生時に処理を行う対象とする。

定義:
インタフェース PFActionEventSource 内の addPFActionListener
パラメータ:
lis - 追加対象イベントリスナ

removePFActionListener

public void removePFActionListener(PFActionListener lis)
引数で与えられたイベントリスナを削除し、 アクションイベント発生時に処理を行う対象から外す。

定義:
インタフェース PFActionEventSource 内の removePFActionListener
パラメータ:
lis - 削除対象イベントリスナ

fireActionPerformed

protected void fireActionPerformed(PFActionEvent event)
アクションイベント発生を他コンポーネントに通知する。

パラメータ:
event - アクションイベント

localeUpdated

public void localeUpdated()
ロケール更新への対応

定義:
インタフェース PFComponent 内の localeUpdated

addItem

public void addItem(int index)
項目を追加する。

パラメータ:
index - 追加対象インデックス

addTextItem

public void addTextItem(java.lang.String text,
                        int index)
項目を追加する。

パラメータ:
text - テキスト
index - 追加対象インデックス

addMultiLocaleTextItem

public void addMultiLocaleTextItem(PFMultiLocaleString text,
                                   int index)
項目を追加する。

パラメータ:
text - マルチロケールテキスト
index - 追加対象インデックス

addTextItems

public void addTextItems(PFObjectList list,
                         int index)
複数の項目を追加する。

パラメータ:
list - 複数の項目(テキスト)
index - 追加対象インデックス

addMultiLocaleTextItems

public void addMultiLocaleTextItems(PFObjectList list,
                                    int index)
複数の項目を追加する。

パラメータ:
list - 複数の項目(マルチロケールテキスト)
index - 追加対象インデックス

getTextItems

public PFObjectList getTextItems()
項目名リストを取得する。

戻り値:
項目名リスト(テキスト)

setTextItems

public void setTextItems(PFObjectList list)
項目名を設定する。

パラメータ:
list - 項目名リスト(テキスト)

getMultiLocaleTextItems

public PFObjectList getMultiLocaleTextItems()
項目名リストを取得する。

戻り値:
項目名リスト(マルチロケールテキスト)

setMultiLocaleTextItems

public void setMultiLocaleTextItems(PFObjectList list)
項目名を設定する。

パラメータ:
list - 項目名リスト(マルチロケールテキスト)

removeItemAt

public void removeItemAt(int index)
指定位置の項目を削除する。

オーバーライド:
クラス javax.swing.JComboBox 内の removeItemAt
パラメータ:
index - 削除対象インデックス

removeAllItems

public void removeAllItems()
全項目を削除する。

オーバーライド:
クラス javax.swing.JComboBox 内の removeAllItems

getTextAt

public java.lang.String getTextAt(int index)
指定位置のテキストを取得する。

パラメータ:
index - インデックス
戻り値:
テキスト

setTextAt

public void setTextAt(java.lang.String text,
                      int index)
指定位置のテキストを設定する。

パラメータ:
text - テキスト
index - インデックス

getFontAt

public java.awt.Font getFontAt(int index)
指定位置のフォントを取得する。

パラメータ:
index - インデックス
戻り値:
フォント

setFontAt

public void setFontAt(java.awt.Font font,
                      int index)
指定位置のフォントを設定する。

パラメータ:
font - フォント
index - インデックス

isFontSetAt

public boolean isFontSetAt(int index)
指定項目のフォント設定有無を取得する。

パラメータ:
index - インデックス
戻り値:
フォント設定有無

getFontItems

public PFObjectList getFontItems()
各要素のフォントを一括で取得する。

戻り値:
フォントのリスト

setFontItems

public void setFontItems(PFObjectList fonts)
各要素のフォントを一括で設定する。

パラメータ:
fonts - フォントのリスト

getForegroundAt

public java.awt.Color getForegroundAt(int index)
指定位置の前景色を取得する。

パラメータ:
index - インデックス
戻り値:
前景色

setForegroundAt

public void setForegroundAt(java.awt.Color color,
                            int index)
指定位置の前景色を設定する。

パラメータ:
color - 前景色
index - インデックス

isForegroundSetAt

public boolean isForegroundSetAt(int index)
指定項目の前景色設定有無を取得する。

パラメータ:
index - インデックス
戻り値:
前景色設定有無

getForegroundItems

public PFObjectList getForegroundItems()
各要素の前景色を一括で取得する。

戻り値:
前景色のリスト

setForegroundItems

public void setForegroundItems(PFObjectList colors)
各要素の前景色を一括で設定する。

パラメータ:
colors - 前景色のリスト

getBackgroundAt

public java.awt.Color getBackgroundAt(int index)
指定位置の背景色を取得する。

パラメータ:
index - インデックス
戻り値:
背景色

setBackgroundAt

public void setBackgroundAt(java.awt.Color color,
                            int index)
指定位置の背景色を設定する。

パラメータ:
color - 背景色
index - インデックス

isBackgroundSetAt

public boolean isBackgroundSetAt(int index)
指定項目の背景色設定有無を取得する。

パラメータ:
index - インデックス
戻り値:
背景色設定有無

getBackgroundItems

public PFObjectList getBackgroundItems()
各要素の背景色を一括で取得する。

戻り値:
背景色のリスト

setBackgroundItems

public void setBackgroundItems(PFObjectList colors)
各要素の背景色を一括で設定する。

パラメータ:
colors - 背景色のリスト

getIconAt

public javax.swing.Icon getIconAt(int index)
指定位置のアイコンを取得する。

パラメータ:
index - インデックス
戻り値:
アイコン

setIconAt

public void setIconAt(javax.swing.Icon icon,
                      int index)
指定位置のアイコンを設定する。

パラメータ:
icon - アイコン
index - インデックス

getSelectedTextItem

public java.lang.String getSelectedTextItem()
現在選択されている項目の名称を取得する。

戻り値:
項目名称

getSelectionForeground

public java.awt.Color getSelectionForeground()
選択時の前景色を取得する。

戻り値:
選択時の前景色

setSelectionForeground

public void setSelectionForeground(java.awt.Color color)
選択時の前景色を設定する。

パラメータ:
color - 選択時の前景色

isSelectionForegroundSet

public boolean isSelectionForegroundSet()
選択時の前景色の設定有無を取得する。

戻り値:
選択時の前景色の設定有無

getSelectionBackground

public java.awt.Color getSelectionBackground()
選択時の背景色を取得する。

戻り値:
選択時の背景色

setSelectionBackground

public void setSelectionBackground(java.awt.Color color)
選択時の背景色を設定する。

パラメータ:
color - 選択時の背景色

isSelectionBackgroundSet

public boolean isSelectionBackgroundSet()
選択時の背景色の設定有無を取得する。

戻り値:
選択時の背景色の設定有無

getToolTipText

public java.lang.String getToolTipText()
ツールチップテキストを取得する。

オーバーライド:
クラス javax.swing.JComponent 内の getToolTipText
戻り値:
ツールチップテキスト

setToolTipText

public void setToolTipText(java.lang.String text)
ツールチップテキストを設定する。

オーバーライド:
クラス javax.swing.JComponent 内の setToolTipText
パラメータ:
text - ツールチップテキスト

getMultiLocaleToolTipText

public PFMultiLocaleString getMultiLocaleToolTipText()
ツールチップテキストを取得する。

戻り値:
ツールチップテキスト(マルチロケール)

setMultiLocaleToolTipText

public void setMultiLocaleToolTipText(PFMultiLocaleString text)
ツールチップテキストを設定する。

パラメータ:
text - ツールチップテキスト(マルチロケール)

getPreferredSize

public java.awt.Dimension getPreferredSize()
推奨サイズを取得する。

オーバーライド:
クラス javax.swing.JComponent 内の getPreferredSize
戻り値:
推奨サイズ

setPreferredSize

public void setPreferredSize(java.awt.Dimension d)
推奨サイズを設定する。

オーバーライド:
クラス javax.swing.JComponent 内の setPreferredSize
パラメータ:
d - 推奨サイズ

setSelectedItem

public void setSelectedItem(java.lang.Object object)
指定項目を選択する。

オーバーライド:
クラス javax.swing.JComboBox 内の setSelectedItem
パラメータ:
object - 指定項目(StringまたはPFMultiLocaleString)

clearSelection

public void clearSelection()
選択状態を解除する


init

protected void init()
初期化処理。


getPopupMenu

protected javax.swing.JPopupMenu getPopupMenu(int index)
ポップアップメニューを生成する。


getPopupMenuList

public javax.swing.JComponent[] getPopupMenuList()

getPFComboBoxModel

protected jp.go.aist.dmrc.platform.beans.gui.PFComboBoxModel getPFComboBoxModel()
コンボボックスモデルを取得する.

戻り値:
コンボボックスモデル

setPFComboBoxModel

protected void setPFComboBoxModel(jp.go.aist.dmrc.platform.beans.gui.PFComboBoxModel mod)
コンボボックスモデルを設定する.

パラメータ:
mod - コンボボックスモデル

writeXML

public void writeXML(PFXMLGenerator out)
              throws java.io.IOException
コンポーネントのXML出力.

定義:
インタフェース PFXMLSerializable 内の writeXML
パラメータ:
out - XML出力ユーティリティ
例外:
java.io.IOException

readXML

public void readXML(PFXMLLoader in)
コンポーネントのXML入力.

定義:
インタフェース PFXMLSerializable 内の readXML
パラメータ:
in - XML入力ユーティリティ

invokeFromServlet

public void invokeFromServlet(int event,
                              java.lang.String args)
画面操作に対応する、各コンポーネントのイベント生成メソッドを呼ぶ。

定義:
インタフェース jp.go.aist.dmrc.platform.base.PFWebGUIComponent 内の invokeFromServlet
パラメータ:
args - 引数文字列