| java.lang.Object | ||
| ↳ | com.microstrategy.web.app.gui.AbstractGuiElement | |
| ↳ | com.microstrategy.web.app.gui.GGCalendarImpl | |
GGCalendarImpl abstraction
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.gui.AbstractGuiElement
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
GGCalendarImpl()
Constructor.
| |||||||||||
|
GGCalendarImpl(String calendarImage)
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
displayDescriptors(MarkupOutput out)
function for rendering localized names for months and days.
| ||||||||||
| String |
getCalendarButtonName()
Returns calendar HTML button name.
| ||||||||||
| MarkupOutput |
renderElement()
return render element for writing output
| ||||||||||
| void |
setCSS(String calendarCSS)
function for initializing calendar css
| ||||||||||
| void |
setCalendarButtonName(String calendarButtonName)
Function for setting calendar button name
| ||||||||||
| void |
setCalendarRestrictions(String dateMax, String dateMin, String maxDateRestStr, String minDateRestStr)
function that renders Javascript code for creating an Calendar object.
| ||||||||||
| void |
setCalendarRestrictions(String dateMax, String dateMin)
function that renders Javascript code for creating an Calendar object.
| ||||||||||
| void |
setImage(String calendarImage)
function for initializing calendar image name
| ||||||||||
| void |
showCalendar(MarkupOutput out, String textBoxName, int dataType)
function for showing calendar button.
| ||||||||||
| void |
showCalendar(MarkupOutput out, String textBoxName)
function for displaying calendar button
| ||||||||||
| void |
showCalendarButton(MarkupOutput out, String calendarButtonName)
function that makes visible the calendar button.
| ||||||||||
| void |
showOrHideCalendarButton(MarkupOutput out, String pulldownMenu)
function for rendering SCRIPT code for showing or hiding calendar image.
| ||||||||||
| void |
updateOperator(MarkupOutput out, String operatorPullDownMenuName)
function for updating global variable for defining name of pulldown menu for a give operator.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.gui.AbstractGuiElement
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.web.app.gui.GGCalendar
| |||||||||||
From interface
com.microstrategy.web.app.gui.GuiElement
| |||||||||||
Constructor. No arguments.
Constructor. Takes name for calendar image.
function for rendering localized names for months and days.
| out | where to write the output of the method. |
|---|
Returns calendar HTML button name.
function for initializing calendar css
Function for setting calendar button name
| calendarButtonName | name of calendar button. |
|---|
function that renders Javascript code for creating an Calendar object. It invokes javascript code for showing a calendar object. This code will display a calendar if attribute form data type corresponds to any date type.
| dateMax | String specifies restriction for minimum date |
|---|---|
| dateMin | String specifies restriction for maximum date |
| maxDateRestStr | String specifies the id for maximum date in output |
| minDateRestStr | String specifies the id for minimum date in output |
function that renders Javascript code for creating an Calendar object. It invokes javascript code for showing a calendar object. This code will display a calendar if attribute form data type corresponds to any date type.
| dateMax | String specifies restriction for minimum date |
|---|---|
| dateMin | String specifies restriction for maximum date |
function for initializing calendar image name
| calendarImage | path to image used for rendering calendar. |
|---|
function for showing calendar button. It validates value in textfield has a time data type.
| out | where to write the output of the method. |
|---|---|
| textBoxName | HTML textfield where date values are entered. |
| dataType | current attribute form data type |
function for displaying calendar button
| out | where to write the output of the method. |
|---|---|
| textBoxName | name of HTML textbox where date value are entered by End user |
function that makes visible the calendar button.
| out | where to write the output of the method. |
|---|---|
| calendarButtonName | button name |
function for rendering SCRIPT code for showing or hiding calendar image.
| out | where to write the output of the method. |
|---|---|
| pulldownMenu | HTML menu with corresponding attribute forms and datatype |
function for updating global variable for defining name of pulldown menu for a give operator.
This is needed because this variable doesn't reflect default selection value in given operator pulldown.
| out | where to write the output of the method. |
|---|