JNumericTextField

class JNumericTextField(length: Int, min: Int, max: Int) extends JFormattedTextField

A JTextField that accept only integers between a min and a max.

Value parameters:
length

the length of the field

max

the maximum number accepted

min

the minimum number accepted

class JFormattedTextField
class JTextField
trait SwingConstants
class JTextComponent
trait Accessible
trait Scrollable
class JComponent
trait HasGetTransferHandler
class Container
class Component
trait Serializable
trait MenuContainer
trait ImageObserver
class Object
trait Matchable
class Any

Type members

Inherited classlikes

abstract class AccessibleJComponent
Inherited from:
JComponent
Inherited from:
JComponent

Value members

Inherited methods

def add(x$0: Component, x$1: <FromJavaObject>, x$2: Int): Unit
Inherited from:
Container
def add(x$0: Component, x$1: <FromJavaObject>): Unit
Inherited from:
Container
def add(x$0: Component, x$1: Int): Component
Inherited from:
Container
def add(x$0: String, x$1: Component): Component
Inherited from:
Container
def add(x$0: Component): Component
Inherited from:
Container
def add(x$0: PopupMenu): Unit
Inherited from:
Component
def addActionListener(x$0: ActionListener): Unit
Inherited from:
JTextField
def addAncestorListener(x$0: AncestorListener): Unit
Inherited from:
JComponent
def addCaretListener(x$0: CaretListener): Unit
Inherited from:
JTextComponent
def addComponentListener(x$0: ComponentListener): Unit
Inherited from:
Component
def addContainerListener(x$0: ContainerListener): Unit
Inherited from:
Container
def addFocusListener(x$0: FocusListener): Unit
Inherited from:
Component
def addHierarchyBoundsListener(x$0: HierarchyBoundsListener): Unit
Inherited from:
Component
def addHierarchyListener(x$0: HierarchyListener): Unit
Inherited from:
Component
def addInputMethodListener(x$0: InputMethodListener): Unit
Inherited from:
JTextComponent
def addKeyListener(x$0: KeyListener): Unit
Inherited from:
Component
def addMouseListener(x$0: MouseListener): Unit
Inherited from:
Component
def addMouseMotionListener(x$0: MouseMotionListener): Unit
Inherited from:
Component
def addMouseWheelListener(x$0: MouseWheelListener): Unit
Inherited from:
Component
def addNotify(): Unit
Inherited from:
JComponent
def addPropertyChangeListener(x$0: String, x$1: PropertyChangeListener): Unit
Inherited from:
Container
def addPropertyChangeListener(x$0: PropertyChangeListener): Unit
Inherited from:
Container
def addVetoableChangeListener(x$0: VetoableChangeListener): Unit
Inherited from:
JComponent
def applyComponentOrientation(x$0: ComponentOrientation): Unit
Inherited from:
Container
def areFocusTraversalKeysSet(x$0: Int): Boolean
Inherited from:
Container
def checkImage(x$0: Image, x$1: Int, x$2: Int, x$3: ImageObserver): Int
Inherited from:
Component
def checkImage(x$0: Image, x$1: ImageObserver): Int
Inherited from:
Component
@throws(java.text.ParseException)
def commitEdit(): Unit
Inherited from:
JFormattedTextField
def computeVisibleRect(x$0: Rectangle): Unit
Inherited from:
JComponent
def contains(x$0: Int, x$1: Int): Boolean
Inherited from:
JComponent
def contains(x$0: Point): Boolean
Inherited from:
Component
def copy(): Unit
Inherited from:
JTextComponent
def createImage(x$0: Int, x$1: Int): Image
Inherited from:
Component
def createImage(x$0: ImageProducer): Image
Inherited from:
Component
def createToolTip(): JToolTip
Inherited from:
JComponent
@throws(java.awt.AWTException)
def createVolatileImage(x$0: Int, x$1: Int, x$2: ImageCapabilities): VolatileImage
Inherited from:
Component
def createVolatileImage(x$0: Int, x$1: Int): VolatileImage
Inherited from:
Component
def cut(): Unit
Inherited from:
JTextComponent
final def dispatchEvent(x$0: AWTEvent): Unit
Inherited from:
Component
def doLayout(): Unit
Inherited from:
Container
def enableInputMethods(x$0: Boolean): Unit
Inherited from:
Component
def findComponentAt(x$0: Point): Component
Inherited from:
Container
def findComponentAt(x$0: Int, x$1: Int): Component
Inherited from:
Container
def firePropertyChange(x$0: String, x$1: Char, x$2: Char): Unit
Inherited from:
JComponent
def firePropertyChange(x$0: String, x$1: Int, x$2: Int): Unit
Inherited from:
JComponent
def firePropertyChange(x$0: String, x$1: Boolean, x$2: Boolean): Unit
Inherited from:
JComponent
def firePropertyChange(x$0: String, x$1: Double, x$2: Double): Unit
Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Float, x$2: Float): Unit
Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Long, x$2: Long): Unit
Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Short, x$2: Short): Unit
Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Byte, x$2: Byte): Unit
Inherited from:
Component
@BeanProperty(bound = false)
def getAccessibleContext(): AccessibleContext
Inherited from:
JTextField
def getAction(): Action
Inherited from:
JTextField
def getActionForKeyStroke(x$0: KeyStroke): ActionListener
Inherited from:
JComponent
@BeanProperty(bound = false)
def getActionListeners(): Array[ActionListener]
Inherited from:
JTextField
final def getActionMap(): ActionMap
Inherited from:
JComponent
@BeanProperty(bound = false)
def getActions(): Array[Action]
Inherited from:
JFormattedTextField
def getAlignmentX(): Float
Inherited from:
JComponent
def getAlignmentY(): Float
Inherited from:
JComponent
@BeanProperty(bound = false)
def getAncestorListeners(): Array[AncestorListener]
Inherited from:
JComponent
def getAutoscrolls(): Boolean
Inherited from:
JComponent
@Transient
def getBackground(): Color
Inherited from:
Component
def getBaseline(x$0: Int, x$1: Int): Int
Inherited from:
JComponent
@BeanProperty(bound = false)
def getBaselineResizeBehavior(): BaselineResizeBehavior
Inherited from:
JComponent
def getBorder(): Border
Inherited from:
JComponent
def getBounds(x$0: Rectangle): Rectangle
Inherited from:
JComponent
def getBounds(): Rectangle
Inherited from:
Component
@Transient
def getCaret(): Caret
Inherited from:
JTextComponent
def getCaretColor(): Color
Inherited from:
JTextComponent
@BeanProperty(bound = false)
def getCaretListeners(): Array[CaretListener]
Inherited from:
JTextComponent
@Transient
def getCaretPosition(): Int
Inherited from:
JTextComponent
final def getClientProperty(x$0: <FromJavaObject>): <FromJavaObject>
Inherited from:
JComponent
def getColorModel(): ColorModel
Inherited from:
Component
def getColumns(): Int
Inherited from:
JTextField
def getComponent(x$0: Int): Component
Inherited from:
Container
def getComponentAt(x$0: Point): Component
Inherited from:
Container
def getComponentAt(x$0: Int, x$1: Int): Component
Inherited from:
Container
Inherited from:
Container
def getComponentListeners(): Array[ComponentListener]
Inherited from:
Component
def getComponentOrientation(): ComponentOrientation
Inherited from:
Component
def getComponentPopupMenu(): JPopupMenu
Inherited from:
JComponent
def getComponentZOrder(x$0: Component): Int
Inherited from:
Container
def getComponents(): Array[Component]
Inherited from:
Container
def getConditionForKeyStroke(x$0: KeyStroke): Int
Inherited from:
JComponent
def getContainerListeners(): Array[ContainerListener]
Inherited from:
Container
def getCursor(): Cursor
Inherited from:
Component
Inherited from:
JComponent
Inherited from:
JTextComponent
def getDocument(): Document
Inherited from:
JTextComponent
def getDragEnabled(): Boolean
Inherited from:
JTextComponent
@BeanProperty(bound = false)
final def getDropLocation(): DropLocation
Inherited from:
JTextComponent
final def getDropMode(): DropMode
Inherited from:
JTextComponent
def getDropTarget(): DropTarget
Inherited from:
Component
Inherited from:
JTextComponent
def getFocusCycleRootAncestor(): Container
Inherited from:
Component
def getFocusListeners(): Array[FocusListener]
Inherited from:
Component
Inherited from:
JFormattedTextField
def getFocusTraversalKeys(x$0: Int): Set[AWTKeyStroke]
Inherited from:
Container
Inherited from:
Component
def getFocusTraversalPolicy(): FocusTraversalPolicy
Inherited from:
Container
@Transient
def getFont(): Font
Inherited from:
Component
def getFontMetrics(x$0: Font): FontMetrics
Inherited from:
JComponent
@Transient
def getForeground(): Color
Inherited from:
Component
@BeanProperty(visualUpdate = true, description = "TextFormatter, responsible for formatting the current value")
def getFormatter(): AbstractFormatter
Inherited from:
JFormattedTextField
def getFormatterFactory(): AbstractFormatterFactory
Inherited from:
JFormattedTextField
@BeanProperty(bound = false)
def getGraphics(): Graphics
Inherited from:
JComponent
def getGraphicsConfiguration(): GraphicsConfiguration
Inherited from:
Component
@BeanProperty(bound = false)
def getHeight(): Int
Inherited from:
JComponent
def getHierarchyBoundsListeners(): Array[HierarchyBoundsListener]
Inherited from:
Component
def getHierarchyListeners(): Array[HierarchyListener]
Inherited from:
Component
def getHighlighter(): Highlighter
Inherited from:
JTextComponent
Inherited from:
JTextField
@BeanProperty(bound = false)
def getHorizontalVisibility(): BoundedRangeModel
Inherited from:
JTextField
def getIgnoreRepaint(): Boolean
Inherited from:
Component
def getInheritsPopupMenu(): Boolean
Inherited from:
JComponent
def getInputContext(): InputContext
Inherited from:
Component
final def getInputMap(): InputMap
Inherited from:
JComponent
final def getInputMap(x$0: Int): InputMap
Inherited from:
JComponent
def getInputMethodListeners(): Array[InputMethodListener]
Inherited from:
Component
@BeanProperty(bound = false)
def getInputMethodRequests(): InputMethodRequests
Inherited from:
JTextComponent
def getInputVerifier(): InputVerifier
Inherited from:
JComponent
def getInsets(x$0: Insets): Insets
Inherited from:
JComponent
@BeanProperty(expert = true)
def getInsets(): Insets
Inherited from:
JComponent
def getKeyListeners(): Array[KeyListener]
Inherited from:
Component
def getKeymap(): Keymap
Inherited from:
JTextComponent
def getLayout(): LayoutManager
Inherited from:
Container
def getListeners[T <: EventListener](x$0: Class[T]): Array[T]
Inherited from:
JComponent
def getLocale(): Locale
Inherited from:
Component
def getLocation(x$0: Point): Point
Inherited from:
JComponent
def getLocation(): Point
Inherited from:
Component
def getLocationOnScreen(): Point
Inherited from:
Component
def getMargin(): Insets
Inherited from:
JTextComponent
@Transient
def getMaximumSize(): Dimension
Inherited from:
JComponent
@Transient
def getMinimumSize(): Dimension
Inherited from:
JComponent
def getMouseListeners(): Array[MouseListener]
Inherited from:
Component
def getMouseMotionListeners(): Array[MouseMotionListener]
Inherited from:
Component
@throws(java.awt.HeadlessException)
def getMousePosition(x$0: Boolean): Point
Inherited from:
Container
@throws(java.awt.HeadlessException)
def getMousePosition(): Point
Inherited from:
Component
def getMouseWheelListeners(): Array[MouseWheelListener]
Inherited from:
Component
def getName(): String
Inherited from:
Component
def getNavigationFilter(): NavigationFilter
Inherited from:
JTextComponent
def getParent(): Container
Inherited from:
Component
def getPopupLocation(x$0: MouseEvent): Point
Inherited from:
JComponent
@BeanProperty(bound = false)
Inherited from:
JTextComponent
def getPreferredSize(): Dimension
Inherited from:
JTextField
def getPrintable(x$0: MessageFormat, x$1: MessageFormat): Printable
Inherited from:
JTextComponent
def getPropertyChangeListeners(x$0: String): Array[PropertyChangeListener]
Inherited from:
Component
def getPropertyChangeListeners(): Array[PropertyChangeListener]
Inherited from:
Component
@BeanProperty(bound = false)
def getRegisteredKeyStrokes(): Array[KeyStroke]
Inherited from:
JComponent
@BeanProperty(bound = false)
def getRootPane(): JRootPane
Inherited from:
JComponent
def getScrollOffset(): Int
Inherited from:
JTextField
def getScrollableBlockIncrement(x$0: Rectangle, x$1: Int, x$2: Int): Int
Inherited from:
JTextComponent
@BeanProperty(bound = false)
Inherited from:
JTextComponent
@BeanProperty(bound = false)
Inherited from:
JTextComponent
def getScrollableUnitIncrement(x$0: Rectangle, x$1: Int, x$2: Int): Int
Inherited from:
JTextComponent
@BeanProperty(bound = false)
def getSelectedText(): String
Inherited from:
JTextComponent
Inherited from:
JTextComponent
def getSelectionColor(): Color
Inherited from:
JTextComponent
@Transient
def getSelectionEnd(): Int
Inherited from:
JTextComponent
@Transient
Inherited from:
JTextComponent
def getSize(x$0: Dimension): Dimension
Inherited from:
JComponent
def getSize(): Dimension
Inherited from:
Component
def getText(): String
Inherited from:
JTextComponent
@throws(javax.swing.text.BadLocationException)
def getText(x$0: Int, x$1: Int): String
Inherited from:
JTextComponent
def getToolTipLocation(x$0: MouseEvent): Point
Inherited from:
JComponent
def getToolTipText(x$0: MouseEvent): String
Inherited from:
JTextComponent
def getToolTipText(): String
Inherited from:
JComponent
def getToolkit(): Toolkit
Inherited from:
Component
@BeanProperty(bound = false)
def getTopLevelAncestor(): Container
Inherited from:
JComponent
def getTransferHandler(): TransferHandler
Inherited from:
JComponent
final def getTreeLock(): <FromJavaObject>
Inherited from:
Component
def getUI(): TextUI
Inherited from:
JTextComponent
@BeanProperty(bound = false)
def getUIClassID(): String
Inherited from:
JFormattedTextField
def getValue(): <FromJavaObject>
Inherited from:
JFormattedTextField
Inherited from:
JComponent
@BeanProperty(bound = false)
def getVetoableChangeListeners(): Array[VetoableChangeListener]
Inherited from:
JComponent
@BeanProperty(bound = false)
def getVisibleRect(): Rectangle
Inherited from:
JComponent
@BeanProperty(bound = false)
def getWidth(): Int
Inherited from:
JComponent
@BeanProperty(bound = false)
def getX(): Int
Inherited from:
JComponent
@BeanProperty(bound = false)
def getY(): Int
Inherited from:
JComponent
def grabFocus(): Unit
Inherited from:
JComponent
def hasFocus(): Boolean
Inherited from:
Component
def imageUpdate(x$0: Image, x$1: Int, x$2: Int, x$3: Int, x$4: Int, x$5: Int): Boolean
Inherited from:
Component
def invalidate(): Unit
Inherited from:
Container
def isAncestorOf(x$0: Component): Boolean
Inherited from:
Container
def isBackgroundSet(): Boolean
Inherited from:
Component
def isCursorSet(): Boolean
Inherited from:
Component
def isDisplayable(): Boolean
Inherited from:
Component
def isDoubleBuffered(): Boolean
Inherited from:
JComponent
@BeanProperty(bound = false)
def isEditValid(): Boolean
Inherited from:
JFormattedTextField
def isEditable(): Boolean
Inherited from:
JTextComponent
def isEnabled(): Boolean
Inherited from:
Component
def isFocusCycleRoot(): Boolean
Inherited from:
Container
def isFocusCycleRoot(x$0: Container): Boolean
Inherited from:
Container
def isFocusOwner(): Boolean
Inherited from:
Component
final def isFocusTraversalPolicyProvider(): Boolean
Inherited from:
Container
Inherited from:
Container
def isFocusable(): Boolean
Inherited from:
Component
def isFontSet(): Boolean
Inherited from:
Component
def isForegroundSet(): Boolean
Inherited from:
Component
def isLightweight(): Boolean
Inherited from:
Component
def isMaximumSizeSet(): Boolean
Inherited from:
Component
def isMinimumSizeSet(): Boolean
Inherited from:
Component
def isOpaque(): Boolean
Inherited from:
JComponent
@BeanProperty(bound = false)
Inherited from:
JComponent
@BeanProperty(bound = false)
final def isPaintingForPrint(): Boolean
Inherited from:
JComponent
@BeanProperty(bound = false)
def isPaintingTile(): Boolean
Inherited from:
JComponent
def isPreferredSizeSet(): Boolean
Inherited from:
Component
def isRequestFocusEnabled(): Boolean
Inherited from:
JComponent
def isShowing(): Boolean
Inherited from:
Component
def isValid(): Boolean
Inherited from:
Component
def isValidateRoot(): Boolean
Inherited from:
JTextField
@Transient
def isVisible(): Boolean
Inherited from:
Component
def list(x$0: PrintWriter, x$1: Int): Unit
Inherited from:
Container
def list(x$0: PrintStream, x$1: Int): Unit
Inherited from:
Container
def list(x$0: PrintWriter): Unit
Inherited from:
Component
def list(x$0: PrintStream): Unit
Inherited from:
Component
def list(): Unit
Inherited from:
Component
@throws(javax.swing.text.BadLocationException)
def modelToView2D(x$0: Int): Rectangle2D
Inherited from:
JTextComponent
def moveCaretPosition(x$0: Int): Unit
Inherited from:
JTextComponent
def paint(x$0: Graphics): Unit
Inherited from:
JComponent
def paintAll(x$0: Graphics): Unit
Inherited from:
Component
def paintComponents(x$0: Graphics): Unit
Inherited from:
Container
def paintImmediately(x$0: Rectangle): Unit
Inherited from:
JComponent
def paintImmediately(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit
Inherited from:
JComponent
def paste(): Unit
Inherited from:
JTextComponent
def postActionEvent(): Unit
Inherited from:
JTextField
def prepareImage(x$0: Image, x$1: Int, x$2: Int, x$3: ImageObserver): Boolean
Inherited from:
Component
def prepareImage(x$0: Image, x$1: ImageObserver): Boolean
Inherited from:
Component
def printAll(x$0: Graphics): Unit
Inherited from:
JComponent
def printComponents(x$0: Graphics): Unit
Inherited from:
Container
final def putClientProperty(x$0: <FromJavaObject>, x$1: <FromJavaObject>): Unit
Inherited from:
JComponent
@throws(java.io.IOException)
def read(x$0: Reader, x$1: <FromJavaObject>): Unit
Inherited from:
JTextComponent
def registerKeyboardAction(x$0: ActionListener, x$1: KeyStroke, x$2: Int): Unit
Inherited from:
JComponent
def registerKeyboardAction(x$0: ActionListener, x$1: String, x$2: KeyStroke, x$3: Int): Unit
Inherited from:
JComponent
def remove(x$0: Component): Unit
Inherited from:
Container
def remove(x$0: Int): Unit
Inherited from:
Container
def remove(x$0: MenuComponent): Unit
Inherited from:
Component
def removeActionListener(x$0: ActionListener): Unit
Inherited from:
JTextField
def removeAll(): Unit
Inherited from:
Container
def removeAncestorListener(x$0: AncestorListener): Unit
Inherited from:
JComponent
def removeCaretListener(x$0: CaretListener): Unit
Inherited from:
JTextComponent
def removeComponentListener(x$0: ComponentListener): Unit
Inherited from:
Component
def removeContainerListener(x$0: ContainerListener): Unit
Inherited from:
Container
def removeFocusListener(x$0: FocusListener): Unit
Inherited from:
Component
def removeHierarchyBoundsListener(x$0: HierarchyBoundsListener): Unit
Inherited from:
Component
def removeHierarchyListener(x$0: HierarchyListener): Unit
Inherited from:
Component
def removeInputMethodListener(x$0: InputMethodListener): Unit
Inherited from:
Component
def removeKeyListener(x$0: KeyListener): Unit
Inherited from:
Component
def removeMouseListener(x$0: MouseListener): Unit
Inherited from:
Component
def removeMouseMotionListener(x$0: MouseMotionListener): Unit
Inherited from:
Component
def removeMouseWheelListener(x$0: MouseWheelListener): Unit
Inherited from:
Component
def removeNotify(): Unit
Inherited from:
JTextComponent
def removePropertyChangeListener(x$0: String, x$1: PropertyChangeListener): Unit
Inherited from:
Component
def removePropertyChangeListener(x$0: PropertyChangeListener): Unit
Inherited from:
Component
def removeVetoableChangeListener(x$0: VetoableChangeListener): Unit
Inherited from:
JComponent
def repaint(x$0: Rectangle): Unit
Inherited from:
JComponent
def repaint(x$0: Long, x$1: Int, x$2: Int, x$3: Int, x$4: Int): Unit
Inherited from:
JComponent
def repaint(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit
Inherited from:
Component
def repaint(x$0: Long): Unit
Inherited from:
Component
def repaint(): Unit
Inherited from:
Component
def replaceSelection(x$0: String): Unit
Inherited from:
JTextComponent
def requestFocus(x$0: Boolean): Boolean
Inherited from:
JComponent
def requestFocus(): Unit
Inherited from:
JComponent
def requestFocus(x$0: Cause): Unit
Inherited from:
Component
def requestFocusInWindow(): Boolean
Inherited from:
JComponent
def requestFocusInWindow(x$0: Cause): Boolean
Inherited from:
Component
Inherited from:
JComponent
def revalidate(): Unit
Inherited from:
JComponent
def scrollRectToVisible(x$0: Rectangle): Unit
Inherited from:
JTextField
def select(x$0: Int, x$1: Int): Unit
Inherited from:
JTextComponent
def selectAll(): Unit
Inherited from:
JTextComponent
@BeanProperty(visualUpdate = true, description = "the Action instance connected with this ActionEvent source")
def setAction(x$0: Action): Unit
Inherited from:
JTextField
def setActionCommand(x$0: String): Unit
Inherited from:
JTextField
final def setActionMap(x$0: ActionMap): Unit
Inherited from:
JComponent
@BeanProperty(description = "The preferred horizontal alignment of the component.")
def setAlignmentX(x$0: Float): Unit
Inherited from:
JComponent
@BeanProperty(description = "The preferred vertical alignment of the component.")
def setAlignmentY(x$0: Float): Unit
Inherited from:
JComponent
@BeanProperty(bound = false, expert = true, description = "Determines if this component automatically scrolls its contents when dragged.")
def setAutoscrolls(x$0: Boolean): Unit
Inherited from:
JComponent
@BeanProperty(preferred = true, visualUpdate = true, description = "The background color of the component.")
def setBackground(x$0: Color): Unit
Inherited from:
JComponent
@BeanProperty(preferred = true, visualUpdate = true, description = "The component\'s border.")
def setBorder(x$0: Border): Unit
Inherited from:
JComponent
def setBounds(x$0: Rectangle): Unit
Inherited from:
Component
def setBounds(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit
Inherited from:
Component
@BeanProperty(expert = true, description = "the caret used to select/navigate")
def setCaret(x$0: Caret): Unit
Inherited from:
JTextComponent
@BeanProperty(preferred = true, description = "the color used to render the caret")
def setCaretColor(x$0: Color): Unit
Inherited from:
JTextComponent
@BeanProperty(bound = false, description = "the caret position")
def setCaretPosition(x$0: Int): Unit
Inherited from:
JTextComponent
@BeanProperty(bound = false, description = "the number of columns preferred for display")
def setColumns(x$0: Int): Unit
Inherited from:
JTextField
def setComponentOrientation(x$0: ComponentOrientation): Unit
Inherited from:
JTextComponent
@BeanProperty(preferred = true, description = "Popup to show")
def setComponentPopupMenu(x$0: JPopupMenu): Unit
Inherited from:
JComponent
def setComponentZOrder(x$0: Component, x$1: Int): Unit
Inherited from:
Container
def setCursor(x$0: Cursor): Unit
Inherited from:
Component
@BeanProperty(bound = false, preferred = true, description = "Diagnostic options for graphics operations.", enumerationValues = "DebugGraphics.NONE_OPTION", "DebugGraphics.LOG_OPTION", "DebugGraphics.FLASH_OPTION", "DebugGraphics.BUFFERED_OPTION")
def setDebugGraphicsOptions(x$0: Int): Unit
Inherited from:
JComponent
@BeanProperty(preferred = true, description = "color used to render disabled text")
def setDisabledTextColor(x$0: Color): Unit
Inherited from:
JTextComponent
@BeanProperty(expert = true, description = "the text document model")
def setDocument(x$0: Document): Unit
Inherited from:
JFormattedTextField
def setDoubleBuffered(x$0: Boolean): Unit
Inherited from:
JComponent
@BeanProperty(bound = false, description = "determines whether automatic drag handling is enabled")
def setDragEnabled(x$0: Boolean): Unit
Inherited from:
JTextComponent
final def setDropMode(x$0: DropMode): Unit
Inherited from:
JTextComponent
def setDropTarget(x$0: DropTarget): Unit
Inherited from:
Component
@BeanProperty(description = "specifies if the text can be edited")
def setEditable(x$0: Boolean): Unit
Inherited from:
JTextComponent
@BeanProperty(expert = true, preferred = true, visualUpdate = true, description = "The enabled state of the component.")
def setEnabled(x$0: Boolean): Unit
Inherited from:
JComponent
@BeanProperty(description = "accelerator character used to grab focus")
def setFocusAccelerator(x$0: Char): Unit
Inherited from:
JTextComponent
def setFocusCycleRoot(x$0: Boolean): Unit
Inherited from:
Container
@BeanProperty(bound = false, description = "Behavior when component loses focus", enumerationValues = "JFormattedTextField.COMMIT", "JFormattedTextField.COMMIT_OR_REVERT", "JFormattedTextField.REVERT", "JFormattedTextField.PERSIST")
def setFocusLostBehavior(x$0: Int): Unit
Inherited from:
JFormattedTextField
def setFocusTraversalKeys(x$0: Int, x$1: Set[_ <: AWTKeyStroke]): Unit
Inherited from:
JComponent
def setFocusTraversalKeysEnabled(x$0: Boolean): Unit
Inherited from:
Component
def setFocusTraversalPolicy(x$0: FocusTraversalPolicy): Unit
Inherited from:
Container
final def setFocusTraversalPolicyProvider(x$0: Boolean): Unit
Inherited from:
Container
def setFocusable(x$0: Boolean): Unit
Inherited from:
Component
def setFont(x$0: Font): Unit
Inherited from:
JTextField
@BeanProperty(preferred = true, visualUpdate = true, description = "The foreground color of the component.")
def setForeground(x$0: Color): Unit
Inherited from:
JComponent
@BeanProperty(visualUpdate = true, description = "AbstractFormatterFactory, responsible for returning an AbstractFormatter that can format the current value.")
def setFormatterFactory(x$0: AbstractFormatterFactory): Unit
Inherited from:
JFormattedTextField
@BeanProperty(expert = true, description = "object responsible for background highlights")
def setHighlighter(x$0: Highlighter): Unit
Inherited from:
JTextComponent
@BeanProperty(preferred = true, description = "Set the field alignment to LEFT, CENTER, RIGHT, LEADING (the default) or TRAILING", enumerationValues = "JTextField.LEFT", "JTextField.CENTER", "JTextField.RIGHT", "JTextField.LEADING", "JTextField.TRAILING")
def setHorizontalAlignment(x$0: Int): Unit
Inherited from:
JTextField
def setIgnoreRepaint(x$0: Boolean): Unit
Inherited from:
Component
@BeanProperty(description = "Whether or not the JPopupMenu is inherited")
def setInheritsPopupMenu(x$0: Boolean): Unit
Inherited from:
JComponent
final def setInputMap(x$0: Int, x$1: InputMap): Unit
Inherited from:
JComponent
@BeanProperty(description = "The component\'s input verifier.")
def setInputVerifier(x$0: InputVerifier): Unit
Inherited from:
JComponent
@BeanProperty(description = "set of key event to action bindings to use")
def setKeymap(x$0: Keymap): Unit
Inherited from:
JTextComponent
def setLayout(x$0: LayoutManager): Unit
Inherited from:
Container
def setLocale(x$0: Locale): Unit
Inherited from:
Component
def setLocation(x$0: Point): Unit
Inherited from:
Component
def setLocation(x$0: Int, x$1: Int): Unit
Inherited from:
Component
@BeanProperty(description = "desired space between the border and text area")
def setMargin(x$0: Insets): Unit
Inherited from:
JTextComponent
@BeanProperty(description = "The maximum size of the component.")
def setMaximumSize(x$0: Dimension): Unit
Inherited from:
JComponent
@BeanProperty(description = "The minimum size of the component.")
def setMinimumSize(x$0: Dimension): Unit
Inherited from:
JComponent
def setMixingCutoutShape(x$0: Shape): Unit
Inherited from:
Component
def setName(x$0: String): Unit
Inherited from:
Component
def setNavigationFilter(x$0: NavigationFilter): Unit
Inherited from:
JTextComponent
@BeanProperty(expert = true, description = "The component\'s opacity")
def setOpaque(x$0: Boolean): Unit
Inherited from:
JComponent
@BeanProperty(preferred = true, description = "The preferred size of the component.")
def setPreferredSize(x$0: Dimension): Unit
Inherited from:
JComponent
def setRequestFocusEnabled(x$0: Boolean): Unit
Inherited from:
JComponent
def setScrollOffset(x$0: Int): Unit
Inherited from:
JTextField
@BeanProperty(preferred = true, description = "color used to render selected text")
def setSelectedTextColor(x$0: Color): Unit
Inherited from:
JTextComponent
@BeanProperty(preferred = true, description = "color used to render selection background")
def setSelectionColor(x$0: Color): Unit
Inherited from:
JTextComponent
@BeanProperty(bound = false, description = "ending location of the selection.")
def setSelectionEnd(x$0: Int): Unit
Inherited from:
JTextComponent
@BeanProperty(bound = false, description = "starting location of the selection.")
def setSelectionStart(x$0: Int): Unit
Inherited from:
JTextComponent
def setSize(x$0: Dimension): Unit
Inherited from:
Component
def setSize(x$0: Int, x$1: Int): Unit
Inherited from:
Component
@BeanProperty(bound = false, description = "the text of this component")
def setText(x$0: String): Unit
Inherited from:
JTextComponent
@BeanProperty(bound = false, preferred = true, description = "The text to display in a tool tip.")
def setToolTipText(x$0: String): Unit
Inherited from:
JComponent
@BeanProperty(hidden = true, description = "Mechanism for transfer of data to and from the component")
def setTransferHandler(x$0: TransferHandler): Unit
Inherited from:
JComponent
def setUI(x$0: TextUI): Unit
Inherited from:
JTextComponent
@BeanProperty(visualUpdate = true, description = "The value to be formatted.")
def setValue(x$0: <FromJavaObject>): Unit
Inherited from:
JFormattedTextField
@BeanProperty(description = "Whether the Component verifies input before accepting focus.")
def setVerifyInputWhenFocusTarget(x$0: Boolean): Unit
Inherited from:
JComponent
@BeanProperty(hidden = true, visualUpdate = true)
def setVisible(x$0: Boolean): Unit
Inherited from:
JComponent
def toString(): String
Inherited from:
Component
def transferFocus(): Unit
Inherited from:
Component
Inherited from:
Component
Inherited from:
Container
Inherited from:
Component
def unregisterKeyboardAction(x$0: KeyStroke): Unit
Inherited from:
JComponent
def update(x$0: Graphics): Unit
Inherited from:
JComponent
def updateUI(): Unit
Inherited from:
JTextComponent
def validate(): Unit
Inherited from:
Container
def viewToModel2D(x$0: Point2D): Int
Inherited from:
JTextComponent
@throws(java.io.IOException)
def write(x$0: Writer): Unit
Inherited from:
JTextComponent

Deprecated and Inherited methods

@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def action(x$0: Event, x$1: <FromJavaObject>): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def bounds(): Rectangle
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def countComponents(): Int
Deprecated
Inherited from:
Container
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def deliverEvent(x$0: Event): Unit
Deprecated
Inherited from:
Container
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def disable(): Unit
Deprecated
Inherited from:
JComponent
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def enable(): Unit
Deprecated
Inherited from:
JComponent
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def enable(x$0: Boolean): Unit
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def getNextFocusableComponent(): Component
Deprecated
Inherited from:
JComponent
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def gotFocus(x$0: Event, x$1: <FromJavaObject>): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def handleEvent(x$0: Event): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def hide(): Unit
Deprecated
Inherited from:
JComponent
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def insets(): Insets
Deprecated
Inherited from:
Container
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def inside(x$0: Int, x$1: Int): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def isFocusTraversable(): Boolean
Deprecated
Inherited from:
Component
@Deprecated @BeanProperty(bound = false) @deprecated("see corresponding Javadoc for more information.", "")
def isManagingFocus(): Boolean
Deprecated
Inherited from:
JComponent
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def keyDown(x$0: Event, x$1: Int): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def keyUp(x$0: Event, x$1: Int): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def layout(): Unit
Deprecated
Inherited from:
Container
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def locate(x$0: Int, x$1: Int): Component
Deprecated
Inherited from:
Container
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def location(): Point
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def lostFocus(x$0: Event, x$1: <FromJavaObject>): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def minimumSize(): Dimension
Deprecated
Inherited from:
Container
@Deprecated(since = "9") @deprecated("see corresponding Javadoc for more information.", "") @throws(javax.swing.text.BadLocationException)
def modelToView(x$0: Int): Rectangle
Deprecated
Inherited from:
JTextComponent
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def mouseDown(x$0: Event, x$1: Int, x$2: Int): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def mouseDrag(x$0: Event, x$1: Int, x$2: Int): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def mouseEnter(x$0: Event, x$1: Int, x$2: Int): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def mouseExit(x$0: Event, x$1: Int, x$2: Int): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def mouseMove(x$0: Event, x$1: Int, x$2: Int): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def mouseUp(x$0: Event, x$1: Int, x$2: Int): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def move(x$0: Int, x$1: Int): Unit
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def nextFocus(): Unit
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def postEvent(x$0: Event): Boolean
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def preferredSize(): Dimension
Deprecated
Inherited from:
Container
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def requestDefaultFocus(): Boolean
Deprecated
Inherited from:
JComponent
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def reshape(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit
Deprecated
Inherited from:
JComponent
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def resize(x$0: Dimension): Unit
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def resize(x$0: Int, x$1: Int): Unit
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def setNextFocusableComponent(x$0: Component): Unit
Deprecated
Inherited from:
JComponent
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def show(x$0: Boolean): Unit
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def show(): Unit
Deprecated
Inherited from:
Component
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def size(): Dimension
Deprecated
Inherited from:
Component
@Deprecated(since = "9") @deprecated("see corresponding Javadoc for more information.", "")
def viewToModel(x$0: Point): Int
Deprecated
Inherited from:
JTextComponent