T
- T - このComboBoxに対して選択されているか、その他の方法で入力されている値の型。public abstract class ComboBoxBase<T> extends Control
show()
メソッドおよびhide()
メソッドが呼び出されたときの動作に関して何も想定しませんが、一般的に、この結果、ポップアップまたはダイアログが表示され、ユーザーが要求された情報を指定できるようになります。
ComboBoxには、現在のユーザー入力を表すvalue
プロパティがあります。これはドロップダウン・リストからの選択に基づく場合や、ComboBoxがeditable
であるときにはユーザー入力からのものである場合があります。
editable
であるComboBoxは、他に使用できるオプションがない場合に、エンド・ユーザーが値を入力できるなんらかの手段を提供します。たとえば、ComboBox
の実装において、編集可能なComboBoxでTextField
を提供して値を入力できるようにします。前述のように、ユーザーが(一般的には[Enter]キーボード・キーを押して)テキスト入力をテキスト・フィールドでコミットすると、value
プロパティが更新されます。
このクラスと、たとえばComboBox
とを分離する目的は、アイテムのリストを必ずしもポップアップしないComboBoxに似たコントロールを使用できるようにすることです。その他の実装の例として、カラー・ピッカーやカレンダ・ピッカーなどがあります。ComboBox
クラスでは、デフォルトの最も想定される実装を提供します。詳細は、そのクラスのjavadocを参照してください。
ComboBox
Type | プロパティと説明 |
---|---|
BooleanProperty |
armed
マウスを放すとComboBox
show() メソッドが起動するように、ComboBoxが作動準備完了していることを示します。 |
BooleanProperty |
editable
ComboBoxでユーザー入力を許可するかどうかを指定します。
|
ObjectProperty<EventHandler<ActionEvent>> |
onAction
ComboBoxの
value プロパティが変更されると常に起動されるComboBoxアクション。 |
ObjectProperty<EventHandler<Event>> |
onHidden
ComboBoxBase ポップアップ/表示が非表示になった直後に呼び出されます。 |
ObjectProperty<EventHandler<Event>> |
onHiding
ComboBox ポップアップ/表示が非表示になる直前に呼び出されます。 |
ObjectProperty<EventHandler<Event>> |
onShowing
ComboBoxBase ポップアップ/表示が表示される直前に呼び出されます。 |
ObjectProperty<EventHandler<Event>> |
onShown
ComboBoxBase ポップアップ/表示が表示される直後に呼び出されます。 |
StringProperty |
promptText
表示する
ComboBox プロンプト・テキスト、またはプロンプト・テキストを表示しない場合はnull。 |
ReadOnlyBooleanProperty |
showing
ComboBoxポップアップの現在の状態および現在画面に表示されているかどうか(ただし、他のウィンドウの後ろに隠れている可能性があります)を表します。
|
ObjectProperty<T> |
value
このComboBoxの値は、入力が編集可能でない場合は選択項目として、編集可能な場合は最近のユーザー・アクション(ユーザーが入力した値または最後の選択項目)として定義されます。
|
contextMenu、skin、tooltip
background、border、cacheShape、centerShape、height、insets、maxHeight、maxWidth、minHeight、minWidth、opaqueInsets、padding、prefHeight、prefWidth、scaleShape、shape、snapToPixel、width
needsLayout
accessibleHelp、accessibleRoleDescription、accessibleRole、accessibleText、blendMode、boundsInLocal、boundsInParent、cacheHint、cache、clip、cursor、depthTest、disabled、disable、effectiveNodeOrientation、effect、eventDispatcher、focused、focusTraversable、hover、id、inputMethodRequests、layoutBounds、layoutX、layoutY、localToParentTransform、localToSceneTransform、managed、mouseTransparent、nodeOrientation、onContextMenuRequested、onDragDetected、onDragDone、onDragDropped、onDragEntered、onDragExited、onDragOver、onInputMethodTextChanged、onKeyPressed、onKeyReleased、onKeyTyped、onMouseClicked、onMouseDragEntered、onMouseDragExited、onMouseDragged、onMouseDragOver、onMouseDragReleased、onMouseEntered、onMouseExited、onMouseMoved、onMousePressed、onMouseReleased、onRotate、onRotationFinished、onRotationStarted、onScrollFinished、onScroll、onScrollStarted、onSwipeDown、onSwipeLeft、onSwipeRight、onSwipeUp、onTouchMoved、onTouchPressed、onTouchReleased、onTouchStationary、onZoomFinished、onZoom、onZoomStarted、opacity、parent、pickOnBounds、pressed、rotate、rotationAxis、scaleX、scaleY、scaleZ、scene、style、translateX、translateY、translateZ、visible
修飾子と型 | フィールドと説明 |
---|---|
static EventType<Event> |
ON_HIDDEN
ComboBoxポップアップ/表示が非表示になったときに呼び出されます。
|
static EventType<Event> |
ON_HIDING
ComboBoxポップアップ/表示が非表示になると呼び出されます。
|
static EventType<Event> |
ON_SHOWING
ユーザーがComboBoxをクリックするか、または対話した後、ComboBoxがポップアップ/表示を表示する前に呼び出されます。
|
static EventType<Event> |
ON_SHOWN
ComboBoxがポップアップ/表示を表示した後に呼び出されます。
|
USE_COMPUTED_SIZE、USE_PREF_SIZE
BASELINE_OFFSET_SAME_AS_HEIGHT
コンストラクタと説明 |
---|
ComboBoxBase()
デフォルトのComboBoxBaseインスタンスを作成します。
|
修飾子と型 | メソッドと説明 |
---|---|
void |
arm()
ComboBoxを作動準備します。
|
BooleanProperty |
armedProperty()
マウスを放すとComboBox
show() メソッドが起動するように、ComboBoxが作動準備完了していることを示します。 |
void |
disarm()
ComboBoxの作動準備を解除します。
|
BooleanProperty |
editableProperty()
ComboBoxでユーザー入力を許可するかどうかを指定します。
|
void |
executeAccessibleAction(AccessibleAction action, Object... parameters)
このメソッドは、引数で指定されたアクションの実行をリクエストするためにアシスティブ・テクノロジによって呼び出されます。
|
EventHandler<ActionEvent> |
getOnAction()
プロパティonActionの値を取得します。
|
EventHandler<Event> |
getOnHidden()
プロパティonHiddenの値を取得します。
|
EventHandler<Event> |
getOnHiding()
プロパティonHidingの値を取得します。
|
EventHandler<Event> |
getOnShowing()
プロパティonShowingの値を取得します。
|
EventHandler<Event> |
getOnShown()
プロパティonShownの値を取得します。
|
String |
getPromptText()
プロパティpromptTextの値を取得します。
|
T |
getValue()
プロパティvalueの値を取得します。
|
void |
hide()
show() を呼び出したときに表示されたポップアップ/ダイアログを閉じます。 |
boolean |
isArmed()
プロパティarmedの値を取得します。
|
boolean |
isEditable()
プロパティeditableの値を取得します。
|
boolean |
isShowing()
プロパティshowingの値を取得します。
|
ObjectProperty<EventHandler<ActionEvent>> |
onActionProperty()
ComboBoxの
value プロパティが変更されると常に起動されるComboBoxアクション。 |
ObjectProperty<EventHandler<Event>> |
onHiddenProperty()
ComboBoxBase ポップアップ/表示が非表示になった直後に呼び出されます。 |
ObjectProperty<EventHandler<Event>> |
onHidingProperty()
ComboBox ポップアップ/表示が非表示になる直前に呼び出されます。 |
ObjectProperty<EventHandler<Event>> |
onShowingProperty()
ComboBoxBase ポップアップ/表示が表示される直前に呼び出されます。 |
ObjectProperty<EventHandler<Event>> |
onShownProperty()
ComboBoxBase ポップアップ/表示が表示される直後に呼び出されます。 |
StringProperty |
promptTextProperty()
表示する
ComboBox プロンプト・テキスト、またはプロンプト・テキストを表示しない場合はnull。 |
Object |
queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)
*アクセシビリティ処理* *
|
void |
setEditable(boolean value)
プロパティeditableの値を設定します。
|
void |
setOnAction(EventHandler<ActionEvent> value)
プロパティonActionの値を設定します。
|
void |
setOnHidden(EventHandler<Event> value)
プロパティonHiddenの値を設定します。
|
void |
setOnHiding(EventHandler<Event> value)
プロパティonHidingの値を設定します。
|
void |
setOnShowing(EventHandler<Event> value)
プロパティonShowingの値を設定します。
|
void |
setOnShown(EventHandler<Event> value)
プロパティonShownの値を設定します。
|
void |
setPromptText(String value)
プロパティpromptTextの値を設定します。
|
void |
setValue(T value)
プロパティvalueの値を設定します。
|
void |
show()
ComboBoxにユーザー・インタフェースのポップアップ要素を表示するようにリクエストします。
|
ReadOnlyBooleanProperty |
showingProperty()
ComboBoxポップアップの現在の状態および現在画面に表示されているかどうか(ただし、他のウィンドウの後ろに隠れている可能性があります)を表します。
|
ObjectProperty<T> |
valueProperty()
このComboBoxの値は、入力が編集可能でない場合は選択項目として、編集可能な場合は最近のユーザー・アクション(ユーザーが入力した値または最後の選択項目)として定義されます。
|
computeMaxHeight、computeMaxWidth、computeMinHeight、computeMinWidth、computePrefHeight、computePrefWidth、contextMenuProperty、createDefaultSkin、getBaselineOffset、getClassCssMetaData、getContextMenu、getControlCssMetaData、getCssMetaData、getSkin、getTooltip、isResizable、layoutChildren、setContextMenu、setSkin、setTooltip、skinProperty、tooltipProperty
backgroundProperty、borderProperty、cacheShapeProperty、centerShapeProperty、getBackground、getBorder、getHeight、getInsets、getMaxHeight、getMaxWidth、getMinHeight、getMinWidth、getOpaqueInsets、getPadding、getPrefHeight、getPrefWidth、getShape、getUserAgentStylesheet、getWidth、heightProperty、insetsProperty、isCacheShape、isCenterShape、isScaleShape、isSnapToPixel、layoutInArea、layoutInArea、layoutInArea、layoutInArea、maxHeight、maxHeightProperty、maxWidth、maxWidthProperty、minHeight、minHeightProperty、minWidth、minWidthProperty、opaqueInsetsProperty、paddingProperty、positionInArea、positionInArea、prefHeight、prefHeightProperty、prefWidth、prefWidthProperty、resize、scaleShapeProperty、setBackground、setBorder、setCacheShape、setCenterShape、setHeight、setMaxHeight、setMaxSize、setMaxWidth、setMinHeight、setMinSize、setMinWidth、setOpaqueInsets、setPadding、setPrefHeight、setPrefSize、setPrefWidth、setScaleShape、setShape、setSnapToPixel、setWidth、shapeProperty、snappedBottomInset、snappedLeftInset、snappedRightInset、snappedTopInset、snapPosition、snapSize、snapSpace、snapToPixelProperty、widthProperty
getChildren、getChildrenUnmodifiable、getManagedChildren、getStylesheets、isNeedsLayout、layout、lookup、needsLayoutProperty、requestLayout、requestParentLayout、setNeedsLayout、updateBounds
accessibleHelpProperty、accessibleRoleDescriptionProperty、accessibleRoleProperty、accessibleTextProperty、addEventFilter、addEventHandler、applyCss、autosize、blendModeProperty、boundsInLocalProperty、boundsInParentProperty、buildEventDispatchChain、cacheHintProperty、cacheProperty、clipProperty、computeAreaInScreen、contains、contains、cursorProperty、depthTestProperty、disabledProperty、disableProperty、effectiveNodeOrientationProperty、effectProperty、eventDispatcherProperty、fireEvent、focusedProperty、focusTraversableProperty、getAccessibleHelp、getAccessibleRole、getAccessibleRoleDescription、getAccessibleText、getBlendMode、getBoundsInLocal、getBoundsInParent、getCacheHint、getClip、getContentBias、getCursor、getDepthTest、getEffect、getEffectiveNodeOrientation、getEventDispatcher、getId、getInputMethodRequests、getLayoutBounds、getLayoutX、getLayoutY、getLocalToParentTransform、getLocalToSceneTransform、getNodeOrientation、getOnContextMenuRequested、getOnDragDetected、getOnDragDone、getOnDragDropped、getOnDragEntered、getOnDragExited、getOnDragOver、getOnInputMethodTextChanged、getOnKeyPressed、getOnKeyReleased、getOnKeyTyped、getOnMouseClicked、getOnMouseDragEntered、getOnMouseDragExited、getOnMouseDragged、getOnMouseDragOver、getOnMouseDragReleased、getOnMouseEntered、getOnMouseExited、getOnMouseMoved、getOnMousePressed、getOnMouseReleased、getOnRotate、getOnRotationFinished、getOnRotationStarted、getOnScroll、getOnScrollFinished、getOnScrollStarted、getOnSwipeDown、getOnSwipeLeft、getOnSwipeRight、getOnSwipeUp、getOnTouchMoved、getOnTouchPressed、getOnTouchReleased、getOnTouchStationary、getOnZoom、getOnZoomFinished、getOnZoomStarted、getOpacity、getParent、getProperties、getPseudoClassStates、getRotate、getRotationAxis、getScaleX、getScaleY、getScaleZ、getScene、getStyle、getStyleableParent、getStyleClass、getTransforms、getTranslateX、getTranslateY、getTranslateZ、getTypeSelector、getUserData、hasProperties、hoverProperty、idProperty、inputMethodRequestsProperty、intersects、intersects、isCache、isDisable、isDisabled、isFocused、isFocusTraversable、isHover、isManaged、isMouseTransparent、isPickOnBounds、isPressed、isVisible、layoutBoundsProperty、layoutXProperty、layoutYProperty、localToParent、localToParent、localToParent、localToParent、localToParent、localToParentTransformProperty、localToScene、localToScene、localToScene、localToScene、localToScene、localToScene、localToScene、localToScene、localToScene、localToScene、localToSceneTransformProperty、localToScreen、localToScreen、localToScreen、localToScreen、localToScreen、lookupAll、managedProperty、mouseTransparentProperty、nodeOrientationProperty、notifyAccessibleAttributeChanged、onContextMenuRequestedProperty、onDragDetectedProperty、onDragDoneProperty、onDragDroppedProperty、onDragEnteredProperty、onDragExitedProperty、onDragOverProperty、onInputMethodTextChangedProperty、onKeyPressedProperty、onKeyReleasedProperty、onKeyTypedProperty、onMouseClickedProperty、onMouseDragEnteredProperty、onMouseDragExitedProperty、onMouseDraggedProperty、onMouseDragOverProperty、onMouseDragReleasedProperty、onMouseEnteredProperty、onMouseExitedProperty、onMouseMovedProperty、onMousePressedProperty、onMouseReleasedProperty、onRotateProperty、onRotationFinishedProperty、onRotationStartedProperty、onScrollFinishedProperty、onScrollProperty、onScrollStartedProperty、onSwipeDownProperty、onSwipeLeftProperty、onSwipeRightProperty、onSwipeUpProperty、onTouchMovedProperty、onTouchPressedProperty、onTouchReleasedProperty、onTouchStationaryProperty、onZoomFinishedProperty、onZoomProperty、onZoomStartedProperty、opacityProperty、parentProperty、parentToLocal、parentToLocal、parentToLocal、parentToLocal、parentToLocal、pickOnBoundsProperty、pressedProperty、pseudoClassStateChanged、relocate、removeEventFilter、removeEventHandler、requestFocus、resizeRelocate、rotateProperty、rotationAxisProperty、scaleXProperty、scaleYProperty、scaleZProperty、sceneProperty、sceneToLocal、sceneToLocal、sceneToLocal、sceneToLocal、sceneToLocal、sceneToLocal、sceneToLocal、sceneToLocal、screenToLocal、screenToLocal、screenToLocal、setAccessibleHelp、setAccessibleRole、setAccessibleRoleDescription、setAccessibleText、setBlendMode、setCache、setCacheHint、setClip、setCursor、setDepthTest、setDisable、setDisabled、setEffect、setEventDispatcher、setEventHandler、setFocused、setFocusTraversable、setHover、setId、setInputMethodRequests、setLayoutX、setLayoutY、setManaged、setMouseTransparent、setNodeOrientation、setOnContextMenuRequested、setOnDragDetected、setOnDragDone、setOnDragDropped、setOnDragEntered、setOnDragExited、setOnDragOver、setOnInputMethodTextChanged、setOnKeyPressed、setOnKeyReleased、setOnKeyTyped、setOnMouseClicked、setOnMouseDragEntered、setOnMouseDragExited、setOnMouseDragged、setOnMouseDragOver、setOnMouseDragReleased、setOnMouseEntered、setOnMouseExited、setOnMouseMoved、setOnMousePressed、setOnMouseReleased、setOnRotate、setOnRotationFinished、setOnRotationStarted、setOnScroll、setOnScrollFinished、setOnScrollStarted、setOnSwipeDown、setOnSwipeLeft、setOnSwipeRight、setOnSwipeUp、setOnTouchMoved、setOnTouchPressed、setOnTouchReleased、setOnTouchStationary、setOnZoom、setOnZoomFinished、setOnZoomStarted、setOpacity、setPickOnBounds、setPressed、setRotate、setRotationAxis、setScaleX、setScaleY、setScaleZ、setStyle、setTranslateX、setTranslateY、setTranslateZ、setUserData、setVisible、snapshot、snapshot、startDragAndDrop、startFullDrag、styleProperty、toBack、toFront、toString、translateXProperty、translateYProperty、translateZProperty、usesMirroring、visibleProperty
public ObjectProperty<T> valueProperty
getValue()
、setValue(T)
public BooleanProperty editableProperty
value
プロパティを介して使用できます。
editableプロパティを変更すると、valueプロパティがその他の関連する状態とともにリセットされることに注意してください。
public ReadOnlyBooleanProperty showingProperty
isShowing()
public final StringProperty promptTextProperty
ComboBox
プロンプト・テキスト、またはプロンプト・テキストを表示しない場合はnull。プロンプト・テキストは、どのような状況でも表示されるわけではなく、いつpromptTextが表示されるかを明確にするComboBoxBaseのサブクラスに依存します。たとえば、ほとんどの場合、コンボ・ボックスが編集不可のときにプロンプト・テキストが表示されることはありません(つまり、プロンプト・テキストは、ユーザー入力がテキスト入力によって許可されているときにのみ表示されます)。public BooleanProperty armedProperty
show()
メソッドが起動するように、ComboBoxが作動準備完了していることを示します。これは、押下とは微妙に異なります。押下は、ノード上でマウスが押され、まだ放されていないことを示します。一方、arm
では、マウスが実際にComboBox上に置かれて押されているかどうかも考慮されます。isArmed()
public final ObjectProperty<EventHandler<ActionEvent>> onActionProperty
public final ObjectProperty<EventHandler<Event>> onShowingProperty
ComboBoxBase
ポップアップ/表示が表示される直前に呼び出されます。getOnShowing()
、setOnShowing(EventHandler)
public final ObjectProperty<EventHandler<Event>> onShownProperty
ComboBoxBase
ポップアップ/表示が表示される直後に呼び出されます。getOnShown()
、setOnShown(EventHandler)
public final ObjectProperty<EventHandler<Event>> onHidingProperty
ComboBox
ポップアップ/表示が非表示になる直前に呼び出されます。getOnHiding()
、setOnHiding(EventHandler)
public final ObjectProperty<EventHandler<Event>> onHiddenProperty
ComboBoxBase
ポップアップ/表示が非表示になった直後に呼び出されます。getOnHidden()
、setOnHidden(EventHandler)
public static final EventType<Event> ON_SHOWING
ユーザーがComboBoxをクリックするか、または対話した後、ComboBoxがポップアップ/表示を表示する前に呼び出されます。
public static final EventType<Event> ON_SHOWN
ComboBoxがポップアップ/表示を表示した後に呼び出されます。
public static final EventType<Event> ON_HIDING
ComboBoxポップアップ/表示が非表示になると呼び出されます。
public ObjectProperty<T> valueProperty()
getValue()
、setValue(T)
public final void setValue(T value)
public final T getValue()
public BooleanProperty editableProperty()
value
プロパティを介して使用できます。
editableプロパティを変更すると、valueプロパティがその他の関連する状態とともにリセットされることに注意してください。
public final void setEditable(boolean value)
value
プロパティを介して使用できます。
editableプロパティを変更すると、valueプロパティがその他の関連する状態とともにリセットされることに注意してください。
public final boolean isEditable()
value
プロパティを介して使用できます。
editableプロパティを変更すると、valueプロパティがその他の関連する状態とともにリセットされることに注意してください。
public ReadOnlyBooleanProperty showingProperty()
isShowing()
public final boolean isShowing()
public final StringProperty promptTextProperty()
ComboBox
プロンプト・テキスト、またはプロンプト・テキストを表示しない場合はnull。プロンプト・テキストは、どのような状況でも表示されるわけではなく、いつpromptTextが表示されるかを明確にするComboBoxBaseのサブクラスに依存します。たとえば、ほとんどの場合、コンボ・ボックスが編集不可のときにプロンプト・テキストが表示されることはありません(つまり、プロンプト・テキストは、ユーザー入力がテキスト入力によって許可されているときにのみ表示されます)。public final String getPromptText()
ComboBox
プロンプト・テキスト、またはプロンプト・テキストを表示しない場合はnull。プロンプト・テキストは、どのような状況でも表示されるわけではなく、いつpromptTextが表示されるかを明確にするComboBoxBaseのサブクラスに依存します。たとえば、ほとんどの場合、コンボ・ボックスが編集不可のときにプロンプト・テキストが表示されることはありません(つまり、プロンプト・テキストは、ユーザー入力がテキスト入力によって許可されているときにのみ表示されます)。public final void setPromptText(String value)
ComboBox
プロンプト・テキスト、またはプロンプト・テキストを表示しない場合はnull。プロンプト・テキストは、どのような状況でも表示されるわけではなく、いつpromptTextが表示されるかを明確にするComboBoxBaseのサブクラスに依存します。たとえば、ほとんどの場合、コンボ・ボックスが編集不可のときにプロンプト・テキストが表示されることはありません(つまり、プロンプト・テキストは、ユーザー入力がテキスト入力によって許可されているときにのみ表示されます)。public BooleanProperty armedProperty()
show()
メソッドが起動するように、ComboBoxが作動準備完了していることを示します。これは、押下とは微妙に異なります。押下は、ノード上でマウスが押され、まだ放されていないことを示します。一方、arm
では、マウスが実際にComboBox上に置かれて押されているかどうかも考慮されます。isArmed()
public final boolean isArmed()
show()
メソッドが起動するように、ComboBoxが作動準備完了していることを示します。これは、押下とは微妙に異なります。押下は、ノード上でマウスが押され、まだ放されていないことを示します。一方、arm
では、マウスが実際にComboBox上に置かれて押されているかどうかも考慮されます。public final ObjectProperty<EventHandler<ActionEvent>> onActionProperty()
public final void setOnAction(EventHandler<ActionEvent> value)
public final EventHandler<ActionEvent> getOnAction()
public final ObjectProperty<EventHandler<Event>> onShowingProperty()
ComboBoxBase
ポップアップ/表示が表示される直前に呼び出されます。getOnShowing()
、setOnShowing(EventHandler)
public final void setOnShowing(EventHandler<Event> value)
ComboBoxBase
ポップアップ/表示が表示される直前に呼び出されます。public final EventHandler<Event> getOnShowing()
ComboBoxBase
ポップアップ/表示が表示される直前に呼び出されます。public final ObjectProperty<EventHandler<Event>> onShownProperty()
ComboBoxBase
ポップアップ/表示が表示される直後に呼び出されます。getOnShown()
、setOnShown(EventHandler)
public final void setOnShown(EventHandler<Event> value)
ComboBoxBase
ポップアップ/表示が表示される直後に呼び出されます。public final EventHandler<Event> getOnShown()
ComboBoxBase
ポップアップ/表示が表示される直後に呼び出されます。public final ObjectProperty<EventHandler<Event>> onHidingProperty()
ComboBox
ポップアップ/表示が非表示になる直前に呼び出されます。getOnHiding()
、setOnHiding(EventHandler)
public final void setOnHiding(EventHandler<Event> value)
ComboBox
ポップアップ/表示が非表示になる直前に呼び出されます。public final EventHandler<Event> getOnHiding()
ComboBox
ポップアップ/表示が非表示になる直前に呼び出されます。public final ObjectProperty<EventHandler<Event>> onHiddenProperty()
ComboBoxBase
ポップアップ/表示が非表示になった直後に呼び出されます。getOnHidden()
、setOnHidden(EventHandler)
public final void setOnHidden(EventHandler<Event> value)
ComboBoxBase
ポップアップ/表示が非表示になった直後に呼び出されます。public final EventHandler<Event> getOnHidden()
ComboBoxBase
ポップアップ/表示が非表示になった直後に呼び出されます。public void show()
ComboBoxBase
クラスのjavadocで説明しているように、このメソッドを呼び出したときに実際に何が表示されるかは未定義ですが、一般的にはなんらかの形式のポップアップまたはダイアログ・ウィンドウになります。public void hide()
show()
を呼び出したときに表示されたポップアップ/ダイアログを閉じます。public void arm()
public void disarm()
arm()
を参照してください。public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)
queryAccessibleAttribute
、クラス: Control
attribute
- リクエストされた属性parameters
- オプションのパラメータ・リストAccessibleAttribute
public void executeAccessibleAction(AccessibleAction action, Object... parameters)
Node
このメソッドは一般に、特定の役割に必要なアクションを実装するためにサブクラスによってオーバーライドされます。
特定のアクションが処理されない場合、スーパー・クラス実装を呼び出す必要があります。
executeAccessibleAction
、クラス: Control
action
- 実行するアクションparameters
- オプションのパラメータ・リスト「AccessibleAction」
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.