public class DHXMiniCalendar extends DHXPlannerControlsItem
Constructor and Description |
---|
DHXMiniCalendar()
Create instance of MiniCalendar class
|
DHXMiniCalendar(java.lang.String container)
Create MiniCalendar nested in DOM element
|
Modifier and Type | Method and Description |
---|---|
void |
attachToHeader(java.lang.String position)
Attachs mini calendar to scheduler's header
|
java.lang.String |
getContainer()
Id of DOM element where mini calendar shoud be placed
|
java.util.Calendar |
getDate()
Selected date
|
java.lang.String |
getHandler()
Mini calendar onDateSelect handler(js function)
|
java.util.HashMap<java.lang.String,DHXFileType> |
getJS()
Get js files which is reqired by current configuration
|
java.lang.Boolean |
getNavigation()
Allow/Deny month scroll
|
java.lang.Boolean |
isAttachedToHeader()
Whether mini calendar is attached to scheduler or other dom element
|
void |
setContainer(java.lang.String value)
Id of DOM element where mini calendar shoud be placed
|
void |
setDate(java.util.Calendar value)
Selected date
|
void |
setNavigation(java.lang.Boolean value)
Allow/Deny month scroll
|
java.lang.String |
setPosition()
Css class name of scheduler element, where calendar should be applied(mini calendar will appear on click on element with this classname)
|
void |
setPosition(java.lang.String value)
Css class name of scheduler element, where calendar should be applied(mini calendar will appear on click on element with this classname)
|
get, getBool, getCSS, getDate, getHiddenProperties, getInt, getObject, getProperties, getRaw, getVisibleProperties, set
public DHXMiniCalendar()
public DHXMiniCalendar(java.lang.String container)
container
- DOM element IDpublic java.util.HashMap<java.lang.String,DHXFileType> getJS()
DHXPlannerControlsItem
getJS
in class DHXPlannerControlsItem
public void attachToHeader(java.lang.String position)
position
- public java.lang.String getHandler()
public java.lang.Boolean isAttachedToHeader()
public java.lang.String setPosition()
public void setPosition(java.lang.String value)
value
- public java.lang.String getContainer()
public void setContainer(java.lang.String value)
value
- public java.util.Calendar getDate()
public void setDate(java.util.Calendar value)
value
- public java.lang.Boolean getNavigation()
public void setNavigation(java.lang.Boolean value)
value
-