Interface WebViewInstance

    • Method Detail

      • getTemplatePropertySetFilter

        SimpleList getTemplatePropertySetFilter()

        Returns an editable property set filter correponding to main template object properties.

        Returns:
        an editable property set filter
      • getTemplatePropertySets

        WebPropertyGroup getTemplatePropertySets()
                                          throws WebObjectsException

        Returns all the property sets in a WebPropertyGroup corresponding to the main template object.

        Returns:
        the associated property sets corresponding to the main template object
        Throws:
        WebObjectsException - if there is a problem retrieving the property sets
      • getTemplatePropertySet

        WebPropertySet getTemplatePropertySet​(java.lang.String propertySetName)
                                       throws WebObjectsException,
                                              java.lang.IllegalArgumentException

        Returns the WebPropertySet with the given name.

        Parameters:
        propertySetName - name of the property set to retrieve
        Returns:
        the property set matching the given property set name
        Throws:
        WebObjectsException - if there is a problem retrieving the property set
        java.lang.IllegalArgumentException - if the name is empty, or no corresponding WebPropertySet exists
      • setTemplateProperty

        void setTemplateProperty​(java.lang.String propertySetName,
                                 java.lang.String propertyName,
                                 java.lang.String propertyValue)
                          throws WebObjectsException,
                                 java.lang.IllegalArgumentException

        Sets the value of a specific property.

        Parameters:
        propertySetName - the property set name
        propertyName - the property name
        propertyValue - the property value
        Throws:
        WebObjectsException - if there is a problem setting the new value
        java.lang.IllegalArgumentException - if no property set name or property name is specified, or they don't exist
      • setDefaultForTemplateProperty

        void setDefaultForTemplateProperty​(java.lang.String propertySetName,
                                           java.lang.String propertyName)
                                    throws java.lang.IllegalArgumentException,
                                           WebObjectsException
        Sets the value for the given property to be the default value for the property.
        Parameters:
        propertySetName - the name of the property set which contains the property to change
        propertyName - the name of the property to change
        Throws:
        java.lang.IllegalArgumentException - if the property set name or property name is empty or does not exist
        WebObjectsException - if an error occurs when setting the property value
      • getGridWidths

        WebGridWidths getGridWidths()
                             throws WebObjectsException

        Returns a collection describing the various column widths of the underlying grid.

        Returns:
        the grid column widths collection
        Throws:
        WebObjectsException - if there is a problem retrieving the grid column widths
      • isReadOnly

        boolean isReadOnly()
      • shouldAppendCSS

        java.lang.Boolean shouldAppendCSS()
        Returns whether the CSS provided in this view's XML was partial and should be appended to the current CSS. If no CSS is available, then null is returned.
        Returns:
        boolean whether the received CSS should be appended to the current CSS, otherwise null indicates no CSS is available