All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fernice.reflare.light.FTextArea.kt Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

package fernice.reflare.light

import org.fernice.reflare.ui.FlareTextAreaUI
import javax.swing.JTextArea
import javax.swing.JToolTip
import javax.swing.text.Document

@Suppress("UNUSED")
open class FTextArea : JTextArea {

    constructor()
    constructor(document: Document) : super(document)
    constructor(document: Document, text: String?, columns: Int, rows: Int) : super(document, text, columns, rows)
    constructor(columns: Int, rows: Int) : super(columns, rows)
    constructor(text: String?) : super(text)
    constructor(text: String?, columns: Int, rows: Int) : super(text, columns, rows)

    override fun updateUI() {
        super.setUI(integrationDependent(this) { FlareTextAreaUI() })
    }

    override fun createToolTip(): JToolTip {
        val toolTip = FToolTip()
        toolTip.component = this
        return toolTip
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy