Uses of Class
com.atlassian.gadgets.view.ViewType
Packages that use ViewType
Package
Description
Contains classes related to Gadgets' Specification XML.
Contains classes related to the rendering and display of gadgets.
-
Uses of ViewType in com.atlassian.gadgets.spec
Methods in com.atlassian.gadgets.spec with parameters of type ViewTypeModifier and TypeMethodDescriptionbooleanGadgetSpec.supportsViewType(ViewType viewType) Check if a particular view is supported in this spec -
Uses of ViewType in com.atlassian.gadgets.view
Fields in com.atlassian.gadgets.view declared as ViewTypeModifier and TypeFieldDescriptionstatic final ViewTypeViewType.CANVASstatic final ViewTypeViewType.DEFAULTstatic final ViewTypeViewType.DIRECTORYMethods in com.atlassian.gadgets.view that return ViewTypeModifier and TypeMethodDescriptionstatic ViewTypeViewType.createViewType(String name, String... aliases) Creates aViewTypewith the given canonical name and optional aliases.View.getViewType()Returns theViewTypeof this gadget which will be rendered.static ViewTypeReturns theViewTypeassociated with thevalue.Methods in com.atlassian.gadgets.view with parameters of type ViewTypeModifier and TypeMethodDescriptionbooleanGadgetViewFactory.canRenderInViewType(GadgetState state, ViewType viewType, GadgetRequestContext gadgetRequestContext) Returnstrueif the gadget represented bystatecan be rendered with the givenViewTypefor thelocalespecified in theGadgetRequestContext.static booleanViewType.removeViewType(ViewType viewType) Removes aViewType.Sets theViewTypeto use