Class fvaswing.visual.FvAbstractFrameView

Description

Defines basic Pixlib View using FvViewHelper and a JFrame as main container.

Feel free to create subclasses for custom frame behaviour.

Field Index

Inherited from FvViewHelper

Method Index

close(), getContentPane(), getKeyMapName(), getLocation(), getTitle(), getView(), open(), setLocation(), setTitle()

Inherited from FvViewHelper

Method Detail

getView

public function getView():JFrame

Returns concrete view with typecast

Must be override in subclass for type checking.

Return

Component here

Overrides

getView() in fvaswing.visual.FvViewHelper

getContentPane

public function getContentPane():Container

Returns frame content pane.

Use to clearly append childs into frame.

setTitle

public function setTitle(str:String):Void

Defines frame caption.

getTitle

public function getTitle():String

Returns frame caption.

setLocation

public function setLocation():Void

setLocation(x:Number, y:Number)
setLocation(p:Point)

Set the component's location, if it is diffs from old location, invalidate it to wait validate. The top-left corner of the new location is specified by the x and y parameters in the coordinate space of this component's parent.

getLocation

public function getLocation(p:Point):Point

getLocation(p:Point)
getLocation()

Stores the location value of this component into "return value" p and returns p. If p is null or undefined a new Point object is allocated.

Parameters

pthe return value, modified to the component's location.

getKeyMapName

public function getKeyMapName():String

Returns key mapping map name.

open

public function open():Void

Opens window

close

public function close():Void

Closes current windows.

Closing behaviour depending of setCloseOperation() method