com.wewebu.ow.server.app
Class OwWindowPositions

java.lang.Object
  extended by com.wewebu.ow.server.app.OwWindowPositions
Direct Known Subclasses:
OwSettingsPropertyWindowPositions.OwWindowPositionsImpl

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


Field Summary
static int UNITS_PERCENT
          units, see getUnits
static int UNITS_PIXEL
          units, see getUnits
 
Constructor Summary
OwWindowPositions()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNITS_PIXEL

public static final int UNITS_PIXEL
units, see getUnits

See Also:
Constant Field Values

UNITS_PERCENT

public static final int UNITS_PERCENT
units, see getUnits

See Also:
Constant Field Values
Constructor Detail

OwWindowPositions

public OwWindowPositions()
Method Detail

getUndefWindowPosition

public static OwWindowPositions getUndefWindowPosition()
get a undefined window position


getViewerWidth

public abstract int getViewerWidth()

getViewerHeight

public abstract int getViewerHeight()

getViewerTopX

public abstract int getViewerTopX()

getViewerTopY

public abstract int getViewerTopY()

getWindowWidth

public abstract int getWindowWidth()

getWindowHeight

public abstract int getWindowHeight()

getWindowTopX

public abstract int getWindowTopX()

getWindowTopY

public abstract int getWindowTopY()

getPositionMainWindow

public abstract boolean getPositionMainWindow()

getUnits

public abstract int getUnits()
return units as defined with UNITS_...


setFromRequest

public abstract void setFromRequest(javax.servlet.http.HttpServletRequest request_p,
                                    String strBaseID_p)
                             throws Exception
set value from request

Parameters:
request_p - HttpServletRequest with form data to update the property
strBaseID_p - String the HTML form element base ID of the requested value
Throws:
OwInvalidOperationException
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.