public class OwSettingsPropertyWindowPositions.OwWindowPositionsImpl extends OwWindowPositions
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
relativePos
Marker to know if the current position is defined with relative or absolute coordinates
|
UNITS_PERCENT, UNITS_PIXEL| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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) |
getUndefWindowPositionprotected boolean relativePos
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 valueOwInvalidOperationExceptionpublic OwSettingsPropertyWindowPositions.OwWindowPositionsImpl(Node valueNode_p)
valueNode_p - Nodepublic 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 valueOwInvalidOperationExceptionprotected 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 useExceptionprotected void writeBooleanMember(Writer w_p, boolean fValue_p, String strID_p, String sName_p, Locale locale_p) throws Exception
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()
OwWindowPositionsgetUnits in class OwWindowPositionsCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.