|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.html.E4HtmlObject
e4s.html.E4HtmlElementGeneral
e4s.html.E4HtmlElement
e4s.html.E4HtmlContentElement
e4s.html.E4HtmlContentElementPersistant
e4s.html.BODY
e4s.html.HTML
e4s.html.FRAME
public class FRAME
HTML: Creates a <FRAME>-tag. The FRAME class is very tight related to the FRAMESET class but from it's behaviour a HTML page. Note, that in the E4S environment you can create a frame, and immediatly write into that frame. A typical creation of a FRAME might look like this:
| Example_Frames.java |
E4FrameName,
FRAMESET,
E4EditingFrameset| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class e4s.html.HTML |
|---|
HTML.E4HtmlMetaTags |
| Field Summary | |
|---|---|
static java.lang.String |
_SCRIPT_GETFRAMENAME
This is the name of the associated Java Script function to get the name of this frame. |
static int |
AUTO_SCROLLING
Deprecated. Use SCROLLING_AUTO instead |
static int |
ENABLE_SCROLLING
Deprecated. Use SCROLLING_ENABLED instead |
static int |
NO_SCROLLING
Deprecated. Use SCROLLING_NONE instead |
static int |
SCROLLING_AUTO
Define the scrolling state of a frame: scrolling=auto. |
static int |
SCROLLING_ENABLED
Define the scrolling state of a frame: scrolling=yes. |
static int |
SCROLLING_NONE
Define the scrolling state of a frame: scrolling=no. |
| Fields inherited from class e4s.html.HTML |
|---|
JS_SERVLET_PRESERVED_REQUEST, JS_SERVLET_REQUEST |
| Fields inherited from class e4s.html.BODY |
|---|
DEFAULTSTYLE, HTML_TAG |
| Fields inherited from class e4s.html.E4HtmlContentElement |
|---|
BOOL_STR_FALSE, BOOL_STR_TRUE |
| Fields inherited from class e4s.html.E4HtmlElementGeneral |
|---|
m_elements, m_needed_scripts |
| Fields inherited from class e4s.html.E4HtmlObject |
|---|
m_parent_e4sID |
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Constructor Summary | |
|---|---|
FRAME(E4ID parent_id,
E4FrameName name,
float size)
Constructor for the FRAME. |
|
FRAME(E4ID parent_id,
E4FrameName name,
float size,
boolean scrolling)
Deprecated. |
|
FRAME(E4ID parent_id,
E4FrameName name,
float size,
int scrolling)
Constructor for the FRAME. |
|
FRAME(E4ID parent_id,
E4FrameName name,
long size)
Constructor for the FRAME. |
|
FRAME(E4ID parent_id,
E4FrameName name,
long size,
int scrolling)
Constructor for the FRAME. |
|
FRAME(E4ID parent_id,
E4FrameName name,
java.lang.String size)
Constructor for the FRAME. |
|
FRAME(E4ID parent_id,
E4FrameName name,
java.lang.String size,
boolean scrolling)
Deprecated. |
|
FRAME(E4ID parent_id,
E4FrameName name,
java.lang.String size,
int scrolling)
Constructor for the FRAME. |
|
FRAME(E4ID parent_id,
float size)
Constructor for the FRAME, uses an generic name. |
|
FRAME(E4ID parent_id,
float size,
boolean scrolling)
Deprecated. |
|
FRAME(E4ID parent_id,
float size,
int scrolling)
Constructor for the FRAME, uses a generic name. |
|
FRAME(E4ID parent_id,
int size,
int scrolling)
Constructor for the FRAME, uses a generic name. |
|
FRAME(E4ID parent_id,
long size)
Constructor for the FRAME, uses an generic name. |
|
FRAME(E4ID parent_id,
java.lang.String size)
Constructor for the FRAME, uses an generic name. |
|
FRAME(E4ID parent_id,
java.lang.String size,
boolean scrolling)
Deprecated. |
|
FRAME(E4ID parent_id,
java.lang.String size,
int scrolling)
Constructor for the FRAME, uses a generic name. |
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
void |
collectStylesForEditing(E4StylesHash v,
E4ServletImplementation_Intf servlet)
Build a list (Vector) with style definitions used so far during display of this page. |
java.lang.String |
constructUrl(E4ServletImplementation_Intf servlet)
|
E4ID |
E4ID()
Get the E4ID of the object. |
boolean |
getBorder()
Get the resizing state of the frame. |
E4FrameName |
getFrameName()
Get the frame name. |
java.lang.String |
getFrameSize()
Get the frame size. |
int |
getMarginHeight()
Get the margin height for this frame. |
int |
getMarginWidth()
Get the margin width for this frame. |
static java.lang.String |
getPersistantParamName_FrameSize(E4FrameName framename)
Persistant name of the parameter for the frame width. |
static java.lang.String |
getPersistantParamName_FrameSize(java.lang.String framename)
Persistant name of the parameter for the frame width. |
boolean |
getResize()
Get the resizing state of the frame. |
protected void |
init(E4FrameName name,
java.lang.String size,
int scrolling)
|
int |
isScrolling()
Get the scrolling state. |
boolean |
isUrl()
Check, if an URL or if an E4Method link is defined. |
java.lang.String |
scrollingToString()
Get the scrolling state. |
void |
setBorder(boolean mode)
Define, if a frame border shall be displayed. |
void |
setFrameSize(int size)
Changes the frame size. |
void |
setFrameSize(java.lang.String size)
Changes the frame size. |
void |
setMarginHeight(int height)
Set the margin height for this frame. |
void |
setMarginWidth(int width)
Set the margin width for this frame. |
void |
setResize(boolean mode)
Enables resizing of the frame. |
void |
setScrolling_Auto()
|
void |
setScrolling_No()
|
void |
setScrolling_Yes()
|
void |
setScrolling(int mode)
Define the scrolling mode for the frame. |
void |
setSTYLE(CLASS_Name classname)
|
void |
setUrl(E4Method mref)
|
void |
setUrl(E4Method mref,
E4CgiParams params)
|
void |
setUrl(java.lang.String url)
|
java.lang.String |
toHtml(java.lang.String url)
|
| Methods inherited from class e4s.html.HTML |
|---|
BODY, collectTranslationsForEditing, displayWaitAndForward, E4SubEditingBODY, E4SubEditingBODY, enableUTF8, FieldsetTabbed, FRAMESET, FRAMESET, getIcon, getLocalCSS, getMetaTags, getTitle, isUTF8enabled, MenuFrameset, MenuFrameset, preventStyleEditing, preventTranslationEditing, setDefaultIcon, setDefaultTitle, setDefaultTitle, setDefaultTitle, setIcon, setLocalCSS, setMetaTag, setStrict, setTitle, setTitle, setTitle, toHtml, toHtml |
| Methods inherited from class e4s.html.E4HtmlContentElementPersistant |
|---|
preventFromRemoving, preventFromRemoving, removeAll, toDebug |
| Methods inherited from class e4s.html.E4HtmlElement |
|---|
addElement, addElement, addElement, copyElements, print |
| Methods inherited from class e4s.html.E4HtmlObject |
|---|
E4ID, set_e4sID |
| Methods inherited from class e4s.util.E4Object |
|---|
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface e4s.html.E4HtmlElement_Intf |
|---|
addScript, addScript, addScript, collectScripts, debugToString, findElement, findElement, getElements, getElementsVec, getField, getId, getStringContent, isContentClass, removeAll, removeElementById, removeElements, set_e4sID, setId, setReadOnly, setValue, toHtml_hidden, validate |
| Field Detail |
|---|
public static final int SCROLLING_NONE
SCROLLING_ENABLED,
SCROLLING_AUTO,
Constant Field Valuespublic static final int NO_SCROLLING
SCROLLING_NONE insteadpublic static final int SCROLLING_ENABLED
SCROLLING_NONE,
SCROLLING_AUTO,
isScrolling(),
Constant Field Valuespublic static final int ENABLE_SCROLLING
SCROLLING_ENABLED insteadpublic static final int SCROLLING_AUTO
SCROLLING_NONE,
SCROLLING_ENABLED,
isScrolling(),
Constant Field Valuespublic static final int AUTO_SCROLLING
SCROLLING_AUTO insteadpublic static final java.lang.String _SCRIPT_GETFRAMENAME
| Constructor Detail |
|---|
public FRAME(E4ID parent_id,
E4FrameName name,
java.lang.String size)
name - name of the frame, used in the tag (see getFrameName())size - size in pixel or percentage of the frame (see getFrameSize())
public FRAME(E4ID parent_id,
E4FrameName name,
float size)
name - name of the frame, used in the tag (see getFrameName())size - size in pixel or percentage of the frame (see getFrameSize())
public FRAME(E4ID parent_id,
E4FrameName name,
long size)
name - name of the frame, used in the tag (see getFrameName())size - size in pixel or percentage of the frame (see getFrameSize())
public FRAME(E4ID parent_id,
java.lang.String size)
size - size in pixel or percentage of the frame (see getFrameSize())E4FrameName.ANY()
public FRAME(E4ID parent_id,
long size)
size - size in pixel or percentage of the frame (see getFrameSize())E4FrameName.ANY()
public FRAME(E4ID parent_id,
float size)
size - size in pixel or percentage of the frame (see getFrameSize())E4FrameName.ANY()
public FRAME(E4ID parent_id,
E4FrameName name,
java.lang.String size,
boolean scrolling)
public FRAME(E4ID parent_id,
java.lang.String size,
boolean scrolling)
FRAME(E4ID,String,int)
public FRAME(E4ID parent_id,
E4FrameName name,
java.lang.String size,
int scrolling)
name - name of the frame, used in the tag (see getFrameName())size - size in pixel or percentage of the frame (see getFrameSize())scrolling - defines, if scrolling is enabled or not (see isScrolling()SCROLLING_NONE,
SCROLLING_ENABLED,
SCROLLING_AUTO,
isScrolling()
public FRAME(E4ID parent_id,
java.lang.String size,
int scrolling)
size - size in pixel or percentage of the frame (see getFrameSize())scrolling - defines, if scrolling is enabled or not (see isScrolling()SCROLLING_NONE,
SCROLLING_ENABLED,
SCROLLING_AUTO,
isScrolling(),
E4FrameName.ANY()
public FRAME(E4ID parent_id,
E4FrameName name,
float size,
int scrolling)
name - name of the frame, used in the tag (see getFrameName())size - size in pixel or percentage of the frame (see getFrameSize())scrolling - defines, if scrolling is enabled or not (see isScrolling()SCROLLING_NONE,
SCROLLING_ENABLED,
SCROLLING_AUTO,
isScrolling()
public FRAME(E4ID parent_id,
float size,
int scrolling)
size - size in pixel or percentage of the frame (see getFrameSize())scrolling - defines, if scrolling is enabled or not (see isScrolling()SCROLLING_NONE,
SCROLLING_ENABLED,
SCROLLING_AUTO,
isScrolling(),
E4FrameName.ANY()
public FRAME(E4ID parent_id,
E4FrameName name,
float size,
boolean scrolling)
public FRAME(E4ID parent_id,
float size,
boolean scrolling)
public FRAME(E4ID parent_id,
E4FrameName name,
long size,
int scrolling)
name - the name of the framesize - size in pixel or percentage of the frame (see getFrameSize())scrolling - defines, if scrolling is enabled or not (see isScrolling()SCROLLING_NONE,
SCROLLING_ENABLED,
SCROLLING_AUTO,
isScrolling()
public FRAME(E4ID parent_id,
int size,
int scrolling)
size - size in pixel or percentage of the frame (see getFrameSize())scrolling - defines, if scrolling is enabled or not (see isScrolling()SCROLLING_NONE,
SCROLLING_ENABLED,
SCROLLING_AUTO,
isScrolling(),
E4FrameName.ANY()| Method Detail |
|---|
protected void init(E4FrameName name,
java.lang.String size,
int scrolling)
public void setResize(boolean mode)
mode - true=enable resizegetResize()public boolean getResize()
setResize(boolean)public void setBorder(boolean mode)
mode - true=display bordergetBorder()public boolean getBorder()
setBorder(boolean)public void setMarginWidth(int width)
width - width in pixel, a value of -1 uses the browser defaultsetMarginHeight(int),
getMarginWidth()public int getMarginWidth()
setMarginWidth(int),
getMarginHeight()public void setMarginHeight(int height)
margin - height in pixel, a value of -1 uses the browser defaultsetMarginWidth(int),
getMarginHeight()public int getMarginHeight()
setMarginHeight(int),
getMarginWidth()public void setScrolling(int mode)
mode - (one of SCROLLING_NONE, SCROLLING_ENABLED or SCROLLING_AUTO)SCROLLING_NONE,
SCROLLING_ENABLED,
SCROLLING_AUTO,
isScrolling(),
scrollingToString()public void setScrolling_No()
public void setScrolling_Yes()
public void setScrolling_Auto()
public void setUrl(java.lang.String url)
public void setUrl(E4Method mref)
public void setUrl(E4Method mref,
E4CgiParams params)
public java.lang.String getFrameSize()
public void setFrameSize(java.lang.String size)
size - the new frame sizegetFrameSize()public void setFrameSize(int size)
size - the new frame sizegetFrameSize()public E4FrameName getFrameName()
public int isScrolling()
SCROLLING_NONE, SCROLLING_ENABLED or SCROLLING_AUTO)SCROLLING_NONE,
SCROLLING_ENABLED,
SCROLLING_AUTO,
scrollingToString(),
setScrolling(int)public java.lang.String scrollingToString()
SCROLLING_NONE,
"YES" for SCROLLING_ENABLED or "AUTO" for SCROLLING_AUTO)isScrolling()public boolean isUrl()
constructUrl(E4ServletImplementation_Intf)public java.lang.String constructUrl(E4ServletImplementation_Intf servlet)
public static java.lang.String getPersistantParamName_FrameSize(E4FrameName framename)
framename - name of the frame
E4ServletImplementation_Intf.getPersistantParameter(String).
A value of null is returned in the case that framename == null.public static java.lang.String getPersistantParamName_FrameSize(java.lang.String framename)
framename - name of the frame
E4ServletImplementation_Intf.getPersistantParameter(String).
A value of null is returned in the case that framename == null.public java.lang.String toHtml(java.lang.String url)
public E4ID E4ID()
E4HtmlObject
E4ID in class E4HtmlObjectE4HtmlObject.E4ID(String),
E4HtmlObject.set_e4sID(e4s.util.E4ID)public void setSTYLE(CLASS_Name classname)
setSTYLE in class BODY
public void collectStylesForEditing(E4StylesHash v,
E4ServletImplementation_Intf servlet)
E4HtmlElementGeneralE4StyleUsage.
collectStylesForEditing in interface E4HtmlElement_IntfcollectStylesForEditing in class E4HtmlElementGeneralv - the Vector where the styles will be collected, may not be nullservlet - the servlet contextE4ServletImplementation_Intf.sessionCanEditStyles(),
#collectStylesForEditing(e4s.html.style.E4StylesHash, STYLE_Name, boolean)public static java.lang.String _getSVNVersionString()
E4Util.getRevisionCodeFromSVN(Class)
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||