dundas.views.admin.AdminSeatUsage Class

 

Inheritance Hierarchy

 
Class
   dundas.views.admin.AdminSeatUsage
 

Constructors

 
  Name Description
init Creates the seat usage control to display the data.
 
 

Properties

 
  Name Description
allocatedCount The amount of seats allocated to tenants.
container The HTML DOM element this control will be shown in.
errorText The text to display if there is an error.
inUseCount The amount of seats in use.
isAllocatedShown Flag used to indicate if allocated is shown.
isClickable Flag used to indicate if the 'In Use' is clickable.
isElasticHour Flag used to indicate if it's elastic hour shown.
isElasticSeat Flag used to indicate if it's elastic seat shown.
isReserved Flag used to indicate if the seat is reserved or not.
isUnlimited Flag used to indicate if it's unlimited or not.
seatType Enum used to indicate the seat type.
title The title of the control.
totalCount The amount of seats in total.
 
 

Methods

 
  Name Description
create Creates the control and adds it to the screen.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.