Class f_shell

Object
  extended by f_object
      extended by f_shell
All Implemented Interfaces:
fa_eventTarget
Direct Known Subclasses:
f_dialog

public final class f_shell
extends f_object
implements fa_eventTarget

f_shell represents popup window.


Field Summary
static Number ABOUT_TO_CLOSE_STATUS
           
static Number APPLICATION_MODAL_STYLE
          Style constant for application modal behavior
static Number CLOSED_STATUS
           
static String CLOSE_BUTTON_EVENT
           
static Number CLOSE_STYLE
          Style constant for close box trim
static Number CLOSING_STATUS
           
static Number COPY_STYLESHEET
          Copy styleSheet from the main frame
static Number CREATED_STATUS
           
static Number DESTROYED_STATUS
           
static Number DESTROYING_STATUS
           
static Number FRAME_ELEMENT
          Force the body of the shell to be an IFrame
static String GREYED_BACKGROUND_MODE
           
static Number HIDE_SCREEN_STYLE
          Style constant for hide background
static Number H_SCROLL_STYLE
          Style constant for horizontal scrollbar behavior
static Number LIGHT_CONTAINER_STYLE
          Style constant
static String LIGHT_GREYED_BACKGROUND_MODE
           
static Number MAX_STYLE
          Style constant for maximize box trim
static Number MIN_STYLE
          Style constant for minimize box trim
static Number MODELESS_STYLE
          Style constant for modeless behavior
static Number MOVE_STYLE
          Style constant for resize area trim
static String OPAQUE_BACKGROUND_MODE
           
static Number OPENED_STATUS
           
static Number OPENING_STATUS
           
static Number PRIMARY_MODAL_STYLE
          Style constant for primary modal behavior
static Number RESIZE_STYLE
          Style constant for resize area trim
static Number TITLE_STYLE
          Style constant for title area trim
static Number TRANSPARENT
          The frame can be transparent
static String TRANSPARENT_BACKGROUND_MODE
           
static Number V_SCROLL_STYLE
          Style constant for vertical scrollbar behavior
 
Constructor Summary
f_shell(Number style, Function drawingFunction, Function returnValueFunction)
          Construct a new f_shell with the specified initial values.
 
Method Summary
 String _toString()
           
 void f_cancelNextShell()
           
 void f_close(Function returnValue)
           
 void f_finalize()
          Destruct a f_shell.
 String f_getBackgroundMode()
          Return the background mode.
 String f_getHeight()
          Return the height.
 String f_getId()
           
 Number f_getPriority()
          Return the priority.
 String f_getShellDecoratorName()
          Return the shellDecoratorName String.
 Number f_getStatus()
           
 Number f_getStyle()
          Return the style of the shell.
 String f_getStyleClass()
           
 String f_getTitle(any title)
           
 Number f_getWidth()
          Return the width.
 boolean f_isNextShellCanceled()
           
 void f_open(Function returnValueFunction)
           
 void f_setBackgroundMode(String backgroundMode)
          Sets the background mode.
 void f_setHeight(Number height)
          Sets Height.
 void f_setPriority(Number priority)
          Sets the priority.
 void f_setShellDecorator(f_shellDecorator shellDecorator)
           
 void f_setShellDecoratorName(String shellDecoratorName)
          Sets the shellDecoratorName String.
 void f_setStyleClass(String styleClass)
           
 void f_setTitle(String title)
           
 void f_setWidth(Number width)
          Sets width.
 
Methods inherited from class fa_eventTarget
f_addEventListener, f_fireEvent, f_removeEventListener
 
Methods inherited from class f_object
f_getClass, toString
 
Methods inherited from class Object
toString
 

Field Detail

PRIMARY_MODAL_STYLE

public static final Number PRIMARY_MODAL_STYLE
Style constant for primary modal behavior


DESTROYED_STATUS

public static final Number DESTROYED_STATUS

RESIZE_STYLE

public static final Number RESIZE_STYLE
Style constant for resize area trim


CLOSE_STYLE

public static final Number CLOSE_STYLE
Style constant for close box trim


MIN_STYLE

public static final Number MIN_STYLE
Style constant for minimize box trim


CLOSE_BUTTON_EVENT

public static final String CLOSE_BUTTON_EVENT

MAX_STYLE

public static final Number MAX_STYLE
Style constant for maximize box trim


OPENED_STATUS

public static final Number OPENED_STATUS

OPAQUE_BACKGROUND_MODE

public static final String OPAQUE_BACKGROUND_MODE

APPLICATION_MODAL_STYLE

public static final Number APPLICATION_MODAL_STYLE
Style constant for application modal behavior


TRANSPARENT_BACKGROUND_MODE

public static final String TRANSPARENT_BACKGROUND_MODE

LIGHT_GREYED_BACKGROUND_MODE

public static final String LIGHT_GREYED_BACKGROUND_MODE

GREYED_BACKGROUND_MODE

public static final String GREYED_BACKGROUND_MODE

DESTROYING_STATUS

public static final Number DESTROYING_STATUS

HIDE_SCREEN_STYLE

public static final Number HIDE_SCREEN_STYLE
Style constant for hide background


ABOUT_TO_CLOSE_STATUS

public static final Number ABOUT_TO_CLOSE_STATUS

V_SCROLL_STYLE

public static final Number V_SCROLL_STYLE
Style constant for vertical scrollbar behavior


OPENING_STATUS

public static final Number OPENING_STATUS

MOVE_STYLE

public static final Number MOVE_STYLE
Style constant for resize area trim


CLOSED_STATUS

public static final Number CLOSED_STATUS

LIGHT_CONTAINER_STYLE

public static final Number LIGHT_CONTAINER_STYLE
Style constant


TRANSPARENT

public static final Number TRANSPARENT
The frame can be transparent


H_SCROLL_STYLE

public static final Number H_SCROLL_STYLE
Style constant for horizontal scrollbar behavior


TITLE_STYLE

public static final Number TITLE_STYLE
Style constant for title area trim


FRAME_ELEMENT

public static final Number FRAME_ELEMENT
Force the body of the shell to be an IFrame


MODELESS_STYLE

public static final Number MODELESS_STYLE
Style constant for modeless behavior


COPY_STYLESHEET

public static final Number COPY_STYLESHEET
Copy styleSheet from the main frame


CLOSING_STATUS

public static final Number CLOSING_STATUS

CREATED_STATUS

public static final Number CREATED_STATUS
Constructor Detail

f_shell

public f_shell(Number style,
               Function drawingFunction,
               Function returnValueFunction)

Construct a new f_shell with the specified initial values.

Parameters:
style - the style of control to construct
drawingFunction -
returnValueFunction -
Method Detail

f_setHeight

public void f_setHeight(Number height)

Sets Height.

Parameters:
height -

f_getBackgroundMode

public String f_getBackgroundMode()

Return the background mode.

Returns:
background mode : transparent, greyed, opaque

f_getHeight

public String f_getHeight()

Return the height.

Returns:
height

f_setWidth

public void f_setWidth(Number width)

Sets width.

Parameters:
width -

f_getStyle

public Number f_getStyle()

Return the style of the shell.

Returns:
The style

f_setShellDecoratorName

public void f_setShellDecoratorName(String shellDecoratorName)

Sets the shellDecoratorName String.

Parameters:
shellDecoratorName -

f_cancelNextShell

public void f_cancelNextShell()

f_setTitle

public void f_setTitle(String title)
Parameters:
title -

f_getWidth

public Number f_getWidth()

Return the width.

Returns:
width

f_finalize

public void f_finalize()

Destruct a f_shell.


f_getPriority

public Number f_getPriority()

Return the priority.

Returns:
priority

f_setShellDecorator

public void f_setShellDecorator(f_shellDecorator shellDecorator)
Parameters:
shellDecorator -

_toString

public String _toString()

f_setBackgroundMode

public void f_setBackgroundMode(String backgroundMode)

Sets the background mode.

Parameters:
backgroundMode - background mode : transparent, greyed, opaque

f_setPriority

public void f_setPriority(Number priority)

Sets the priority.

Parameters:
priority -

f_open

public void f_open(Function returnValueFunction)
Parameters:
returnValueFunction -

f_getStyleClass

public String f_getStyleClass()

f_setStyleClass

public void f_setStyleClass(String styleClass)
Parameters:
styleClass -

f_isNextShellCanceled

public boolean f_isNextShellCanceled()

f_getTitle

public String f_getTitle(any title)

f_getStatus

public Number f_getStatus()

f_getShellDecoratorName

public String f_getShellDecoratorName()

Return the shellDecoratorName String.

Returns:
shellDecorateurName

f_getId

public String f_getId()

f_close

public void f_close(Function returnValue)
Parameters:
returnValue -