|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Objectf_object
f_eventTarget
f_component
public class f_component
f_component class
| Field Summary | |
|---|---|
static Number |
DEFAULT_HIDDEN_MODE
|
static Number |
HIDDEN_MODE_IGNORE
|
static Number |
HIDDEN_MODE_PHANTOM
|
static Number |
HIDDEN_MODE_SERVER
|
| Fields inherited from class HTMLElement |
|---|
className, dir, id, lang |
| Fields inherited from class Element |
|---|
tagName |
| Fields inherited from class Node |
|---|
childNodes, firstChild, lastChild, nextSibling, nodeName, nodeType, nodeValue, ownerDocument, parentNode, previousSibling |
| Method Summary | |
|---|---|
HTMLElement |
f_findComponent(String... id)
Search for and return the f_component with an id
that matches the specified search expression (if any), according to the
algorithm described below. |
HTMLElement |
f_findSiblingComponent(String... id)
Find the sibling component. |
String |
f_getAccessKey()
|
String |
f_getBackgroundColor()
Returns the background color of the component. |
Document |
f_getDocument()
|
String |
f_getForegroundColor()
Returns the foreground color of the component. |
Number |
f_getHeight()
Returns the height of the component. |
String |
f_getHelpMessage()
|
String |
f_getHelpURL()
|
Number |
f_getHiddenMode()
|
String |
f_getId()
Returns the idenfiant of the component. |
HTMLElement |
f_getParent()
|
String |
f_getToolTipText()
Returns the receiver's tool tip text, or null if it has not been set. |
boolean |
f_getVisible()
Returns true if the receiver is visible, and false otherwise.
|
Number |
f_getWidth()
Returns the width of the component. |
Number |
f_getX()
|
Number |
f_getY()
|
boolean |
f_isVisible()
Returns true if the receiver is visible and all ancestors up to and including the receiver's nearest ancestor document are visible.
|
void |
f_setBackgroundColor(String color)
Set the background color of the component. |
void |
f_setFocus()
|
void |
f_setForegroundColor(String color)
Set the foreground color of the component. |
void |
f_setHeight(Number height)
Set the height of the component. |
void |
f_setHelpMessage(String msg)
|
void |
f_setHelpURL(String url)
|
void |
f_setHiddenMode(String mode)
|
void |
f_setToolTipText(String title)
Sets the receiver's tool tip text to the argument, which may be null indicating that no tool tip text should be shown. |
void |
f_setVisible(boolean visible)
Marks the receiver as visible if the argument is true, and marks it invisible otherwise. |
void |
f_setWidth(Number width)
Set the width of the component |
void |
f_setX(Number x)
|
void |
f_setY(Number y)
|
boolean |
f_show(boolean scroll)
|
String |
toString()
Returns a string representing the specified object. |
| Methods inherited from class fa_clientData |
|---|
f_getClientData, f_getClientDataSet, f_getClientDatas, f_setClientData |
| Methods inherited from class fa_eventTarget |
|---|
f_addEventListener, f_fireEvent, f_removeEventListener |
| Methods inherited from class Element |
|---|
getAttribute, getElementsByTagName, removeAttribute, setAttribute |
| Methods inherited from class Node |
|---|
appendChild, hasChildNodes, insertBefore, removeChild, replaceChild |
| Methods inherited from class f_object |
|---|
f_getClass, toString |
| Methods inherited from class Object |
|---|
toString |
| Field Detail |
|---|
public static final Number HIDDEN_MODE_IGNORE
public static final Number HIDDEN_MODE_PHANTOM
public static final Number DEFAULT_HIDDEN_MODE
public static final Number HIDDEN_MODE_SERVER
| Method Detail |
|---|
public void f_setHeight(Number height)
height - Height of the component.public void f_setVisible(boolean visible)
visible - the new visibility statepublic Number f_getHiddenMode()
f_component#DEFAULT_HIDDEN_MODE,
f_component#HIDDEN_MODE_IGNORE,
f_component#HIDDEN_MODE_PHANTOM,
f_component#HIDDEN_MODE_SERVERpublic void f_setToolTipText(String title)
null indicating that no tool tip text should be shown.
title - the new tool tip text (or null)public Document f_getDocument()
public String f_getHelpURL()
public void f_setHelpURL(String url)
url - public HTMLElement f_findSiblingComponent(String... id)
id - Identifier of component.
link, or null
if the component was not found.#f_findComponentpublic Number f_getHeight()
public void f_setWidth(Number width)
width - Width of the component.public void f_setHelpMessage(String msg)
msg - public String f_getForegroundColor()
public void f_setFocus()
public String f_getHelpMessage()
public String f_getToolTipText()
null if it has not been set.
public Number f_getX()
public final boolean f_getVisible()
true if the receiver is visible, and false otherwise.
public Number f_getWidth()
public Number f_getY()
public final boolean f_isVisible()
true if the receiver is visible and all ancestors up to and including the receiver's nearest ancestor document are visible.
Otherwise, false is returned.
public void f_setBackgroundColor(String color)
color - public void f_setHiddenMode(String mode)
mode - f_component#DEFAULT_HIDDEN_MODE,
f_component#HIDDEN_MODE_IGNORE,
f_component#HIDDEN_MODE_PHANTOM,
f_component#HIDDEN_MODE_SERVERpublic HTMLElement f_getParent()
public void f_setY(Number y)
y - public HTMLElement f_findComponent(String... id)
Search for and return the f_component with an id
that matches the specified search expression (if any), according to the
algorithm described below.
Component identifiers are required to be unique within the scope of
the closest ancestor fa_namingContainer that encloses this
component (which might be this component itself). If there are no
fa_namingContainer components in the ancestry of this component,
the root component in the tree is treated as if it were a
fa_namingContainer, whether or not its class actually implements
the fa_namingContainer interface.
A search expression consists of either an
identifier (which is matched exactly against the id
property of a f_component, or a series of such identifiers
linked by the fa_namingContainer#SeparatorChar character value.
The search algorithm operates as follows:
f_component that will be the base for searching,
by stopping as soon as one of the following conditions is met:
f_component of the component
tree. The leading separator character will be stripped off,
and the remainder of the search expression will be treated as
a "relative" search expression as described below.f_component is a
fa_namingContainer it will serve as the basis.fa_namingContainer is encountered, it will be the base.
fa_namingContainer is encountered)
the root f_component will be the base.id that matches, within
the scope of the base component. The match is performed as follows:
id property, and then recursively
through the facets and children of the base f_component
(except that if a descendant fa_namingContainer is found,
its own facets and children are not searched).fa_namingContainer by the rules in the
previous bullet point. Then, the findComponent()
method of this fa_namingContainer will be called, passing
the remainder of the search expression.
id - Identifier of component.
link, or null
if the component was not found.public boolean f_show(boolean scroll)
scroll - Scroll into view to show the component.
(true align on top, false align on bottom)
public String f_getBackgroundColor()
public String f_getAccessKey()
public void f_setX(Number x)
x - public String f_getId()
public String toString()
Object
toString in class f_objectpublic void f_setForegroundColor(String color)
color -
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||