|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.app.OwWindowPositions
com.wewebu.ow.server.settingsimpl.OwSettingsPropertyWindowPositions.OwWindowPositionsImpl
public class OwSettingsPropertyWindowPositions.OwWindowPositionsImpl
tuple that holds window position information
| Field Summary | |
|---|---|
protected boolean |
relativePos
Marker to know if the current position is defined with relative or absolute coordinates |
| Fields inherited from class com.wewebu.ow.server.app.OwWindowPositions |
|---|
UNITS_PERCENT, UNITS_PIXEL |
| Constructor Summary | |
|---|---|
OwSettingsPropertyWindowPositions.OwWindowPositionsImpl()
create default value |
|
OwSettingsPropertyWindowPositions.OwWindowPositionsImpl(javax.servlet.http.HttpServletRequest request_p,
String strID_p)
create from request |
|
OwSettingsPropertyWindowPositions.OwWindowPositionsImpl(Node valueNode_p)
construct value from XML node |
|
| Method Summary | |
|---|---|
void |
appendNode(Node valueRootNode_p)
append the value as a XML node to the given node |
OwSettingsPropertyWindowPositions.OwWindowPositionsImpl |
createClone()
clone value |
boolean |
getPositionMainWindow()
|
int |
getUnits()
return units as defined with UNITS_... |
int |
getViewerHeight()
|
int |
getViewerTopX()
|
int |
getViewerTopY()
|
int |
getViewerWidth()
|
int |
getWindowHeight()
|
int |
getWindowTopX()
|
int |
getWindowTopY()
|
int |
getWindowWidth()
|
protected void |
insertFormValue(Writer w_p,
String strID_p,
Locale locale_p)
overridable to insert a single value into a edit HTML form |
void |
insertSettingsApplet(Writer w_p)
insert desktop settings applet tag |
void |
setFromRequest(javax.servlet.http.HttpServletRequest request_p,
String strBaseID_p)
set value from request |
protected void |
writeBooleanMember(Writer w_p,
boolean fValue_p,
String strID_p,
String sName_p,
Locale locale_p)
|
| Methods inherited from class com.wewebu.ow.server.app.OwWindowPositions |
|---|
getUndefWindowPosition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean relativePos
| Constructor Detail |
|---|
public OwSettingsPropertyWindowPositions.OwWindowPositionsImpl()
public OwSettingsPropertyWindowPositions.OwWindowPositionsImpl(javax.servlet.http.HttpServletRequest request_p,
String strID_p)
throws OwInvalidOperationException
request_p - HttpServletRequest with form data to update the propertystrID_p - String the HTML form element ID of the requested value
OwInvalidOperationExceptionpublic OwSettingsPropertyWindowPositions.OwWindowPositionsImpl(Node valueNode_p)
valueNode_p - Node| Method Detail |
|---|
public void setFromRequest(javax.servlet.http.HttpServletRequest request_p,
String strBaseID_p)
throws OwInvalidOperationException
setFromRequest in class OwWindowPositionsrequest_p - HttpServletRequest with form data to update the propertystrBaseID_p - String the HTML form element base ID of the requested value
OwInvalidOperationException
protected void insertFormValue(Writer w_p,
String strID_p,
Locale locale_p)
throws Exception
w_p - Writer to write HTML code tostrID_p - String the ID of the HTML element for use in onApplylocale_p - Locale to use
Exception
protected void writeBooleanMember(Writer w_p,
boolean fValue_p,
String strID_p,
String sName_p,
Locale locale_p)
throws Exception
Exception
public void insertSettingsApplet(Writer w_p)
throws IOException,
Exception
IOException
Exceptionpublic OwSettingsPropertyWindowPositions.OwWindowPositionsImpl createClone()
public void appendNode(Node valueRootNode_p)
valueRootNode_p - Nodepublic int getViewerWidth()
getViewerWidth in class OwWindowPositionspublic int getViewerHeight()
getViewerHeight in class OwWindowPositionspublic int getViewerTopX()
getViewerTopX in class OwWindowPositionspublic int getViewerTopY()
getViewerTopY in class OwWindowPositionspublic int getWindowWidth()
getWindowWidth in class OwWindowPositionspublic int getWindowHeight()
getWindowHeight in class OwWindowPositionspublic int getWindowTopX()
getWindowTopX in class OwWindowPositionspublic int getWindowTopY()
getWindowTopY in class OwWindowPositionspublic boolean getPositionMainWindow()
getPositionMainWindow in class OwWindowPositionspublic int getUnits()
OwWindowPositions
getUnits in class OwWindowPositions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||