| java.lang.Object org.wings.plaf.css.AbstractComponentCG
All known Subclasses: org.wings.plaf.css.SpacerCG, org.wings.plaf.css.SliderCG, org.wingx.plaf.css.XTableCG, org.wingx.plaf.css.PopupFrameCG, org.wings.plaf.css.AnchorCG, org.wings.plaf.css.ScrollPaneCG, org.wings.plaf.css.TableCG, org.wingx.plaf.css.ColorPickerCG, org.wings.plaf.css.PopupMenuCG, org.wings.plaf.css.TreeCG, org.wings.plaf.css.FormCG, org.wings.plaf.css.PopupCG, org.wings.plaf.css.ProgressBarCG, org.wings.plaf.css.PageScrollerCG, org.wingx.plaf.css.DivisionCG, org.wings.plaf.css.FileChooserCG, org.wings.plaf.css.InternalFrameCG, org.wings.plaf.css.ContainerCG, org.wings.plaf.css.SpinnerCG, org.wings.plaf.css.DesktopPaneCG, desktop.DpCG, org.wings.plaf.css.TabbedPaneCG, org.wings.plaf.css.TextAreaCG, org.wings.plaf.css.PasswordFieldCG, org.wings.plaf.css.ComboBoxCG, org.wingx.plaf.css.XPageScrollerCG, org.wings.plaf.css.SplitPaneCG, org.wings.plaf.css.TextFieldCG, org.wings.plaf.css.AbstractLabelCG, org.wings.plaf.css.RawTextComponentCG,
Inner Class :protected static class ComponentUpdate extends AbstractUpdate | |
Method Summary | |
public void | componentChanged(COMPONENT_TYPE component) | final protected SIcon | getBlindIcon() Retrieve a empty blind icon. | public Update | getComponentUpdate(COMPONENT_TYPE component) | protected String | getDragHandle(SComponent component) | public void | installCG(COMPONENT_TYPE component) Install the appropriate CG for component . | final protected boolean | isMSIE(SComponent component) | public void | uninstallCG(COMPONENT_TYPE component) Uninstall the CG from component . | protected void | updateDragAndDrop(SComponent component) | final public void | write(Device device, COMPONENT_TYPE component) This method renders the component (and all of its subcomponents) to the given device. | protected static void | writeContextMenu(Device device, SComponent component) Write JS code for context menus. | final protected void | writeDivPrefix(Device device, COMPONENT_TYPE component, Map optionalAttributes) Renders a DIV prefix code for a component. | final protected void | writeDivSuffix(Device device, COMPONENT_TYPE component) Renders the closing suffix for a DIV prefix. | abstract public void | writeInternal(Device device, COMPONENT_TYPE component) | final protected void | writePrefix(Device device, COMPONENT_TYPE component, boolean useTable, Map optionalAttributes) Renders the HTML prefix code for a component. | protected void | writeRegisterDragHandle(StringBuilder builder, SComponent component) | final protected void | writeSuffix(Device device, COMPONENT_TYPE component, boolean useTable) | final protected void | writeTablePrefix(Device device, COMPONENT_TYPE component) Renders the default HTML TABLE prefix code for a component. | final protected void | writeTablePrefix(Device device, COMPONENT_TYPE component, Map optionalAttributes) Renders the default HTML TABLE prefix code for a component. | final protected void | writeTableSuffix(Device device, COMPONENT_TYPE component) Renders the closing suffix for a TABLE based component prefix. | protected static void | writeTooltipMouseOver(Device device, SComponent component) Write Tooltip code. |
STRING_BUILDER | final public static SessionLocal<StringBuilder> STRING_BUILDER(Code) | | Be careful with this shared StringBuilder. Don't use it in situations where unknown code is called, that might
use the StringBuilder, too.
|
AbstractComponentCG | protected AbstractComponentCG()(Code) | | |
componentChanged | public void componentChanged(COMPONENT_TYPE component)(Code) | | |
getBlindIcon | final protected SIcon getBlindIcon()(Code) | | Retrieve a empty blind icon.
A empty blind icon. |
getComponentUpdate | public Update getComponentUpdate(COMPONENT_TYPE component)(Code) | | |
installCG | public void installCG(COMPONENT_TYPE component)(Code) | | Install the appropriate CG for component .
Parameters: component - the component |
isMSIE | final protected boolean isMSIE(SComponent component)(Code) | | true if current browser is Microsoft Internet Explorer |
uninstallCG | public void uninstallCG(COMPONENT_TYPE component)(Code) | | Uninstall the CG from component .
Parameters: component - the component |
write | final public void write(Device device, COMPONENT_TYPE component) throws IOException(Code) | | This method renders the component (and all of its subcomponents) to the given device.
|
writeDivPrefix | final protected void writeDivPrefix(Device device, COMPONENT_TYPE component, Map optionalAttributes) throws IOException(Code) | | Renders a DIV prefix code for a component. Discouraged
This prefix will handle
- All CSS Attrbiutes declared on the SComponent
- Components CSS class
- Components id
- Borders and insets (only if TABLE is used)
- Components ToolTip hooks
- Components Popup menu hooks
- components event id
eid
Parameters: device - The output device to use Parameters: component - The component to render Parameters: optionalAttributes - A map of additional CSS attributes throws: IOException - on error on the output device |
writeDivSuffix | final protected void writeDivSuffix(Device device, COMPONENT_TYPE component) throws IOException(Code) | | Renders the closing suffix for a DIV prefix.
Parameters: device - The output device to use Parameters: component - The component to render throws: IOException - on error on the output device |
writePrefix | final protected void writePrefix(Device device, COMPONENT_TYPE component, boolean useTable, Map optionalAttributes) throws IOException(Code) | | Renders the HTML prefix code for a component. This prefix will handle
- All CSS Attrbiutes declared on the SComponent
- Components CSS class
- Components id
- Borders and insets (only if TABLE is used)
- Components ToolTip hooks
- Components Popup menu hooks
- components event id
eid
Parameters: device - The output device to use Parameters: component - The component to render Parameters: useTable - true if it should be wrapped into a TABLE element (recommended!) or a DIV Parameters: optionalAttributes - A map of additional CSS attributes throws: IOException - on error on the output device |
writeSuffix | final protected void writeSuffix(Device device, COMPONENT_TYPE component, boolean useTable) throws IOException(Code) | | |
writeTablePrefix | final protected void writeTablePrefix(Device device, COMPONENT_TYPE component) throws IOException(Code) | | Renders the default HTML TABLE prefix code for a component. This prefix will handle
- All CSS Attrbiutes declared on the SComponent
- Components CSS class
- Components id
- Borders and insets (only if TABLE is used)
- Components ToolTip hooks
- Components Popup menu hooks
- components event id
eid
Parameters: device - The output device to use Parameters: component - The component to render throws: IOException - on error on the output device |
writeTablePrefix | final protected void writeTablePrefix(Device device, COMPONENT_TYPE component, Map optionalAttributes) throws IOException(Code) | | Renders the default HTML TABLE prefix code for a component. This prefix will handle
- All CSS Attrbiutes declared on the SComponent
- Components CSS class
- Components id
- Borders and insets (only if TABLE is used)
- Components ToolTip hooks
- Components Popup menu hooks
- components event id
eid
Parameters: device - The output device to use Parameters: component - The component to render throws: IOException - on error on the output device |
writeTableSuffix | final protected void writeTableSuffix(Device device, COMPONENT_TYPE component) throws IOException(Code) | | Renders the closing suffix for a TABLE based component prefix.
Parameters: device - The output device to use Parameters: component - The component to render throws: IOException - on error on the output device |
|
|