src/main/java/de/ipb_halle/molecularfaces/component/molplugin/MolPluginRenderer.java
/**
	 * Generate the inline css style for the &lt;div&gt; element of the rendered
	 * editor or viewer.
	 * 
	 * @param plugin component of the molecular structure plugin
	 * @return inline css style
	 */
Generate the inline css style for the <div> element of the rendered
editor or viewer.

@param plugin component of the molecular structure plugin
@return inline css style
Generate the inline css style for the <div > element of the rendered editor or viewer . @param plugin component of the molecular structure plugin @return inline css style
protected String generateDivStyle(MolPluginCore plugin) {
		StringBuilder sb = new StringBuilder(128);
		sb.append("width:").append(plugin.getWidth()).append("px;");
		sb.append("height:").append(plugin.getHeight()).append("px;");
		if (plugin.isBorder()) {
			sb.append("border:solid;border-width:1px;");
		}
		return sb.toString();
	}
protected String generateDivStyle ( MolPluginCore plugin ) { StringBuilder sb = new StringBuilder ( 128 ) ; sb . append ( "width:" ) . append ( plugin . getWidth ( ) ) . append ( "px;" ) ; sb . append ( "height:" ) . append ( plugin . getHeight ( ) ) . append ( "px;" ) ; if ( plugin . isBorder ( ) ) { sb . append ( "border:solid;border-width:1px;" ) ; } return sb . toString ( ) ; }
Generate the inline css style for the &lt;div&gt; element of the rendered
 editor or viewer.
Generate the inline css style for the &lt ; div&gt ; element of the rendered editor or viewer .
// width attribute // height attribute // border attribute