public abstract class OwWindowPositions extends Object
Settings value for the window / viewer positions when the viewer is opened via autoopen feature.
(see autoviewermode in owmimetable.xml, getWindowPositions() in OwMainAppContext
and openObject in OwMimeManager
)
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Modifier and Type | Field and Description |
---|---|
static int |
UNITS_PERCENT
units, see getUnits
|
static int |
UNITS_PIXEL
units, see getUnits
|
Constructor and Description |
---|
OwWindowPositions() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
getPositionMainWindow() |
static OwWindowPositions |
getUndefWindowPosition()
get a undefined window position
|
abstract int |
getUnits()
return units as defined with UNITS_...
|
abstract int |
getViewerHeight() |
abstract int |
getViewerTopX() |
abstract int |
getViewerTopY() |
abstract int |
getViewerWidth() |
abstract int |
getWindowHeight() |
abstract int |
getWindowTopX() |
abstract int |
getWindowTopY() |
abstract int |
getWindowWidth() |
abstract void |
setFromRequest(javax.servlet.http.HttpServletRequest request_p,
String strBaseID_p)
set value from request
|
public static final int UNITS_PIXEL
public static final int UNITS_PERCENT
public static OwWindowPositions getUndefWindowPosition()
public abstract int getViewerWidth()
public abstract int getViewerHeight()
public abstract int getViewerTopX()
public abstract int getViewerTopY()
public abstract int getWindowWidth()
public abstract int getWindowHeight()
public abstract int getWindowTopX()
public abstract int getWindowTopY()
public abstract boolean getPositionMainWindow()
public abstract int getUnits()
public abstract void setFromRequest(javax.servlet.http.HttpServletRequest request_p, String strBaseID_p) throws Exception
request_p
- HttpServletRequest with form data to update the propertystrBaseID_p
- String the HTML form element base ID of the requested valueOwInvalidOperationException
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.