c

scala.swing

PasswordField

class PasswordField extends TextField

A password field, that displays a replacement character for each character in the password.

See also

javax.swing.JPasswordField

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PasswordField
  2. TextField
  3. Wrapper
  4. Trigger
  5. HasColumns
  6. TextComponent
  7. Component
  8. UIElement
  9. LazyPublisher
  10. Publisher
  11. Reactor
  12. Proxy
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PasswordField()
  2. new PasswordField(columns: Int)
  3. new PasswordField(text: String)
  4. new PasswordField(text0: String, columns0: Int)

Type Members

  1. class Caret extends Publisher
    Definition Classes
    TextComponent

Value Members

  1. object keys extends Publisher
    Definition Classes
    Component
  2. object mouse

    Contains publishers for various mouse events.

    Contains publishers for various mouse events. They are separated for efficiency reasons.

    Definition Classes
    Component
  3. def action: Action
    Definition Classes
    WrapperTrigger
  4. def action_=(a: Action): Unit
    Definition Classes
    WrapperTrigger
  5. def background: Color
    Definition Classes
    UIElement
  6. def background_=(c: Color): Unit
    Definition Classes
    UIElement
  7. def border: Border
    Definition Classes
    Component
  8. def border_=(b: Border): Unit
    Definition Classes
    Component
  9. def bounds: Rectangle
    Definition Classes
    UIElement
  10. def columns: Int
    Definition Classes
    TextFieldHasColumns
  11. def columns_=(n: Int): Unit
    Definition Classes
    TextFieldHasColumns
  12. def componentOrientation: ComponentOrientation
    Definition Classes
    UIElement
  13. def componentOrientation_=(x: ComponentOrientation): Unit
    Definition Classes
    UIElement
  14. def copy(): Unit
    Definition Classes
    TextComponent
  15. def cursor: Cursor
    Definition Classes
    UIElement
  16. def cursor_=(c: Cursor): Unit
    Definition Classes
    UIElement
  17. def cut(): Unit
    Definition Classes
    TextComponent
  18. def deafTo(ps: Publisher*): Unit

    Installed reaction won't receive events from the given publisher anylonger.

    Installed reaction won't receive events from the given publisher anylonger.

    Definition Classes
    Reactor
  19. def displayable: Boolean
    Definition Classes
    UIElement
  20. def echoChar: Char
  21. def echoChar_=(c: Char): Unit
  22. def editable: Boolean
    Definition Classes
    TextComponent
  23. def editable_=(x: Boolean): Unit
    Definition Classes
    TextComponent
  24. def enabled: Boolean
    Definition Classes
    Component
  25. def enabled_=(b: Boolean): Unit
    Definition Classes
    Component
  26. def equals(that: Any): Boolean
    Definition Classes
    Proxy → Any
  27. def focusable: Boolean
    Definition Classes
    Component
  28. def focusable_=(b: Boolean): Unit
    Definition Classes
    Component
  29. def font: Font
    Definition Classes
    UIElement
  30. def font_=(f: Font): Unit
    Definition Classes
    UIElement
  31. def foreground: Color
    Definition Classes
    UIElement
  32. def foreground_=(c: Color): Unit
    Definition Classes
    UIElement
  33. def hasFocus: Boolean
    Definition Classes
    Component
  34. def hashCode(): Int
    Definition Classes
    Proxy → Any
  35. def horizontalAlignment: Alignment.Value

    Definition Classes
    TextField
    See also

    javax.swing.JTextField#getHorizontalAlignment()

  36. def horizontalAlignment_=(x: Alignment.Value): Unit

    Definition Classes
    TextField
    See also

    javax.swing.JTextField#setHorizontalAlignment()

  37. def ignoreRepaint: Boolean
    Definition Classes
    UIElement
  38. def ignoreRepaint_=(b: Boolean): Unit
    Definition Classes
    UIElement
  39. var initP: JComponent
    Definition Classes
    Component
  40. def inputVerifier: (Component) ⇒ Boolean
    Definition Classes
    Component
  41. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit
    Definition Classes
    Component
  42. def listenTo(ps: Publisher*): Unit

    Listen to the given publisher as long as deafTo isn't called for them.

    Listen to the given publisher as long as deafTo isn't called for them.

    Definition Classes
    Reactor
  43. def locale: Locale
    Definition Classes
    UIElement
  44. def location: Point
    Definition Classes
    UIElement
  45. def locationOnScreen: Point
    Definition Classes
    UIElement
  46. def maximumSize: Dimension
    Definition Classes
    UIElement
  47. def maximumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  48. def minimumSize: Dimension
    Definition Classes
    UIElement
  49. def minimumSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  50. def name: String
    Definition Classes
    Component
  51. def name_=(s: String): Unit
    Definition Classes
    Component
  52. def opaque: Boolean
    Definition Classes
    Component
  53. def opaque_=(b: Boolean): Unit
    Definition Classes
    Component
  54. def paint(g: Graphics2D): Unit
    Definition Classes
    Component
  55. def password: Array[Char]
  56. def paste(): Unit
    Definition Classes
    TextComponent
  57. lazy val peer: JPasswordField

    The underlying Swing peer.

    The underlying Swing peer.

    Definition Classes
    PasswordFieldTextFieldWrapperTextComponentComponentUIElement
  58. def preferredSize: Dimension
    Definition Classes
    UIElement
  59. def preferredSize_=(x: Dimension): Unit
    Definition Classes
    UIElement
  60. def publish(e: Event): Unit

    Notify all registered reactions.

    Notify all registered reactions.

    Definition Classes
    Publisher
  61. val reactions: Reactions

    All reactions of this reactor.

    All reactions of this reactor.

    Definition Classes
    Reactor
  62. def repaint(rect: Rectangle): Unit
    Definition Classes
    UIElement
  63. def repaint(): Unit
    Definition Classes
    UIElement
  64. def requestFocus(): Unit
    Definition Classes
    Component
  65. def requestFocusInWindow(): Boolean
    Definition Classes
    Component
  66. def revalidate(): Unit
    Definition Classes
    Component
  67. def selectAll(): Unit
    Definition Classes
    TextComponent
  68. def selected: String
    Definition Classes
    TextComponent
  69. def self: java.awt.Component
    Definition Classes
    UIElement → Proxy
  70. def shouldYieldFocus: (String) ⇒ Boolean
    Definition Classes
    TextField
  71. def shouldYieldFocus_=(y: (String) ⇒ Boolean): Unit
    Definition Classes
    TextField
  72. def showing: Boolean
    Definition Classes
    UIElement
  73. def size: Dimension
    Definition Classes
    UIElement
  74. def subscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  75. def text: String

    The text property should not be used on a password field for security reasons.

    The text property should not be used on a password field for security reasons.

    Definition Classes
    PasswordFieldTextComponent
  76. def text_=(s: String): Unit
    Definition Classes
    PasswordFieldTextComponent
  77. def toString(): String
    Definition Classes
    Component → Proxy → AnyRef → Any
  78. def toolkit: Toolkit
    Definition Classes
    UIElement
  79. def tooltip: String
    Definition Classes
    Component
  80. def tooltip_=(t: String): Unit
    Definition Classes
    Component
  81. def unsubscribe(listener: Reaction): Unit
    Definition Classes
    LazyPublisher → Publisher
  82. def validate(): Unit
    Definition Classes
    UIElement
  83. def verifier: (String) ⇒ Boolean
    Definition Classes
    TextField
  84. def verifier_=(v: (String) ⇒ Boolean): Unit
    Definition Classes
    TextField
  85. def visible: Boolean
    Definition Classes
    UIElement
  86. def visible_=(b: Boolean): Unit
    Definition Classes
    UIElement
  87. def xLayoutAlignment: Double

    Used by certain layout managers, e.g., BoxLayout or OverlayLayout to align components relative to each other.

    Used by certain layout managers, e.g., BoxLayout or OverlayLayout to align components relative to each other.

    Definition Classes
    Component
  88. def xLayoutAlignment_=(x: Double): Unit
    Definition Classes
    Component
  89. def yLayoutAlignment: Double
    Definition Classes
    Component
  90. def yLayoutAlignment_=(y: Double): Unit
    Definition Classes
    Component
  91. object caret extends Caret
    Definition Classes
    TextComponent