index.html
来自「eclipse插件jigloo」· HTML 代码 · 共 307 行
HTML
307 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Jigloo 4.0 new features</title>
</head>
<body>
<font face="Helvetica, Arial, sans-serif" style="font-family: tahoma;"><u><big><b><br>
<big>What's new in Jigloo version 4.0</big></b></big></u><big><small><small></small></small></big><u><big><b><big><br>
<br>
</big></b></big></u></font>
<table style="text-align: left; width: 100%;" border="0" cellspacing="2"
cellpadding="2">
<tbody>
<tr>
<td colspan="2" style="vertical-align: top; width: 30%;"><small
style="font-family: tahoma;"><font style="font-family: tahoma;"><span
style="font-weight: bold;">Mac
support for Swing<br>
<br>
</span></font></small> <small style="font-family: tahoma;">Swing
now works on a Mac, and now there is full Mac OSX support - tested on
an
Intel MacBook.</small></td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top;">
<hr style="width: 100%; height: 2px;"></td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top;"><small><span
style="font-family: tahoma; font-weight: bold;">Libraries added to
projects automatically<br>
<br>
</span></small><small><span style="font-family: tahoma;">When
libraries (native and java) are required for a feature (ie SWT,
GroupLayout - pre Java 6, and Swing Application Framework) then
they will be automatically copied into the project and added to the
classpath.</span></small><br>
</td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top;">
<hr style="width: 100%; height: 2px;"></td>
</tr>
<tr>
<td style="vertical-align: top; width: 30%;"><small
style="font-family: tahoma;"><font
style="font-family: tahoma; font-weight: bold;">Support for Swing
Application Framework:<br>
<br>
Please note:<br>
</font></small>
<div style="margin-left: 40px;"><small
style="font-family: tahoma;"><font style="font-family: tahoma;">In
order to use the <a href="https://appframework.dev.java.net">Swing
Application Framework</a> <span
style="font-weight: bold; font-style: italic;">you need to
use
Java 6.0</span> to run Eclipse and to compile and run the
applications.</font></small><br>
</div>
<ul style="font-family: tahoma;">
<li><small><font style="font-family: tahoma;">Two new options
for
creating SingleFrameApplications have been added under "New->GUI
Forms->Swing App Framework". You can create a sample application
with menu bar and tool bar, or an empty single-frame appliation.</font><font
style="font-family: tahoma;"> </font></small></li>
<li><small><font style="font-family: tahoma;">The form editor
has been changed by the
addition of a "Properties" tab, which shows the properties file used by
the application. This file is updated automatically and can also be
manually edited, with changes being reflected in</font></small><small><font
style="font-family: tahoma;"> the form.</font></small></li>
</ul>
<small><font style="font-family: tahoma;"><br>
</font></small></td>
<td style="vertical-align: top;"><small><font
style="font-family: tahoma;"> <br>
</font></small>
<table cellpadding="2" cellspacing="2" border="0"
style="text-align: left; width: 100%;">
<tbody>
<tr>
<td style="vertical-align: top;"><small><font
style="font-family: tahoma;"><img src="appFwrkPropertyEditor.png"
title="" alt="" style="width: 405px; height: 600px;" align="right"></font></small></td>
<td style="vertical-align: top;"><small><font
style="font-family: tahoma;"><img src="newButton.png" title="" alt=""
style="width: 405px; height: 696px;" align="right"></font></small></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top;">
<hr style="width: 100%; height: 2px;"></td>
</tr>
<tr>
<td style="vertical-align: top; width: 30%;"><small
style="font-family: tahoma;"><font style="font-family: tahoma;"><span
style="font-weight: bold;">Actions:</span></font></small><br>
<ul style="font-family: tahoma;">
<li><small><font style="font-family: tahoma;">Actions
are implemented for AppFramework
applications by using the annotation method for defining action
handlers. By default there are four actions pre-defined by the
framework - cut/copy/paste and delete.</font></small><small><font
style="font-family: tahoma;"> To add a new action use the </font></small><small><font
style="font-family: tahoma;">"Abstract Action" </font></small><small><font
style="font-family: tahoma;">icon under the Swing palette "More
components".</font></small><small><font style="font-family: tahoma;">
If one of these is dropped
anywhere on the form it will create a new action, not yet connected to
a visual element. If it is dropped directly on an element (say, a
JButton or JMenuItem) then it will be created and immediately
associated with that element.</font></small></li>
</ul>
</td>
<td style="vertical-align: top;"><small><font
style="font-family: tahoma;"><img src="action2button.png" title=""
alt="" style="width: 238px; height: 157px;" align="left"></font></small></td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 30%;">
<ul style="font-family: tahoma;">
<li><small><font style="font-family: tahoma;">You</font></small><small><font
style="font-family: tahoma;"> will see the
action under the "Extra components node in the</font></small><small><font
style="font-family: tahoma;"> Outline view, and to set
this action for a button or other Swing element, simply
drag and drop it on the </font></small><small><font
style="font-family: tahoma;">component. You can also set the action by
selecting one of the actions from the drop-down for the "ac</font></small><small><font
style="font-family: tahoma;">tion"
property in the </font></small><small><font
style="font-family: tahoma;">"Property editor" view.</font></small></li>
</ul>
</td>
<td style="vertical-align: top;"><small><font
style="font-family: tahoma;"><img src="actionUnderButton.png" title=""
alt="" style="width: 238px; height: 157px;" align="left"></font></small></td>
</tr>
<tr>
<td style="vertical-align: top;" colspan="2"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 30%;">
<ul>
<li><small><font style="font-family: tahoma;">Actions
are also implemented for normal Swing applications. They are
manipulated in the same way as for Application</font></small><small><font
style="font-family: tahoma;"> Framework applications,
but the code generated does not use annotations.</font></small></li>
</ul>
</td>
<td style="vertical-align: top;"><small><font
style="font-family: tahoma;"><img src="actionDropdown.png" title=""
alt="" style="width: 323px; height: 105px;" align="left"></font></small></td>
</tr>
<tr>
<td style="vertical-align: top;" colspan="2">
<hr style="width: 100%; height: 2px;"></td>
</tr>
<tr>
<td style="vertical-align: top; width: 30%;"><small
style="font-family: tahoma;"><span style="font-weight: bold;">Surround
by:</span></small><small style="font-family: tahoma;"><font
style="font-family: tahoma;">
There is a new "surround by" right-click
option, which allows you to surround Swing or SWT elements with a new
container component. This is useful if, say, you realise your text
component needs to be inside a scroll panel, or a set of elements need
to be displayed inside a tab of a new tabbed panel.</font></small></td>
<td style="vertical-align: top;"><small
style="font-family: tahoma;"><font style="font-family: tahoma;"><img
src="surroundBy.png" title="" alt=""
style="width: 502px; height: 155px;" align="left"></font></small></td>
</tr>
<tr>
<td style="vertical-align: top;" colspan="2">
<hr style="width: 100%; height: 2px;"></td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top; width: 30%;"><small
style="font-family: tahoma;"><span style="font-weight: bold;">GroupLayout
support enhanced:</span><br>
</small>
<ul>
<li><small style="font-family: tahoma;"><font
style="font-family: tahoma;">Improved GroupLayout support - UNRELATED
gaps are now supported, as well as linkSize code generated when
elements are made the same width or height</font></small></li>
<li><small style="font-family: tahoma;"><font
style="font-family: tahoma;">Intelligent anchoring and expanding - for
example if an element is docked onto the right side of the container it
will be anchored RIGHT, and if it is stretched between the left side of
the container and a right-anchored element it will expand horizontally<br>
</font></small></li>
<li><small style="font-family: tahoma;"><font
style="font-family: tahoma;">Support for Java 6
javax.swing.GroupLayout - check the new option in the Jigloo
preferences "Code generation" page.</font></small></li>
</ul>
</td>
</tr>
<tr>
<td style="vertical-align: top;" colspan="2">
<hr style="width: 100%; height: 2px;"></td>
</tr>
<tr>
<td style="vertical-align: top; width: 30%;"><small
style="font-family: tahoma;"><span style="font-weight: bold;">Multiple
"root" elements:</span></small><small style="font-family: tahoma;"><font
style="font-family: tahoma;">
Support for multiple "root" components
(eg, JDialogs or
other non-contained containers such as JPanels which are not the main
class and have not been added to any other component).</font></small><br>
<small style="font-family: tahoma;"><font
style="font-family: tahoma;">Simply
drop a JDialog (or JPanel etc) onto the form outside of the current
root component. It will appear as a new root node in the Outline view.
To make this new component appear as the root node, select it in the
Outline view. Use the Outline view to switch between root components.</font></small></td>
<td style="vertical-align: top;"><small
style="font-family: tahoma;"><font style="font-family: tahoma;"><img
src="newRoot.png" title="" alt="" style="width: 602px; height: 264px;"
align="left"></font></small></td>
</tr>
<tr>
<td style="vertical-align: top;" colspan="2">
<hr style="width: 100%; height: 2px;"></td>
</tr>
<tr>
<td style="vertical-align: top; width: 30%;"><small
style="font-family: tahoma;"><span style="font-weight: bold;">Enhanc</span></small><small
style="font-family: tahoma;"><span style="font-weight: bold;">ements
for absolute-type layouts:</span></small>
<ul>
<li><small style="font-family: tahoma;"><font
style="font-family: tahoma;">For Swing and SWT absolute-type layouts
(SWT Form, Swing Anchor, and Absolute),
alignment lines (the same
as are used for Swing GroupLayout) are used instead of grid lines to
position
components relative to one another. </font></small></li>
<li><small style="font-family: tahoma;"><font
style="font-family: tahoma;">It is also possible to move controls (in
absolute-type layouts) using arrow keys</font></small></li>
</ul>
</td>
<td style="vertical-align: top;"><small
style="font-family: tahoma;"><font style="font-family: tahoma;"><img
src="alignment.png" title="" alt=""
style="width: 264px; height: 238px;" align="left"></font></small></td>
</tr>
<tr>
<td style="vertical-align: top;" colspan="2">
<hr style="width: 100%; height: 2px;"></td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top; width: 30%;"><small
style="font-family: tahoma;"><font style="font-family: tahoma;"><span
style="font-weight: bold;">Component palette:<br>
<br>
</span></font></small> <small style="font-family: tahoma;"><font
style="font-family: tahoma;">Import and export of component palette -
two new buttons on the
"Component palette" preference page. These save and load encoded text
files and allow palettes to be distributed </font></small></td>
</tr>
<tr>
<td style="vertical-align: top;" colspan="2">
<hr style="width: 100%; height: 2px;"></td>
</tr>
<tr>
<td style="vertical-align: top; width: 30%;"><font face="Tahoma"
style="font-family: tahoma;"><font size="-1"><font size="-1"><span
style="font-weight: bold;">Mnemonics and Accelerators<br>
</span></font></font></font>
<div style="margin-left: 40px;"><small><span
style="font-family: tahoma;"><br>
Property editors for these properties
have been improved - for mnemonics, just hit the key you want to be the
mnemonic for a button etc, and for accelerators, hold the keys down
that you want to define the accelerator - eg, pressing CTRL+N will
result in an accelerator key stroke of "ctrl N"</span></small></div>
</td>
<td style="vertical-align: top;"><small><span
style="font-family: tahoma;"><img src="accelEditor.png" title="" alt=""
style="width: 264px; height: 152px;" align="left"></span></small></td>
</tr>
</tbody>
</table>
<small style="font-family: tahoma;"><font style="font-family: tahoma;"><br>
</font></small>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?