Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "E4/CSS/SWT Mapping"

< E4‎ | CSS
Line 53: Line 53:
 
         font-weight: bold;<br>
 
         font-weight: bold;<br>
 
         font-family: "Terminal"; }</td>
 
         font-family: "Terminal"; }</td>
 +
</tr>
 +
<tr>
 +
<td>control</td>
 +
<td>setForeground(Color)</td>
 +
<td>color</td>
 +
<td>Button { color: #FF0000 }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setBorderVisible(Boolean)</td>
 +
<td>borderVisible</td>
 +
<td>CTabFolder { borderVisible: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setMaximized(Boolean)</td>
 +
<td>maximized</td>
 +
<td>CTabFolder { maximized: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setMinimized(Boolean)</td>
 +
<td>minimized</td>
 +
<td>CTabFolder { minimized: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setMaximizeVisible(Boolean)</td>
 +
<td>maximizeVisible</td>
 +
<td>CTabFolder { maximizeVisible: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setMinimizeVisible(Boolean)</td>
 +
<td>minimizeVisible</td>
 +
<td>CTabFolder { minimizeVisible: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setMRUVisible(Boolean)</td>
 +
<td>mruVisible</td>
 +
<td>CTabFolder { mruVisible: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setShowClose(Boolean)</td>
 +
<td>showClose</td>
 +
<td>CTabFolder { showClose: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setSimple(Boolean)</td>
 +
<td>simple</td>
 +
<td>CTabFolder { simple: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setSingle(Boolean)</td>
 +
<td>single</td>
 +
<td>CTabFolder { single: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setUnselectedCloseVisible(Boolean)</td>
 +
<td>unselectedCloseVisible</td>
 +
<td>CTabFolder { unselectedCloseVisible: true }</td>
 +
</tr>
 +
<tr>
 +
<td>CTabFolder</td>
 +
<td>setUnselectedImageVisible(Boolean)</td>
 +
<td>unselectedImageVisible</td>
 +
<td>CTabFolder { unselectedImageVisible: true }</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 15:13, 25 February 2009

SWT Widgets SWT Method CSS Property Name CSS Example
control setBackground(Color) background-color Button { background-color: #FF0000 }
control setBackgroundImage(Image) background-image Button { background-image: some url }
control border-color Button { border-color: ##FF0000; }
control border-width Button { border-width: 3 }
control border-style Button { border-style: dotted }
control setCurosr(Cursor) cursor Shell { cursor:crosshair }
control setFont(Font) font-style

font-size
font-weight

font-family
Label { font-style: italic;
       font-size: 12;
font-weight: bold;
font-family: "Terminal"; }
control setForeground(Color) color Button { color: #FF0000 }
CTabFolder setBorderVisible(Boolean) borderVisible CTabFolder { borderVisible: true }
CTabFolder setMaximized(Boolean) maximized CTabFolder { maximized: true }
CTabFolder setMinimized(Boolean) minimized CTabFolder { minimized: true }
CTabFolder setMaximizeVisible(Boolean) maximizeVisible CTabFolder { maximizeVisible: true }
CTabFolder setMinimizeVisible(Boolean) minimizeVisible CTabFolder { minimizeVisible: true }
CTabFolder setMRUVisible(Boolean) mruVisible CTabFolder { mruVisible: true }
CTabFolder setShowClose(Boolean) showClose CTabFolder { showClose: true }
CTabFolder setSimple(Boolean) simple CTabFolder { simple: true }
CTabFolder setSingle(Boolean) single CTabFolder { single: true }
CTabFolder setUnselectedCloseVisible(Boolean) unselectedCloseVisible CTabFolder { unselectedCloseVisible: true }
CTabFolder setUnselectedImageVisible(Boolean) unselectedImageVisible CTabFolder { unselectedImageVisible: true }

Back to the top