Class org.aswing.plaf.basic.BasicTextAreaUI

Description

Method Index

new BasicTextAreaUI()
createInstance(), getPreferredSize(), paint()

Inherited from BasicTextComponentUI

Inherited from ComponentUI

Constructor Detail

BasicTextAreaUI

public function BasicTextAreaUI()

Method Detail

createInstance

static public function createInstance(c:Component):ComponentUI

paint

public function paint(c:Component, g:Graphics, r:Rectangle):Void

Description copied from ComponentUI

Notifies this UI delegate that it's time to paint the specified component. This method is invoked by Component when the specified component is being painted.

In general this method need be overridden by subclasses; all look-and-feel rendering code should reside in this method. And there is a default background paint method, you should call it in your overridden paint method.

Overrides

paint() in org.aswing.plaf.basic.BasicTextComponentUI

getPreferredSize

public function getPreferredSize(c:Component):Dimension

Return null, make it to count in JTextFiled's countPreferredSize method.