...
Generated Object
A javax.swing.JPasswordField JPopupMenu is returned, unless the user passes in a subclass of JPasswordField JPopupMenu as the value argument, in which case the value argument is returned.
Attributes
Declared in javax.swing.
...
- echoChar <char> character to display in place of the real characters
- password <char[]>
Declared in javax.swing.JTextField
- action <Action> the Action instance connected with this ActionEvent source
- columns <int> the number of columns preferred for display
- horizontalAlignment <int> Set the field alignment to LEFT, CENTER, RIGHT, LEADING (the default) or TRAILING
- horizontalVisibility <BoundedRangeModel>
- scrollOffset <int>
Declared in javax.swing.text.JTextComponent
- caret <Caret> the caret used to select/navigate
- caretColor <Color> the color used to render the caret
- caretPosition <int> the caret position
- disabledTextColor <Color> color used to render disabled text
- document <Document> the text document model
- dragEnabled <boolean> determines whether automatic drag handling is enabled
- editable <boolean> specifies if the text can be edited
- focusAccelerator <char> accelerator character used to grab focus
- highlighter <Highlighter> object responsible for background highlights
- keymap <Keymap> set of key event to action bindings to use
- margin <Insets> desired space between the border and text area
- selectedTextColor <Color> color used to render selected text
- selectionColor <Color> color used to render selection background
- selectionEnd <int> ending location of the selection.
- selectionStart <int> starting location of the selection.
- text <String> the text of this component
- UI <TextUI>
- inputMethodRequests <InputMethodRequests>
- navigationFilter <NavigationFilter>
- preferredScrollableViewportSize <Dimension>
- scrollableTracksViewportHeight <boolean>
- scrollableTracksViewportWidth <boolean>
- selectedText <String>
JPopupMenu
- UI <PopupMenuUI> The UI object that implements the Component's LookAndFeel.
- borderPainted <boolean> Is the border of the popup menu painted
- invoker <Component> The invoking component for the popup menu
- label <String> The label for the popup menu.
- lightWeightPopupEnabled <boolean> Determines whether lightweight popups are used when possible
- selectionModel <SingleSelectionModel> The selection model for the popup menu
- margin <Insets>
- subElements <MenuElement[]>
Declared in javax.swing.JComponent
...
- background <Color>
- enabled <boolean>
- focusable <boolean>
- font <Font>
- foreground <Color>
- name <String>
- visible <boolean>
Events
Declared in javax.swing.
...
JPopupMenu
- actionPerformed menuKeyPressed (ActionEventMenuKeyEvent) - part of ActionListener
Declared in javax.swing.text.JTextComponent
- caretUpdate (CaretEventMenuKeyListener
- menuKeyReleased (MenuKeyEvent) - part of MenuKeyListener
- menuKeyTyped (MenuKeyEvent) - part of CaretListenerMenuKeyListener
- popupMenuCanceled (PopupMenuEvent) - part of PopupMenuListener
- popupMenuWillBecomeInvisible (PopupMenuEvent) - part of PopupMenuListener
- popupMenuWillBecomeVisible (PopupMenuEvent) - part of PopupMenuListener
Declared in javax.swing.JComponent
...
Examples
Observable Attributes
- actionUI
- alignmentX
- alignmentY
- background
- border
- caret
- caretColor
- component
- componentCount
- componentPopupMenu
- components
- containerListeners
- disabledTextColor
- document
- editable
- enabled
- focusAccelerator
- focusCycleRoot
- focusTraversalKeys
- focusTraversalPolicy
- focusTraversalPolicyProvider
- focusTraversalPolicySet
- focusable
- font
- foreground
- highlighter
- horizontalAlignment
- inheritsPopupMenu
- inputVerifier
- insets
- keymaplabel
- layout
- margin
- maximumSize
- minimumSize
- opaque
- preferredSize
- selectedTextColor
- selectionColor
- transferHandler
- verifyInputWhenFocusTarget
- visible