| java.lang.Object org.wings.plaf.css.FrameCG
All known Subclasses: org.wings.plaf.css.PortletFrameCG,
FrameCG | public class FrameCG implements org.wings.plaf.FrameCG(Code) | | PLAF renderer for SFrames.
Does quite many abritriray things i.e. registering diverse service scripts, etc.
|
Inner Class :class InputMapRequestListener | |
Inner Class :protected class HeaderScriptUpdate extends AbstractUpdate | |
Inner Class :protected class UpdateEnabledUpdate extends AbstractUpdate | |
Inner Class :protected class AddWindowUpdate extends AbstractUpdate | |
Inner Class :protected class RemoveWindowUpdate extends AbstractUpdate | |
Constructor Summary | |
public | FrameCG() |
Method Summary | |
public void | componentChanged(SComponent c) | public Update | getAddHeaderUpdate(SFrame frame, int index, Object header) | public Update | getAddHeaderUpdate(SFrame frame, Object header) | public Update | getAddWindowUpdate(SContainer container, SWindow window) | public Update | getComponentUpdate(SComponent component) | public String | getDocumentType() | public Update | getEpochUpdate(SFrame frame, String epoch) | public Update | getFocusUpdate(SFrame frame, SComponent focus) | public Update | getRemoveHeaderUpdate(SFrame frame, Object header) | public Update | getRemoveWindowUpdate(SContainer container, SWindow window) | public Boolean | getRenderXmlDeclaration() The current rendered DOCTYPE of this document. | public Update | getUpdateEnabledUpdate(SFrame frame, boolean enabled) | protected void | handleScripts(Device device, SComponent component) | public void | installCG(SComponent comp) | public void | setDocumentType(String documentType) | public void | setRenderXmlDeclaration(Boolean renderXmlDeclaration) Sets should the returned HTML page start with the <?xml version="1.0" encoding="...">. | protected String | strokes(Set<SComponent> components) | public void | uninstallCG(SComponent comp) Uninstall renderer (i.e. | public void | write(Device device, SComponent component) |
QUIRKS_DOCTYPE | final public static String QUIRKS_DOCTYPE(Code) | | The HTML DOCTYPE setting all browsers to Quirks mode. We need this to force IE to use the correct box
rendering model. It's the only browser you cannot reconfigure via a CSS tag.
|
STRICT_DOCTYPE | final public static String STRICT_DOCTYPE(Code) | | The default DOCTYPE enforcing standard (non-quirks mode) in all current browsers. Please be aware, that
changing the DOCTYPE may change the way how browser renders the generate document i.e. esp. the CSS
attribute inheritance does not work correctly on table elements.
See i.e. http://www.ericmeyeroncss.com/bonus/render-mode.html
|
FrameCG | public FrameCG()(Code) | | Initialize properties from config
|
getUpdateEnabledUpdate | public Update getUpdateEnabledUpdate(SFrame frame, boolean enabled)(Code) | | |
setDocumentType | public void setDocumentType(String documentType)(Code) | | |
setRenderXmlDeclaration | public void setRenderXmlDeclaration(Boolean renderXmlDeclaration)(Code) | | Sets should the returned HTML page start with the <?xml version="1.0" encoding="...">.
This has effects which rendering mode the browsers will choose (quirks/strict)
Parameters: renderXmlDeclaration - should the returned HTML page start with the <?xml version="1.0" encoding="...">. |
uninstallCG | public void uninstallCG(SComponent comp)(Code) | | Uninstall renderer (i.e. other to apply other renderer).
|
|
|