public class PFList extends javax.swing.JPanel implements PFGUIComponent, jp.go.aist.dmrc.platform.base.PFWebGUIComponent, PFDataSelectEventSource, PFXMLSerializable, PFDropTarget, PFDataDropEventSource, PFDragSource
このコンポーネントから以下のイベントが発生します。
トリガ | 対象データ | 選択データ | イベント番号 |
---|---|---|---|
項目選択,選択解除,選択項目削除 | 全項目の名称PFObjectList (String) |
選択対象項目の名称PFObjectList (String) |
0 |
トリガー | 対象データ | イベント番号 |
---|---|---|
ファイルのドロップ | ファイルパス名のリストPFObjectList |
0 |
文字列のドロップ | 文字列String |
1 |
リストのドロップ | リストPFObjectList |
3 |
ドラッグ側でメソッド指定されたデータのドロップ (setDragObjectGetter) |
指定メソッド実行による取得オブジェクト | 7 |
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
EVENT_CHANGE |
static int |
EVENT_MULTI |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
コンストラクタと説明 |
---|
PFList()
コンストラクタ。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addItem(int index)
項目を追加する。
|
void |
addMultiLocaleTextItem(PFMultiLocaleString text,
int index)
項目を追加する。
|
void |
addMultiLocaleTextItems(PFObjectList list,
int index)
複数の項目を追加する。
|
void |
addPFDataDropListener(PFDataDropListener lis)
引数で与えられたイベントリスナを登録し、
データドロップイベント発生時に処理を行う対象とする。
|
void |
addPFDataSelectListener(PFDataSelectListener lis)
引数で与えられたイベントリスナを登録し、
データ選択イベント発生時に処理を行う対象とする。
|
void |
addSelectionInterval(int anchor,
int lead)
指定区間を選択に追加する。
|
void |
addTextItem(java.lang.String text)
最後尾に項目を追加する。
|
void |
addTextItem(java.lang.String text,
int index)
項目を追加する。
|
void |
addTextItems(PFObjectList list,
int index)
複数の項目を追加する。
|
void |
clearSelection()
選択をクリアする。
|
void |
ensureFirstIndexIsVisible()
トップインデックスのセルを可視にする。
|
void |
ensureIndexIsVisible(int index)
指定インデックスのセルを可視にする。
|
void |
ensureLastIndexIsVisible()
最終インデックスのセルを可視にする。
|
protected void |
firePFDataSelected(PFDataSelectEvent event)
データ選択イベント発生を他コンポーネントに通知する。
|
int |
getAnchorSelectionIndex()
最後のaddSelectionModelまたはsetSelectionInterval呼び出しにおける最初のインデックスを
取得する。
|
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()
コンポーネントの文字列表現を取得する。
|
PFObjectList |
getData()
全要素の項目名を取得する。
|
boolean |
getDataSelectEventNonFiringWhenSelectionCleared()
選択解除時のデータ選択イベントの発生停止を取得する。
|
int |
getFirstVisibleIndex()
最初の可視セルのインデックスを取得する。
|
int |
getFixedCellHeight()
固定セル高を取得する。
|
int |
getFixedCellWidth()
固定セル幅を取得する。
|
java.awt.Font |
getFontAt(int index)
指定位置のフォントを取得する。
|
PFObjectList |
getFontItems()
各要素のフォントを一括で取得する。
|
java.awt.Color |
getForegroundAt(int index)
指定位置の前景色を取得する。
|
PFObjectList |
getForegroundItems()
各要素の前景色を一括で取得する。
|
javax.swing.Icon |
getIconAt(int index)
指定位置のアイコンを取得する。
|
int |
getItemCount()
項目数を取得する。
|
int |
getLastVisibleIndex()
最後の可視セルのインデックスを取得する。
|
int |
getLayoutOrientation()
セルの配列方法を取得する。
|
int |
getLeadSelectionIndex()
最後のaddSelectionIntervalまたは setSelectionInterval呼び出しにおける2番目のインデックスを
取得する。
|
java.awt.Color |
getListBackground()
リストのデフォルトの背景色を取得する。
|
java.awt.Font |
getListFont()
リストのデフォルトのフォントを取得する。
|
java.awt.Color |
getListForeground()
リストのデフォルトの前景色を取得する。
|
int |
getMaxSelectionIndex()
選択されているセルの最大インデックスを取得する。
|
int |
getMinSelectionIndex()
選択されているセルの最小インデックスを取得する。
|
PFObjectList |
getMultiLocaleTextItems()
項目名リストを取得する。
|
PFMultiLocaleString |
getMultiLocaleToolTipText()
ツールチップテキストを取得する。
|
java.util.Iterator |
getPFDataDropListenerList()
データドロップイベントリスナ配列を取得する。
|
java.util.Iterator |
getPFDataSelectListenerList()
データ選択イベントリスナ配列を取得する。
|
PFListModel |
getPFListModel()
リストモデルを取得する.
|
protected javax.swing.JPopupMenu |
getPopupMenu(int index)
ポップアップメニューを生成する。
|
javax.swing.JComponent[] |
getPopupMenuList() |
java.awt.Dimension |
getPreferredSize()
推奨サイズを取得する。
|
boolean |
getPropertyEditable()
画面上から属性が編集可能かどうかを取得する。
|
int |
getSelectedIndex()
現在選択中の項目のインデックスを1つ取得する。
|
PFObjectList |
getSelectedIndices()
現在選択されている項目のインデックスを取得する。
|
java.lang.String |
getSelectedItem()
現在選択されている項目の名称を1つ取得する。
|
int |
getSelectedItemCount()
選択項目数を取得する。
|
PFObjectList |
getSelectedItems()
現在選択されている項目の名称のリストを取得する。
|
java.awt.Color |
getSelectionBackground()
選択時の背景色を取得する。
|
java.awt.Color |
getSelectionForeground()
選択時の前景色を取得する。
|
int |
getSelectionMode()
選択モードを取得する。
|
java.lang.String |
getTextAt(int index)
指定位置のテキストを取得する。
|
PFObjectList |
getTextItems()
項目名リストを取得する。
|
java.lang.String |
getToolTipText()
ツールチップテキストを取得する。
|
int |
getVerticalScrollPosition()
縦スクロールインデックスを取得する。
|
javax.swing.JList |
getView()
リストの実体を取得する.
|
int |
getVisibleRowCount()
可視行数を取得する。
|
protected void |
init()
初期化処理。
|
protected void |
initDropTarget()
ドロップターゲット実装の初期化
|
void |
inputFocus()
リストにフォーカスをあてる.
|
void |
invokeFromServlet(int event,
java.lang.String args)
画面操作に対応する、各コンポーネントのイベント生成メソッドを呼ぶ。
|
boolean |
isAllowPullTransfer()
他PFからのPull型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowPushTransfer()
他PFへのPush型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowRemoteInvocation()
他PFからのコンポーネント連携要求に対する可否属性を取得する.
|
boolean |
isBackgroundSetAt(int index)
指定項目の背景色設定有無を取得する。
|
boolean |
isDragEnabled()
ドラッグの有効/無効を取得する。
|
boolean |
isDropEnabled()
ドロップの有効/無効を取得する。
|
boolean |
isFocusOwner()
フォーカスの有無を判定する。
|
boolean |
isFontSetAt(int index)
指定項目のフォント設定有無を取得する。
|
boolean |
isForegroundSetAt(int index)
指定項目の前景色設定有無を取得する。
|
boolean |
isListBackgroundSet()
リストのデフォルト背景色の設定有無を取得する。
|
boolean |
isListFontSet()
リストのデフォルトフォントの設定有無を取得する。
|
boolean |
isListForegroundSet()
リストのデフォルト前景色の設定有無を取得する。
|
boolean |
isSelectedIndex(int index)
指定されたインデックスの選択有無を取得する。
|
boolean |
isSelectionBackgroundSet()
選択時の背景色の設定有無を取得する。
|
boolean |
isSelectionEmpty()
何も選択されていない場合trueを返す。
|
boolean |
isSelectionForegroundSet()
選択時の前景色の設定有無を取得する。
|
void |
localeUpdated()
ロケール更新への対応
|
void |
readXML(PFXMLLoader in)
コンポーネントのXML入力.
|
void |
removeAllItems()
全項目を削除する。
|
void |
removeItemAt(int index)
指定位置の項目を削除する。
|
void |
removePFDataDropListener(PFDataDropListener lis)
引数で与えられたイベントリスナを削除し、
データドロップイベント発生時に処理を行う対象から外す。
|
void |
removePFDataSelectListener(PFDataSelectListener lis)
引数で与えられたイベントリスナを削除し、
データ選択イベント発生時に処理を行う対象から外す。
|
void |
removeSelectionInterval(int index0,
int index1)
指定区間を選択から削除する。
|
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 |
setData(PFObjectList data)
全要素の項目名を設定する。
|
void |
setDataSelectEventNonFiringWhenSelectionCleared(boolean ignoring)
選択解除時のデータ選択イベントの発生停止を設定する。
|
void |
setDragEnabled(boolean enabled)
ドラッグの有効/無効を設定する。
|
void |
setDragObjectGetter(PFComponent comp,
java.lang.String method)
ドラッグ対象のオブジェクトを取得するためのメソッドを設定する。
|
void |
setDropEnabled(boolean enabled)
ドロップの有効/無効を設定する。
|
void |
setEnabled(boolean enabled)
有効/無効を設定する。
|
void |
setFixedCellHeight(int height)
固定セル高を設定する。
|
void |
setFixedCellWidth(int width)
固定セル幅を設定する。
|
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 |
setLayoutOrientation(int layoutOrientation)
セルの配列方法を設定する。
|
void |
setListBackground(java.awt.Color color)
リストのデフォルトの背景色を設定する。
|
void |
setListFont(java.awt.Font font)
リストのデフォルトのフォントを設定する。
|
void |
setListForeground(java.awt.Color color)
リストのデフォルトの前景色を設定する。
|
void |
setMultiLocaleTextItems(PFObjectList list)
項目名を設定する。
|
void |
setMultiLocaleToolTipText(PFMultiLocaleString text)
ツールチップテキストを設定する。
|
void |
setPFListModel(PFListModel mod)
リストモデルを設定する.
|
void |
setPreferredSize(java.awt.Dimension size)
推奨サイズを設定する。
|
void |
setPropertyEditable(boolean flag)
画面上から属性が編集可能かどうかを設定する。
|
void |
setSelectedIndex(int index)
指定されたインデックスに該当する項目を選択状態にする。
|
void |
setSelectedIndices(PFObjectList list)
指定されたインデックスに該当する項目を選択状態にする。
|
void |
setSelectionBackground(java.awt.Color selectionBackground)
選択時の背景色を設定する。
|
void |
setSelectionForeground(java.awt.Color selectionForeground)
選択時の前景色を設定する。
|
void |
setSelectionInterval(int anchor,
int lead)
指定区間を選択する。
|
void |
setSelectionMode(int selectionMode)
選択モードを設定する。
|
void |
setTextAt(java.lang.String text,
int index)
指定位置のテキストを設定する。
|
void |
setTextItems(PFObjectList list)
項目名を設定する。
|
void |
setToolTipText(java.lang.String text)
ツールチップテキストを設定する。
|
void |
setVerticalScrollPosition(int pos)
縦スクロールインデックスを設定する。
|
void |
setVisibleRowCount(int visibleRowCount)
可視行数を設定する。
|
void |
writeXML(PFXMLGenerator out)
コンポーネントのXML出力.
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
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, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, 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, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
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, transferFocusDownCycle, validate, validateTree
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, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, 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, transferFocusBackward, transferFocusUpCycle
public static final int EVENT_CHANGE
public static final int EVENT_MULTI
public java.lang.String getComponentName()
getComponentName
インタフェース内 PFComponent
public java.lang.String getComponentKey()
getComponentKey
インタフェース内 PFComponent
public void setComponentKey(java.lang.String key)
setComponentKey
インタフェース内 PFComponent
key
- コンポーネントキーpublic PFMultiLocaleString getComponentKeys()
public void setComponentKeys(PFMultiLocaleString keys)
keys
- 全ロケール分のコンポーネントキーpublic int getComponentID()
getComponentID
インタフェース内 PFComponent
public void setComponentID(int id)
setComponentID
インタフェース内 PFComponent
id
- 設定するコンポーネントIDpublic java.lang.String getComponentString()
getComponentString
インタフェース内 PFComponent
public java.lang.String getComponentPublicName()
getComponentPublicName
インタフェース内 PFComponent
public void setComponentPublicName(java.lang.String publicName) throws PFComponentException
setComponentPublicName
インタフェース内 PFComponent
publicName
- 設定するコンポーネント公開名PFComponentException
- 規約に反する名前が設定されようとした場合public boolean isAllowRemoteInvocation()
isAllowRemoteInvocation
インタフェース内 PFComponent
public void setAllowRemoteInvocation(boolean flag)
setAllowRemoteInvocation
インタフェース内 PFComponent
flag
- コンポーネント連携要求に対する可否public boolean isAllowPullTransfer()
isAllowPullTransfer
インタフェース内 PFComponent
public void setAllowPullTransfer(boolean flag)
setAllowPullTransfer
インタフェース内 PFComponent
flag
- Pull型コンポーネント転送要求に対する可否public boolean isAllowPushTransfer()
isAllowPushTransfer
インタフェース内 PFComponent
public void setAllowPushTransfer(boolean flag)
setAllowPushTransfer
インタフェース内 PFComponent
flag
- Push型コンポーネント転送要求に対する可否public void setPropertyEditable(boolean flag)
setPropertyEditable
インタフェース内 PFPropertyEditableComponent
flag
- 編集可否(true/false)public boolean getPropertyEditable()
getPropertyEditable
インタフェース内 PFPropertyEditableComponent
public java.util.Iterator getPFDataSelectListenerList()
getPFDataSelectListenerList
インタフェース内 PFDataSelectEventSource
public void addPFDataSelectListener(PFDataSelectListener lis)
addPFDataSelectListener
インタフェース内 PFDataSelectEventSource
lis
- 追加対象イベントリスナpublic void removePFDataSelectListener(PFDataSelectListener lis)
removePFDataSelectListener
インタフェース内 PFDataSelectEventSource
lis
- 削除対象イベントリスナprotected void firePFDataSelected(PFDataSelectEvent event)
event
- データ選択イベントpublic java.util.Iterator getPFDataDropListenerList()
getPFDataDropListenerList
インタフェース内 PFDataDropEventSource
public void addPFDataDropListener(PFDataDropListener lis)
addPFDataDropListener
インタフェース内 PFDataDropEventSource
lis
- 追加対象イベントリスナpublic void removePFDataDropListener(PFDataDropListener lis)
removePFDataDropListener
インタフェース内 PFDataDropEventSource
lis
- 削除対象イベントリスナpublic void localeUpdated()
localeUpdated
インタフェース内 PFComponent
public int getItemCount()
public void addItem(int index)
index
- 追加対象インデックスpublic void addTextItem(java.lang.String text, int index)
text
- テキストindex
- 追加対象インデックスpublic void addTextItem(java.lang.String text)
text
- テキストpublic void addMultiLocaleTextItem(PFMultiLocaleString text, int index)
text
- マルチロケールテキストindex
- 追加対象インデックスpublic void addTextItems(PFObjectList list, int index)
list
- 複数の項目(テキスト)index
- 追加対象インデックスpublic void addMultiLocaleTextItems(PFObjectList list, int index)
list
- 複数の項目(マルチロケールテキスト)index
- 追加対象インデックスpublic PFObjectList getTextItems()
public void setTextItems(PFObjectList list)
list
- 項目名リスト(テキスト)public PFObjectList getMultiLocaleTextItems()
public void setMultiLocaleTextItems(PFObjectList list)
list
- 項目名リスト(マルチロケールテキスト)public void removeItemAt(int index)
index
- 削除対象インデックスpublic void removeAllItems()
public java.lang.String getTextAt(int index)
index
- インデックスpublic void setTextAt(java.lang.String text, int index)
text
- テキストindex
- インデックスpublic java.awt.Font getFontAt(int index)
index
- インデックスpublic void setFontAt(java.awt.Font font, int index)
font
- フォントindex
- インデックスpublic boolean isFontSetAt(int index)
public PFObjectList getFontItems()
public void setFontItems(PFObjectList fonts)
fonts
- フォントのリストpublic java.awt.Color getForegroundAt(int index)
index
- インデックスpublic void setForegroundAt(java.awt.Color color, int index)
color
- 前景色index
- インデックスpublic boolean isForegroundSetAt(int index)
public PFObjectList getForegroundItems()
public void setForegroundItems(PFObjectList colors)
colors
- 前景色のリストpublic java.awt.Color getBackgroundAt(int index)
index
- インデックスpublic void setBackgroundAt(java.awt.Color color, int index)
color
- 背景色index
- インデックスpublic boolean isBackgroundSetAt(int index)
public PFObjectList getBackgroundItems()
public void setBackgroundItems(PFObjectList colors)
colors
- 背景色のリストpublic javax.swing.Icon getIconAt(int index)
index
- インデックスpublic void setIconAt(javax.swing.Icon icon, int index)
icon
- アイコンindex
- インデックスpublic java.awt.Font getListFont()
public void setListFont(java.awt.Font font)
font
- フォントpublic boolean isListFontSet()
public java.awt.Color getListForeground()
public void setListForeground(java.awt.Color color)
color
- 前景色public boolean isListForegroundSet()
public java.awt.Color getListBackground()
public void setListBackground(java.awt.Color color)
color
- 背景色public boolean isListBackgroundSet()
public int getFixedCellWidth()
public void setFixedCellWidth(int width)
width
- 固定セル幅public int getFixedCellHeight()
public void setFixedCellHeight(int height)
height
- 固定セル高public java.awt.Color getSelectionForeground()
public void setSelectionForeground(java.awt.Color selectionForeground)
selectionForeground
- 選択時の前景色public boolean isSelectionForegroundSet()
public java.awt.Color getSelectionBackground()
public void setSelectionBackground(java.awt.Color selectionBackground)
selectionBackground
- 選択時の背景色public boolean isSelectionBackgroundSet()
public int getVisibleRowCount()
public void setVisibleRowCount(int visibleRowCount)
visibleRowCount
- 可視行数public int getLayoutOrientation()
public void setLayoutOrientation(int layoutOrientation)
layoutOrientation
- セルの配列方法public int getFirstVisibleIndex()
public int getLastVisibleIndex()
public void ensureIndexIsVisible(int index)
index
- 可視対象インデックスpublic void ensureFirstIndexIsVisible()
public void ensureLastIndexIsVisible()
public int getSelectionMode()
public void setSelectionMode(int selectionMode)
selectionMode
- 選択モードpublic int getAnchorSelectionIndex()
public int getLeadSelectionIndex()
public int getMinSelectionIndex()
public int getMaxSelectionIndex()
public boolean isSelectedIndex(int index)
index
- インデックスpublic boolean isSelectionEmpty()
public void clearSelection()
public void setSelectionInterval(int anchor, int lead)
anchor
- 選択する最初のインデックスlead
- 選択する最後のインデックスpublic void addSelectionInterval(int anchor, int lead)
anchor
- 選択に追加する最初のインデックスlead
- 選択に追加する最後のインデックスpublic void removeSelectionInterval(int index0, int index1)
index0
- 選択から削除する最初のインデックスindex1
- 選択から削除する最後のインデックスpublic PFObjectList getSelectedIndices()
public void setSelectedIndices(PFObjectList list)
list
- 選択対象インデックスpublic java.lang.String getSelectedItem()
public PFObjectList getSelectedItems()
public int getSelectedIndex()
public void setSelectedIndex(int index)
index
- 選択対象インデックスpublic int getSelectedItemCount()
public java.lang.String getToolTipText()
getToolTipText
クラス内 javax.swing.JComponent
public void setToolTipText(java.lang.String text)
setToolTipText
クラス内 javax.swing.JComponent
text
- ツールチップテキストpublic PFMultiLocaleString getMultiLocaleToolTipText()
public void setMultiLocaleToolTipText(PFMultiLocaleString text)
text
- ツールチップテキスト(マルチロケール)public void setEnabled(boolean enabled)
setEnabled
クラス内 javax.swing.JComponent
enabled
- 有効/無効public java.awt.Dimension getPreferredSize()
getPreferredSize
クラス内 javax.swing.JComponent
public void setPreferredSize(java.awt.Dimension size)
setPreferredSize
クラス内 javax.swing.JComponent
size
- 推奨サイズpublic PFObjectList getData()
public void setData(PFObjectList data)
data
- 項目名リストprotected void init()
public void setDataSelectEventNonFiringWhenSelectionCleared(boolean ignoring)
ignoring
- 発生停止(true/false)public boolean getDataSelectEventNonFiringWhenSelectionCleared()
protected javax.swing.JPopupMenu getPopupMenu(int index)
public javax.swing.JComponent[] getPopupMenuList()
public PFListModel getPFListModel()
public void setPFListModel(PFListModel mod)
mod
- リストモデルpublic javax.swing.JList getView()
public void writeXML(PFXMLGenerator out) throws java.io.IOException
writeXML
インタフェース内 PFXMLSerializable
out
- XML出力ユーティリティjava.io.IOException
- 入出力エラーが発生した場合public void readXML(PFXMLLoader in)
readXML
インタフェース内 PFXMLSerializable
in
- XML入力ユーティリティpublic void inputFocus()
public boolean isFocusOwner()
isFocusOwner
クラス内 java.awt.Component
public void setDragEnabled(boolean enabled)
setDragEnabled
インタフェース内 PFDragSource
enabled
- public boolean isDragEnabled()
isDragEnabled
インタフェース内 PFDragSource
public void setDragObjectGetter(PFComponent comp, java.lang.String method)
setDragObjectGetter
インタフェース内 PFDragSource
comp
- オブジェクトを取得するコンポーネントmethod
- オブジェクトを取得するメソッドの文字列表現public void setDropEnabled(boolean enabled)
setDropEnabled
インタフェース内 PFDropTarget
enabled
- public boolean isDropEnabled()
isDropEnabled
インタフェース内 PFDropTarget
protected void initDropTarget()
public void setVerticalScrollPosition(int pos)
pos
- スクロールインデックスpublic int getVerticalScrollPosition()
public void invokeFromServlet(int event, java.lang.String args)
invokeFromServlet
インタフェース内 jp.go.aist.dmrc.platform.base.PFWebGUIComponent
args
- 引数文字列