--- /dev/null
+
+ Changes between version 5.5.1 and 5.6.0
+ =======================================
+
+
+Compilation
+============
+
+* --without-xcos now only disable Xcos compilation. Xcos Graphic interface is disabled
+using --without-gui.
-SCIVERSION=Scilab-Branch-5.5-GIT
+SCIVERSION=Scilab-Branch-master-GIT
SCI_SRCDIR_FULL="`cd $SCI_SRCDIR && pwd`"
SCILAB_VERSION_MAJOR=5
-SCILAB_VERSION_MINOR=5
-SCILAB_VERSION_MAINTENANCE=1
+SCILAB_VERSION_MINOR=6
+SCILAB_VERSION_MAINTENANCE=0
if test "$with_gui" = no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GUI is disabled. Disabling then xcos" >&5
-$as_echo "$as_me: WARNING: GUI is disabled. Disabling then xcos" >&2;}
- with_xcos=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GUI is disabled. Disabling then Xcos GUI" >&5
+$as_echo "$as_me: WARNING: GUI is disabled. Disabling then Xcos GUI" >&2;}
fi
XCOS_ENABLE=no
-if test "$with_xcos" != no -a "$with_gui" != no; then
+if test "$with_xcos" != no; then
$as_echo "#define WITH_XCOS /**/" >>confdefs.h
$as_echo_n "checking to see if the java compiler works... " >&6; }
cat << \EOF > conftest.java
-// #line 11052 "configure"
+// #line 11051 "configure"
import java.util.regex.Pattern;
if test "x$ac_java_jvm_name" = "x" ; then
cat << \EOF > conftest.java
-// #line 11139 "configure"
+// #line 11138 "configure"
import java.util.regex.Pattern;
import gnu.java.io.EncodingManager;
# The class java.nio.charset.Charset is new to 1.4
cat << \EOF > conftest.java
-// #line 11223 "configure"
+// #line 11222 "configure"
import java.util.regex.Pattern;
import java.nio.charset.Charset;
# The class java.lang.StringBuilder is new to 1.5
cat << \EOF > conftest.java
-// #line 11288 "configure"
+// #line 11287 "configure"
import java.util.regex.Pattern;
import java.lang.StringBuilder;
# The class java.util.ArrayDeque is new to 1.6
cat << \EOF > conftest.java
-// #line 11353 "configure"
+// #line 11352 "configure"
import java.util.regex.Pattern;
import java.util.ArrayDeque;
# The class java.nio.file.Path is new to 1.7
cat << \EOF > conftest.java
-// #line 11418 "configure"
+// #line 11417 "configure"
import java.util.regex.Pattern;
import java.nio.file.Path;
# The class java.util.stream.DoubleStream is new to 1.8
cat << \EOF > conftest.java
-// #line 11483 "configure"
+// #line 11482 "configure"
import java.util.regex.Pattern;
import java.util.stream.DoubleStream;
if test "$with_gui" != no; then
- if test $XCOS_ENABLE = yes; then
+ if test "$with_xcos" != no; then
# jgraphx
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking jgraphx" >&5
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12861 "configure"
+// #line 12860 "configure"
import java.util.regex.Pattern;
import com.mxgraph.model.mxCell;
if test "x" == "x"; then
cat << \EOF > conftest.java
-// #line 12968 "configure"
+// #line 12967 "configure"
import java.util.regex.Pattern;
import com.mxgraph.view.mxGraph;
else
cat << \EOF > conftest.java
-// #line 13040 "configure"
+// #line 13039 "configure"
import java.util.regex.Pattern;
import com.mxgraph.view.mxGraph;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 13134 "configure"
+// #line 13133 "configure"
import java.util.regex.Pattern;
import org.scilab.forge.scirenderer.PackageInfo;
if test "x" == "x"; then
cat << \EOF > conftest.java
-// #line 13241 "configure"
+// #line 13240 "configure"
import java.util.regex.Pattern;
import org.scilab.forge.scirenderer.PackageInfo;
else
cat << \EOF > conftest.java
-// #line 13313 "configure"
+// #line 13312 "configure"
import java.util.regex.Pattern;
import org.scilab.forge.scirenderer.PackageInfo;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 13412 "configure"
+// #line 13411 "configure"
import java.util.regex.Pattern;
import org.flexdock.docking.DockingManager;
if test "x" == "x"; then
cat << \EOF > conftest.java
-// #line 13519 "configure"
+// #line 13518 "configure"
import java.util.regex.Pattern;
import org.flexdock.util.Utilities;
else
cat << \EOF > conftest.java
-// #line 13591 "configure"
+// #line 13590 "configure"
import java.util.regex.Pattern;
import org.flexdock.util.Utilities;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 13682 "configure"
+// #line 13681 "configure"
import java.util.regex.Pattern;
import com.jgoodies.looks.common.MenuItemRenderer;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 13799 "configure"
+// #line 13798 "configure"
import java.util.regex.Pattern;
import com.jgoodies.looks.common.MenuItemRenderer;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 13917 "configure"
+// #line 13916 "configure"
import java.util.regex.Pattern;
import com.l2fprod.util.AccessUtils;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 14034 "configure"
+// #line 14033 "configure"
import java.util.regex.Pattern;
import javax.media.opengl.glu.GLUnurbs;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 14257 "configure"
+// #line 14256 "configure"
import java.util.regex.Pattern;
import jogamp.common.os.MachineDescriptionRuntime;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 14431 "configure"
+// #line 14430 "configure"
import java.util.regex.Pattern;
import javax.help.JHelp;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 14546 "configure"
+// #line 14545 "configure"
import java.util.regex.Pattern;
import javax.help.JHelp;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 14664 "configure"
+// #line 14663 "configure"
import java.util.regex.Pattern;
import com.artenum.rosetta.interfaces.core.ConsoleConfiguration;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 14778 "configure"
+// #line 14777 "configure"
import java.util.regex.Pattern;
import com.artenum.rosetta.interfaces.core.ConsoleConfiguration;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 14896 "configure"
+// #line 14895 "configure"
import java.util.regex.Pattern;
import com.artenum.rosetta.core.action.AbstractConsoleAction;
if test "x" == "x"; then
cat << \EOF > conftest.java
-// #line 15002 "configure"
+// #line 15001 "configure"
import java.util.regex.Pattern;
import com.artenum.rosetta.util.ConfigurationBuilder;
else
cat << \EOF > conftest.java
-// #line 15074 "configure"
+// #line 15073 "configure"
import java.util.regex.Pattern;
import com.artenum.rosetta.util.ConfigurationBuilder;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 15167 "configure"
+// #line 15166 "configure"
import java.util.regex.Pattern;
import net.sourceforge.jeuclid.LayoutContext;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 15286 "configure"
+// #line 15285 "configure"
import java.util.regex.Pattern;
import org.apache.fop.pdf.PDFInfo;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 15410 "configure"
+// #line 15409 "configure"
import java.util.regex.Pattern;
import org.freehep.graphics2d.VectorGraphics;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 15527 "configure"
+// #line 15526 "configure"
import java.util.regex.Pattern;
import org.freehep.graphicsio.emf.EMFGraphics2D;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 15644 "configure"
+// #line 15643 "configure"
import java.util.regex.Pattern;
import org.freehep.graphicsio.VectorGraphicsIO;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 15761 "configure"
+// #line 15760 "configure"
import java.util.regex.Pattern;
import org.freehep.util.io.XMLSequence;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 15878 "configure"
+// #line 15877 "configure"
import java.util.regex.Pattern;
import org.freehep.util.StringUtilities;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 15996 "configure"
+// #line 15995 "configure"
import java.util.regex.Pattern;
import org.apache.batik.parser.Parser;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 16113 "configure"
+// #line 16112 "configure"
import java.util.regex.Pattern;
import org.apache.batik.parser.Parser;
if test "x" == "x"; then
cat << \EOF > conftest.java
-// #line 16220 "configure"
+// #line 16219 "configure"
import java.util.regex.Pattern;
import org.apache.batik.Version;
else
cat << \EOF > conftest.java
-// #line 16292 "configure"
+// #line 16291 "configure"
import java.util.regex.Pattern;
import org.apache.batik.Version;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 16383 "configure"
+// #line 16382 "configure"
import java.util.regex.Pattern;
import org.apache.commons.io.output.CountingOutputStream;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 16500 "configure"
+// #line 16499 "configure"
import java.util.regex.Pattern;
import org.apache.xmlgraphics.util.Service;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 16617 "configure"
+// #line 16616 "configure"
import java.util.regex.Pattern;
import org.apache.avalon.framework.configuration.ConfigurationException;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 16734 "configure"
+// #line 16733 "configure"
import java.util.regex.Pattern;
import org.w3c.dom.svg.SVGDocument;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 16851 "configure"
+// #line 16850 "configure"
import java.util.regex.Pattern;
import org.w3c.dom.svg.SVGDocument;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 16972 "configure"
+// #line 16971 "configure"
import java.util.regex.Pattern;
import org.apache.commons.logging.LogFactory;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 17089 "configure"
+// #line 17088 "configure"
import java.util.regex.Pattern;
import org.scilab.forge.jlatexmath.TeXFormula;
if test "x" == "x"; then
cat << \EOF > conftest.java
-// #line 17196 "configure"
+// #line 17195 "configure"
import java.util.regex.Pattern;
import org.scilab.forge.jlatexmath.TeXFormula;
else
cat << \EOF > conftest.java
-// #line 17268 "configure"
+// #line 17267 "configure"
import java.util.regex.Pattern;
import org.scilab.forge.jlatexmath.TeXFormula;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 17359 "configure"
+// #line 17358 "configure"
import java.util.regex.Pattern;
import org.scilab.forge.jlatexmath.fop.JLaTeXMathObj;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 17482 "configure"
+// #line 17481 "configure"
import java.util.regex.Pattern;
import com.puppycrawl.tools.checkstyle.CheckStyleTask;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 17599 "configure"
+// #line 17598 "configure"
import java.util.regex.Pattern;
import org.apache.commons.beanutils.Converter;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 17716 "configure"
+// #line 17715 "configure"
import java.util.regex.Pattern;
import antlr.TokenStreamException;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 17833 "configure"
+// #line 17832 "configure"
import java.util.regex.Pattern;
import org.junit.Assert;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 17947 "configure"
+// #line 17946 "configure"
import java.util.regex.Pattern;
import org.junit.Assert;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 18068 "configure"
+// #line 18067 "configure"
import java.util.regex.Pattern;
import net.sourceforge.cobertura.merge.Main;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 18185 "configure"
+// #line 18184 "configure"
import java.util.regex.Pattern;
import org.objectweb.asm.Type;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 18299 "configure"
+// #line 18298 "configure"
import java.util.regex.Pattern;
import org.objectweb.asm.Type;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 18416 "configure"
+// #line 18415 "configure"
import java.util.regex.Pattern;
import org.eclipse.jdt.core.compiler.batch.BatchCompiler;
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later" >&5
$as_echo_n "checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later... " >&6; }
cat > conftest.$ac_ext <<EOF
-#line 26960 "configure"
+#line 26959 "configure"
#include "confdefs.h"
#include "$CHK_TCL_INCLUDE_PATH/$CHK_TCL_INC_NAME"
$as_echo_n "checking if tk is version $CHK_TK_MAJOR.$CHK_TK_MINOR or later... " >&6; }
cat > conftest.$ac_ext <<EOF
-#line 27271 "configure"
+#line 27270 "configure"
#include "confdefs.h"
#include "$CHK_TK_INCLUDE_PATH/$CHK_TK_INC_NAME"
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 27855 "configure"
+// #line 27854 "configure"
import java.util.regex.Pattern;
import net.sf.saxon.Version;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 27970 "configure"
+// #line 27969 "configure"
import java.util.regex.Pattern;
import net.sf.saxon.Version;
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 28086 "configure"
+// #line 28085 "configure"
import java.util.regex.Pattern;
import com.icl.saxon.Loader;
SCI_SRCDIR_FULL="`cd $SCI_SRCDIR && pwd`"
SCILAB_VERSION_MAJOR=5
-SCILAB_VERSION_MINOR=5
-SCILAB_VERSION_MAINTENANCE=1
+SCILAB_VERSION_MINOR=6
+SCILAB_VERSION_MAINTENANCE=0
AC_SUBST(SCILAB_VERSION_MAJOR)
AC_SUBST(SCILAB_VERSION_MINOR)
AC_SUBST(SCILAB_VERSION_MAINTENANCE)
#################
AC_ARG_WITH(xcos,
- AC_HELP_STRING([--without-xcos],[Disable Xcos]))
+ AC_HELP_STRING([--without-xcos], [Disable Xcos]))
AC_ARG_WITH(modelica,
AC_HELP_STRING([--without-modelica],[Disable the OCaml module (modelica)]))
if test "$with_gui" = no; then
- AC_MSG_WARN([GUI is disabled. Disabling then xcos])
- with_xcos=no
+ AC_MSG_WARN([GUI is disabled. Disabling then Xcos GUI])
fi
XCOS_ENABLE=no
-if test "$with_xcos" != no -a "$with_gui" != no; then
- AC_DEFINE([WITH_XCOS], [], [With XCOS])
+if test "$with_xcos" != no; then
+ AC_DEFINE([WITH_XCOS], [], [with XCos])
save_LIBS="$LIBS"
if test "$with_gui" != no; then
- if test $XCOS_ENABLE = yes; then
+ if test "$with_xcos" != no; then
# jgraphx
AC_JAVA_CHECK_PACKAGE([jgraphx],[com.mxgraph.model.mxCell],[Diagram design])
JGRAPHX=$PACKAGE_JAR_FILE
<module name="matio" activate="@MATIO_ENABLE@"/>
<module name="types" activate="@JAVA_ENABLE@"/>
<module name="hdf5" activate="yes"/>
-<module name="xcos" activate="@GUI_ENABLE@"/>
+<module name="xcos" activate="@XCOS_ENABLE@"/>
<module name="mpi" activate="@MPI_ENABLE@"/>
<module name="graphic_objects" activate="@GUI_ENABLE@"/>
<module name="scinotes" activate="@GUI_ENABLE@"/>
<module name="external_objects" activate="yes"/>
<module name="external_objects_java" activate="@JAVA_ENABLE@"/>
</modules>
-
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "GetWindowsVersion library for Scilab 5.x"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "GetWindowsVersion library for Scilab 5.x"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "GetWindowsVersion.dll"
VALUE "ProductName", "GetWindowsVersion library for Scilab 5.x"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "action_binding module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "action_binding module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "action_binding.dll"
VALUE "ProductName", " action_binding"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "noaction_binding module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "noaction_binding module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "noaction_binding.dll"
VALUE "ProductName", " noaction_binding"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "api_scilab module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "api_scilab module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "api_scilab.dll"
VALUE "ProductName", "api_scilab module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
1 VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "arnoldi module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "arnoldi"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "arnoldi.dll"
VALUE "ProductName", "arnoldi module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
-http://atoms.scilab.org/5.5
+http://atoms.scilab.org/5.6
-http://atoms.scilab.org/5.5
+http://atoms.scilab.org/5.6
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "boolean module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "boolean module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "boolean.dll"
VALUE "ProductName", "boolean module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "boolean_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "boolean_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "boolean_f.dll"
VALUE "ProductName", "boolean_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "cacsd module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "cacsd module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "cacsd.dll"
VALUE "ProductName", "cacsd module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "elementary_functions_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "elementary_functions_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "elementary_functions_f.dll"
VALUE "ProductName", "elementary_functions_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "slicot_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "slicot_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "slicot_f.dll"
VALUE "ProductName", "slicot_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "call_scilab module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "call_scilab module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "call_scilab.dll"
VALUE "ProductName", " call_scilab module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "commons module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "commons module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "commons.dll"
VALUE "ProductName", "commons module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "commons_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "commons_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "commons_f.dll"
VALUE "ProductName", "commons_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "completion module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "completion module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "completion.dll"
VALUE "ProductName", " completion"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "nocompletion module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "nocompletion module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "nocompletion.dll"
VALUE "ProductName", " nocompletion"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "console module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "console module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "sciconsole.dll"
VALUE "ProductName", " console module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "noconsole module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "noconsole module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "noconsole.dll"
VALUE "ProductName", " noconsole"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
/* With the UMFPACK library */
#undef WITH_UMFPACK
-/* With XCOS */
+/* with XCos */
#undef WITH_XCOS
/* If leading underscores */
#define SCI_VERSION_MAJOR @SCILAB_VERSION_MAJOR@
#define SCI_VERSION_MINOR @SCILAB_VERSION_MINOR@
#define SCI_VERSION_MAINTENANCE @SCILAB_VERSION_MAINTENANCE@
-#define SCI_VERSION_STRING "scilab-branch-5.5"
+#define SCI_VERSION_STRING "scilab-branch-master"
/* SCI_VERSION_REVISION --> hash key commit */
#define SCI_VERSION_REVISION 0
#define SCI_VERSION_TIMESTAMP 0
/* for compatibility */
/* Deprecated */
#define SCI_VERSION SCI_VERSION_STRING
-#define DEFAULT_SCI_VERSION_MESSAGE "scilab-branch-5.5"
+#define DEFAULT_SCI_VERSION_MESSAGE "scilab-branch-master"
#endif
/*--------------------------------------------------------------------------*/
#define SCI_VERSION_H
#define SCI_VERSION_MAJOR 5
-#define SCI_VERSION_MINOR 5
-#define SCI_VERSION_MAINTENANCE 1
-#define SCI_VERSION_STRING "scilab-branch-5.5"
+#define SCI_VERSION_MINOR 6
+#define SCI_VERSION_MAINTENANCE 0
+#define SCI_VERSION_STRING "scilab-branch-master"
/* SCI_VERSION_REVISION --> hash key commit */
#define SCI_VERSION_REVISION 0
#define SCI_VERSION_TIMESTAMP 0
/* for compatibility */
/* Deprecated */
#define SCI_VERSION SCI_VERSION_STRING
-#define DEFAULT_SCI_VERSION_MESSAGE "scilab-branch-5.5"
+#define DEFAULT_SCI_VERSION_MESSAGE "scilab-branch-master"
#endif
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "data_structures module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "data_structures module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "data_structures.dll"
VALUE "ProductName", "data_structures module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "elementary_functions_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "elementary_functions_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "elementary_functions_f.dll"
VALUE "ProductName", "elementary_functions_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "differential_equations module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "differential_equations module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "differential_equations.dll"
VALUE "ProductName", "differential_equations module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "differential_equations_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "differential_equations_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "differential_equations_f.dll"
VALUE "ProductName", "differential_equations_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "double module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "double module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "double.dll"
VALUE "ProductName", "double module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "double_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "double_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "double_f.dll"
VALUE "ProductName", "double_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "dynamic_link module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "dynamic_link module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "dynamic_link.dll"
VALUE "ProductName", "dynamic_link module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "dynamic_link_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "dynamic_link_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "dynamic_link_f.dll"
VALUE "ProductName", "dynamic_link_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "elementary_functions module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "elementary_functions module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "elementary_functions.dll"
VALUE "ProductName", "elementary_functions module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "eispack library"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "eispack library for scilab 5.x"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "eispack.dll"
VALUE "ProductName", "eispack library for scilab 5.x"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "elementary_functions_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "elementary_functions_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "elementary_functions_f.dll"
VALUE "ProductName", "elementary_functions_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "linpack_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "linpack_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "linpack_f.dll"
VALUE "ProductName", "linpack_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "slatec_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "slatec_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "slatec_f.dll"
VALUE "ProductName", "slatec_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "external_objects module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "external_objects module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "external_objects.dll"
VALUE "ProductName", " external_objects"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "external_objects_java module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "external_objects_java module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "external_objects_java.dll"
VALUE "ProductName", " external_objects_java"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BEGIN
VALUE "CompanyName", "Scilab"
VALUE "FileDescription", "fftw module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "fftw"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "fftw.rc"
VALUE "ProductName", " fftw"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "nofftw module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "nofftw module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "nofftw.dll"
VALUE "ProductName", " nofftw"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "fileio module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "fileio module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "fileio.dll"
VALUE "ProductName", " fileio"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "functions module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "functions module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "functions.dll"
VALUE "ProductName", "functions module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "functions_f module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "functions_f module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "functions_f.dll"
VALUE "ProductName", "functions_f module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "graphic_export module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "graphic_export module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "scigraphic_export.dll"
VALUE "ProductName", "graphic_export module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "nographic_export module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "nographic_export module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "nographic_export.dll"
VALUE "ProductName", " nographic_export"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "graphics module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "graphics module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "graphics.dll"
VALUE "ProductName", "graphics module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "nographics module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "nographics module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "nographics.dll"
VALUE "ProductName", " nographics"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,5,1,0
- PRODUCTVERSION 5,5,1,0
+ FILEVERSION 5,6,0,0
+ PRODUCTVERSION 5,6,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "gui module"
- VALUE "FileVersion", "5, 5, 1, 0"
+ VALUE "FileVersion", "5, 6, 0, 0"
VALUE "InternalName", "gui module"
VALUE "LegalCopyright", "Copyright (C) 2014"
VALUE "OriginalFilename", "scigui.dll"
VALUE "ProductName", "gui module"
- VALUE "ProductVersion", "5, 5, 1, 0"
+ VALUE "ProductVersion", "5, 6, 0, 0"
END
END
BLOCK "VarFileInfo"
import org.scilab.modules.gui.canvas.ScilabCanvas;
import org.scilab.modules.gui.canvas.ScilabCanvasBridge;
import org.scilab.modules.gui.canvas.SimpleCanvas;
-import org.scilab.modules.gui.checkbox.CheckBox;
-import org.scilab.modules.gui.checkbox.ScilabCheckBoxBridge;
-import org.scilab.modules.gui.checkbox.SimpleCheckBox;
import org.scilab.modules.gui.checkboxmenuitem.CheckBoxMenuItem;
import org.scilab.modules.gui.checkboxmenuitem.ScilabCheckBoxMenuItemBridge;
import org.scilab.modules.gui.checkboxmenuitem.SimpleCheckBoxMenuItem;
import org.scilab.modules.gui.contextmenu.ContextMenu;
import org.scilab.modules.gui.contextmenu.ScilabContextMenuBridge;
import org.scilab.modules.gui.contextmenu.SimpleContextMenu;
-import org.scilab.modules.gui.editbox.EditBox;
-import org.scilab.modules.gui.editbox.ScilabEditBoxBridge;
-import org.scilab.modules.gui.editbox.SimpleEditBox;
import org.scilab.modules.gui.events.callback.CommonCallBack;
import org.scilab.modules.gui.filechooser.FileChooser;
import org.scilab.modules.gui.filechooser.ScilabFileChooserBridge;
import org.scilab.modules.gui.fontchooser.FontChooser;
import org.scilab.modules.gui.fontchooser.ScilabFontChooserBridge;
import org.scilab.modules.gui.fontchooser.SimpleFontChooser;
-import org.scilab.modules.gui.frame.Frame;
-import org.scilab.modules.gui.frame.ScilabFrameBridge;
-import org.scilab.modules.gui.frame.SimpleFrame;
import org.scilab.modules.gui.helpbrowser.HelpBrowser;
import org.scilab.modules.gui.helpbrowser.ScilabHelpBrowserBridge;
import org.scilab.modules.gui.helpbrowser.SimpleHelpBrowser;
-import org.scilab.modules.gui.label.Label;
-import org.scilab.modules.gui.label.ScilabLabelBridge;
-import org.scilab.modules.gui.label.SimpleLabel;
-import org.scilab.modules.gui.listbox.ListBox;
-import org.scilab.modules.gui.listbox.ScilabListBoxBridge;
-import org.scilab.modules.gui.listbox.SimpleListBox;
import org.scilab.modules.gui.menu.Menu;
import org.scilab.modules.gui.menu.ScilabMenuBridge;
import org.scilab.modules.gui.menu.SimpleMenu;
import org.scilab.modules.gui.messagebox.MessageBox;
import org.scilab.modules.gui.messagebox.ScilabMessageBoxBridge;
import org.scilab.modules.gui.messagebox.SimpleMessageBox;
-import org.scilab.modules.gui.popupmenu.PopupMenu;
-import org.scilab.modules.gui.popupmenu.ScilabPopupMenuBridge;
-import org.scilab.modules.gui.popupmenu.SimplePopupMenu;
-import org.scilab.modules.gui.pushbutton.PushButton;
-import org.scilab.modules.gui.pushbutton.ScilabPushButtonBridge;
-import org.scilab.modules.gui.pushbutton.SimplePushButton;
-import org.scilab.modules.gui.radiobutton.RadioButton;
-import org.scilab.modules.gui.radiobutton.ScilabRadioButtonBridge;
-import org.scilab.modules.gui.radiobutton.SimpleRadioButton;
import org.scilab.modules.gui.separator.ScilabSeparatorBridge;
import org.scilab.modules.gui.separator.Separator;
-import org.scilab.modules.gui.slider.ScilabSliderBridge;
-import org.scilab.modules.gui.slider.SimpleSlider;
-import org.scilab.modules.gui.slider.Slider;
import org.scilab.modules.gui.tab.ScilabTabBridge;
import org.scilab.modules.gui.tab.SimpleTab;
import org.scilab.modules.gui.tab.Tab;
import org.scilab.modules.gui.uidisplaytree.ScilabUiDisplayTreeBridge;
import org.scilab.modules.gui.uidisplaytree.SimpleUiDisplayTree;
import org.scilab.modules.gui.uidisplaytree.UiDisplayTree;
-import org.scilab.modules.gui.uitable.ScilabUiTableBridge;
-import org.scilab.modules.gui.uitable.SimpleUiTable;
-import org.scilab.modules.gui.uitable.UiTable;
import org.scilab.modules.gui.utils.Position;
import org.scilab.modules.gui.utils.Size;
import org.scilab.modules.gui.window.ScilabWindowBridge;
}
/**
- * Add a PushButton to the ToolBar.
- * @param toolBar the toolBar which we want to add the PushButton to
- * @param pushButton the PushButton to add.
- */
- public static void add(ToolBar toolBar, PushButton pushButton) {
- ScilabToolBarBridge.add(toolBar, pushButton);
- }
-
- /**
* Add a Separator to a Toolbar
* @param toolbar the Toolbar which we want to add the Separator to
*/
return ScilabToolBarBridge.isVisible(toolbar);
}
-
- /****************/
- /* Frame Bridge */
- /****************/
-
- /**
- * Creates a new Frame
- * @return the created Frame
- */
- public static SimpleFrame createFrame() {
- return ScilabFrameBridge.createFrame();
- }
-
- /**
- * Sets the Text of a Frame
- * @param frame the Frame we want to set the Text of
- * @param newText the Text to set for the Frame
- */
- public static void setText(Frame frame, String newText) {
- ScilabFrameBridge.setText(frame, newText);
- }
-
- /**
- * Gets the text of an Frame
- * @param frame the Frame we want to get the text of
- * @return the text of the Frame
- */
- public static String getText(Frame frame) {
- return ScilabFrameBridge.getText(frame);
- }
-
- /**
- * Draws a Scilab Frame
- * @param frame the Frame to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(Frame frame) {
- ScilabFrameBridge.draw(frame);
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab Frame
- * @param frame the Frame we want to get the dimensions of
- * @return the size of the frame
- * @see org.scilab.modules.ihm.UIElement#getDims()
- */
- public static Size getDims(Frame frame) {
- return ScilabFrameBridge.getDims(frame);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab frame
- * @param frame the frame we want to get the position of
- * @return the position of the frame
- * @see org.scilab.modules.ihm.UIElement#getPosition()
- */
- public static Position getPosition(Frame frame) {
- return ScilabFrameBridge.getPosition(frame);
- }
-
- /**
- * Gets the visibility status of a Scilab Frame
- * @param frame the frame we want to get the visiblity status of
- * @return the visibility status of the frame (true if the frame is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
- */
- public static boolean isVisible(Frame frame) {
- return ScilabFrameBridge.isVisible(frame);
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab Frame
- * @param frame the frame we want to set the dimensions of
- * @param newSize the size we want to set to the frame
- * @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
- */
- public static void setDims(Frame frame, Size newSize) {
- ScilabFrameBridge.setDims(frame, newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab frame
- * @param frame the frame we want to set the position of
- * @param newPosition the position we want to set to the frame
- * @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
- */
- public static void setPosition(Frame frame, Position newPosition) {
- ScilabFrameBridge.setPosition(frame, newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab Frame
- * @param frame the frame we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the frame (true to set the frame visible, false else)
- * @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
- */
- public static void setVisible(Frame frame, boolean newVisibleState) {
- ScilabFrameBridge.setVisible(frame, newVisibleState);
- }
-
- /**
- * Set the Background color of the Frame
- * @param frame the Frame we want to set the background of
- * @param color the Color
- */
- public static void setBackground(Frame frame, Color color) {
- ScilabFrameBridge.setBackground(frame, color);
- }
-
- /**
- * Get the Background color of the Frame
- * @param frame the Frame we want to get the background of
- * @return the Color
- */
- public static Color getBackground(Frame frame) {
- return ScilabFrameBridge.getBackground(frame);
- }
-
- /**
- * Set the Foreground color of the Frame
- * @param frame the Frame we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(Frame frame, Color color) {
- ScilabFrameBridge.setForeground(frame, color);
- }
-
- /**
- * Get the Foreground color of the Frame
- * @param frame the Frame we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(Frame frame) {
- return ScilabFrameBridge.getForeground(frame);
- }
-
- /**
- * Set the font of the Frame.
- * @param frame the Frame we want to set the font of
- * @param font the font
- */
- public static void setFont(Frame frame, Font font) {
- ScilabFrameBridge.setFont(frame, font);
- }
-
- /**
- * Get the font of the Frame.
- * @param frame the Frame we want to get the font of
- * @return the font
- */
- public static Font getFont(Frame frame) {
- return ScilabFrameBridge.getFont(frame);
- }
-
- /**
- * Set if the Frame is enabled or not
- * @param frame the Frame we want to set the status of
- * @param status true if the Frame is enabled
- */
- public static void setEnabled(Frame frame, boolean status) {
- ScilabFrameBridge.setEnabled(frame, status);
- }
-
- /**
- * Gets the enable status of the Frame
- * @param frame the Frame we want to get the status of
- * @return the enable status of the Frame (true if the Frame is enabled, false if not)
- */
- public static boolean isEnabled(Frame frame) {
- return ScilabFrameBridge.isEnabled(frame);
- }
-
- /**
- * Add a callback to the Frame
- * @param frame the Frame we want to set the callback of
- * @param callback the callback to set
- */
- public static void setCallback(Frame frame, CommonCallBack callback) {
- ScilabFrameBridge.setCallback(frame, callback);
- }
-
- /**
- * Set the Relief of the Frame
- * @param frame the Frame we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(Frame frame, String reliefType) {
- ScilabFrameBridge.setRelief(frame, reliefType);
- }
-
- /**
- * Delete the Frame
- * @param frame the Frame to be destroyed
- */
- public static void destroy(Frame frame) {
- ScilabFrameBridge.destroy(frame);
- }
-
- /**
- * Give the focus to the Frame
- * @param frame the Frame
- */
- public static void requestFocus(Frame frame) {
- ScilabFrameBridge.requestFocus(frame);
- }
-
/**************/
/* Tab Bridge */
/**************/
* @param member the member to add
* @return index of member
*/
- public static int addMember(Tab tab, Frame member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove a Frame member from a tab
- * @param tab the tab which we want to remove the Frame from
- * @param member the Frame to remove
- */
- public static void removeMember(Tab tab, Frame member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
- /**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab where we want to add the member
- * @param member the member to add
- * @return index of member
- */
public static int addMember(Tab tab, Console member) {
return ScilabTabBridge.addMember(tab, member);
}
return ScilabTabBridge.addMember(tab, member);
}
- /**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab which we want to add the pushbutton to
- * @param member the pushbutton to add
- * @return the position of the pushbutton in the member list.
- */
- public static int addMember(Tab tab, PushButton member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove a PushButton member from a tab
- * @param tab the tab which we want to remove the PushButton from
- * @param member the PushButton to remove
- */
- public static void removeMember(Tab tab, PushButton member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
- /**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab which we want to add the EditBox to
- * @param member the editbox to add
- * @return the position of the editbox in the member list.
- */
- public static int addMember(Tab tab, EditBox member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove an EditBox member from a tab
- * @param tab the tab which we want to remove the EditBox from
- * @param member the EditBox to remove
- */
- public static void removeMember(Tab tab, EditBox member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
- /**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab which we want to add the Label to
- * @param member the label to add
- * @return the position of the label in the member list.
- */
- public static int addMember(Tab tab, Label member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove a Label member from a tab
- * @param tab the tab which we want to remove the Label from
- * @param member the Label to remove
- */
- public static void removeMember(Tab tab, Label member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
- /**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab which we want to add the CheckBox to
- * @param member the checkbox to add
- * @return the position of the checkbox in the member list.
- */
- public static int addMember(Tab tab, CheckBox member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove a CheckBox member from a tab
- * @param tab the tab which we want to remove the CheckBox from
- * @param member the CheckBox to remove
- */
- public static void removeMember(Tab tab, CheckBox member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
- /**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab which we want to add the RadioButton to
- * @param member the RadioButton to add
- * @return the position of the RadioButton in the member list.
- */
- public static int addMember(Tab tab, RadioButton member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove a RadioButton member from a tab
- * @param tab the tab which we want to remove the RadioButton from
- * @param member the RadioButton to remove
- */
- public static void removeMember(Tab tab, RadioButton member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
- /**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab which we want to add the UiTable to
- * @param member the UiTable to add
- * @return the position of the UiTable in the member list.
- */
- public static int addMember(Tab tab, UiTable member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove a UiTable member from a tab
- * @param tab the tab which we want to remove the UiTable from
- * @param member the UiTable to remove
- */
- public static void removeMember(Tab tab, UiTable member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
public static int addMember(Tab tab, UiDisplayTree member) {
return ScilabTabBridge.addMember(tab, member);
}
}
/**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab which we want to add the Slider to
- * @param member the Slider to add
- * @return the position of the Slider in the member list.
- */
- public static int addMember(Tab tab, Slider member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove a Slider member from a tab
- * @param tab the tab which we want to remove the Slider from
- * @param member the Slider to remove
- */
- public static void removeMember(Tab tab, Slider member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
- /**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab which we want to add the ListBox to
- * @param member the ListBox to add
- * @return the position of the ListBox in the member list.
- */
- public static int addMember(Tab tab, ListBox member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove a ListBox member from a tab
- * @param tab the tab which we want to remove the ListBox from
- * @param member the ListBox to remove
- */
- public static void removeMember(Tab tab, ListBox member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
- /**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab which we want to add the PopupMenu to
- * @param member the PopupMenu to add
- * @return the position of the PopupMenu in the member list.
- */
- public static int addMember(Tab tab, PopupMenu member) {
- return ScilabTabBridge.addMember(tab, member);
- }
-
- /**
- * Remove a PopupMenu member from a tab
- * @param tab the tab which we want to remove the PopupMenu from
- * @param member the PopupMenu to remove
- */
- public static void removeMember(Tab tab, PopupMenu member) {
- ScilabTabBridge.removeMember(tab, member);
- }
-
- /**
* Remove a member (dockable element) to a tab and returns the index of this member
* @param tab the tab where we want to add the member
* @param member the member to add
return ScilabSeparatorBridge.createSeparator();
}
- /*****************/
- /* PushButton Bridge */
- /*****************/
+ /******************/
+ /* TextBox Bridge */
+ /******************/
/**
- * Creates a new PushButton
- * @return the created PushButton
+ * Creates a new TextBox
+ * @return the created TextBox
*/
- public static SimplePushButton createPushButton() {
- return ScilabPushButtonBridge.createPushButton();
+ public static SimpleTextBox createTextBox() {
+ return ScilabTextBoxBridge.createTextBox();
}
/**
- * Draws a pushButton on screen
- * @param pushButton the pushButton to be drawn
+ * Sets the Text of a TextBox
+ * @param textBox the TextBox we want to set the Text of
+ * @param newText the Text to set for the TextBox
*/
- public static void draw(PushButton pushButton) {
- ScilabPushButtonBridge.draw(pushButton);
+ public static void setText(TextBox textBox, String newText) {
+ ScilabTextBoxBridge.setText(textBox, newText);
}
/**
- * Gets the dimensions (width and height) of a pushButton
- * @param pushButton the pushButton we want to get the dimensions of
- * @return dimensions of the pushButton
+ * Gets the text of an TextBox
+ * @param textBox the TextBox we want to get the text of
+ * @return the text of the TextBox
*/
- public static Size getDims(PushButton pushButton) {
- return ScilabPushButtonBridge.getDims(pushButton);
+ public static String getText(TextBox textBox) {
+ return ScilabTextBoxBridge.getText(textBox);
}
/**
- * Sets the dimensions (width and height) of a pushButton
- * @param pushButton the pushButton we want to set the dimensions of
- * @param newSize new dimensions of the pushButton
+ * Draws a Scilab TextBox
+ * @param textBox the TextBox to draw
+ * @see org.scilab.modules.ihm.UIElement#draw()
*/
- public static void setDims(PushButton pushButton, Size newSize) {
- ScilabPushButtonBridge.setDims(pushButton, newSize);
+ public static void draw(TextBox textBox) {
+ ScilabTextBoxBridge.draw(textBox);
}
/**
- * Gets the position (X-coordinate and Y-coordinate) of a pushButton
- * @param pushButton the pushButton we want to get the position of
- * @return position of the pushButton
+ * Gets the dimensions (width and height) of a Scilab TextBox
+ * @param textBox the TextBox we want to get the dimensions of
+ * @return the size of the textBox
+ * @see org.scilab.modules.ihm.UIElement#getDims()
*/
- public static Position getPosition(PushButton pushButton) {
- return ScilabPushButtonBridge.getPosition(pushButton);
+ public static Size getDims(TextBox textBox) {
+ return ScilabTextBoxBridge.getDims(textBox);
}
/**
- * Sets the position (X-coordinate and Y-coordinate) of a pushButton
- * @param pushButton the pushButton we want to set the position of
- * @param newPosition new position of the pushButton
+ * Gets the position (X-coordinate and Y-coordinate) of a Scilab textBox
+ * @param textBox the textBox we want to get the position of
+ * @return the position of the textBox
+ * @see org.scilab.modules.ihm.UIElement#getPosition()
*/
- public static void setPosition(PushButton pushButton, Position newPosition) {
- ScilabPushButtonBridge.setPosition(pushButton, newPosition);
- }
-
- /**
- * Gets the visibility status of a pushButton
- * @param pushButton the pushButton we want to get the status of
- * @return visibility status (true if the pushButton is visible, false if not)
- */
- public static boolean isVisible(PushButton pushButton) {
- return ScilabPushButtonBridge.isVisible(pushButton);
- }
-
- /**
- * Sets the visibility status for a pushButton
- * @param pushButton the pushButton we want to set the visibility status of
- * @param newVisibleState new visibility status for the pushButton
- * (true set the pushButton visible, false to set the pushButton invisible)
- */
- public static void setVisible(PushButton pushButton, boolean newVisibleState) {
- ScilabPushButtonBridge.setVisible(pushButton, newVisibleState);
- }
-
- /**
- * Sets the Text of a PushButton
- * @param pushButton the PushButton we want to set the Text of
- * @param newText the Text to set for the PushButton
- */
- public static void setText(PushButton pushButton, String newText) {
- ScilabPushButtonBridge.setText(pushButton, newText);
- }
-
- /**
- * Gets the Text of a PushButton
- * @param pushButton the PushButton we want to get the Text of
- * @return the Text of the PushButton
- */
- public static String getText(PushButton pushButton) {
- return ScilabPushButtonBridge.getText(pushButton);
- }
-
- /**
- * Sets the icon of a PushButton
- * @param pushButton the PushButton we want to set the icon of
- * @param filename the path to the icon image to set to the PushButton
- */
- public static void setIcon(PushButton pushButton, String filename) {
- ScilabPushButtonBridge.setIcon(pushButton, filename);
- }
-
- /**
- * Add a callback to the pushbutton
- * @param pushButton the PushButton we want to set the callback of
- * @param callback the CallBack to set.
- */
- public static void setCallback(PushButton pushButton, CommonCallBack callback) {
- ScilabPushButtonBridge.setCallback(pushButton, callback);
- }
-
- /**
- * Set if the pushbutton is enabled or not
- * @param pushButton the PushButton we want to set the status of
- * @param status true if the pushbutton is enabled
- */
- public static void setEnabled(PushButton pushButton, boolean status) {
- ScilabPushButtonBridge.setEnabled(pushButton, status);
- }
-
- /**
- * Gets the enable status of a PushButton
- * @param pushButton the PushButton we want to get the status of
- * @return the enable status of the PushButton (true if the PushButton is enabled, false if not)
- */
- public static boolean isEnabled(PushButton pushButton) {
- return ScilabPushButtonBridge.isEnabled(pushButton);
- }
-
- /**
- * Set the Background color of the pushbutton
- * @param pushButton the PushButton we want to set the background of
- * @param color the Color
- */
- public static void setBackground(PushButton pushButton, Color color) {
- ScilabPushButtonBridge.setBackground(pushButton, color);
- }
-
- /**
- * Get the Background color of the pushbutton
- * @param pushButton the PushButton we want to get the background of
- * @return the Color
- */
- public static Color getBackground(PushButton pushButton) {
- return ScilabPushButtonBridge.getBackground(pushButton);
- }
-
- /**
- * Set the Foreground color of the pushbutton
- * @param pushButton the PushButton we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(PushButton pushButton, Color color) {
- ScilabPushButtonBridge.setForeground(pushButton, color);
- }
-
- /**
- * Get the Foreground color of the pushbutton
- * @param pushButton the PushButton we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(PushButton pushButton) {
- return ScilabPushButtonBridge.getForeground(pushButton);
- }
-
- /**
- * Set the font of the pushbutton.
- * @param pushButton the pushbutton we want to set the font of
- * @param font the font
- */
- public static void setFont(PushButton pushButton, Font font) {
- ScilabPushButtonBridge.setFont(pushButton, font);
- }
-
- /**
- * Get the font of the pushbutton.
- * @param pushButton the pushbutton we want to get the font of
- * @return the font
- */
- public static Font getFont(PushButton pushButton) {
- return ScilabPushButtonBridge.getFont(pushButton);
- }
-
- /**
- * Set the horizontal alignment for the PushButton text
- * @param pushButton the PushButton we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(PushButton pushButton, String alignment) {
- ScilabPushButtonBridge.setHorizontalAlignment(pushButton, alignment);
- }
-
- /**
- * Set the vertical alignment for the PushButton text
- * @param pushButton the PushButton we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(PushButton pushButton, String alignment) {
- ScilabPushButtonBridge.setVerticalAlignment(pushButton, alignment);
- }
-
- /**
- * Set the Relief of the PushButton
- * @param pushButton the PushButton which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(PushButton pushButton, String reliefType) {
- ScilabPushButtonBridge.setRelief(pushButton, reliefType);
- }
-
- /**
- * Delete the PushButton
- * @param pushButton the PushButton to be destroyed
- */
- public static void destroy(PushButton pushButton) {
- ScilabPushButtonBridge.destroy(pushButton);
- }
-
- /**
- * Set the string to be displayed when the mouse cursor is over the PushButton
- * @param pushButton the PushButton
- * @param toolTipText the string to set
- */
- public static void setToolTipText(PushButton pushButton, String toolTipText) {
- ScilabPushButtonBridge.setToolTipText(pushButton, toolTipText);
- }
-
- /**
- * Give the focus to the PushButton
- * @param pushButton the PushButton
- */
- public static void requestFocus(PushButton pushButton) {
- ScilabPushButtonBridge.requestFocus(pushButton);
- }
-
- /******************/
- /* TextBox Bridge */
- /******************/
-
- /**
- * Creates a new TextBox
- * @return the created TextBox
- */
- public static SimpleTextBox createTextBox() {
- return ScilabTextBoxBridge.createTextBox();
- }
-
- /**
- * Sets the Text of a TextBox
- * @param textBox the TextBox we want to set the Text of
- * @param newText the Text to set for the TextBox
- */
- public static void setText(TextBox textBox, String newText) {
- ScilabTextBoxBridge.setText(textBox, newText);
- }
-
- /**
- * Gets the text of an TextBox
- * @param textBox the TextBox we want to get the text of
- * @return the text of the TextBox
- */
- public static String getText(TextBox textBox) {
- return ScilabTextBoxBridge.getText(textBox);
- }
-
- /**
- * Draws a Scilab TextBox
- * @param textBox the TextBox to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(TextBox textBox) {
- ScilabTextBoxBridge.draw(textBox);
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab TextBox
- * @param textBox the TextBox we want to get the dimensions of
- * @return the size of the textBox
- * @see org.scilab.modules.ihm.UIElement#getDims()
- */
- public static Size getDims(TextBox textBox) {
- return ScilabTextBoxBridge.getDims(textBox);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab textBox
- * @param textBox the textBox we want to get the position of
- * @return the position of the textBox
- * @see org.scilab.modules.ihm.UIElement#getPosition()
- */
- public static Position getPosition(TextBox textBox) {
- return ScilabTextBoxBridge.getPosition(textBox);
- }
-
- /**
- * Gets the visibility status of a Scilab TextBox
- * @param textBox the textBox we want to get the visiblity status of
- * @return the visibility status of the textBox (true if the textBox is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
- */
- public static boolean isVisible(TextBox textBox) {
- return ScilabTextBoxBridge.isVisible(textBox);
- }
-
- /**
- * Set the status of the TextBox
- * @param textBox the textBox we want to set the status of
- * @param status true if the TextBox is enabled
- * @see org.scilab.modules.gui.widget.Widget#setEnabled(boolean)
- */
- public static void setEnabled(TextBox textBox, boolean status) {
- ScilabTextBoxBridge.setEnabled(textBox, status);
- }
-
- /**
- * Gets the enable status of a TextBox
- * @param textBox the textBox we want to get the status of
- * @return the enable status of the TextBox (true if the TextBox is enabled, false if not)
- */
- public static boolean isEnabled(TextBox textBox) {
- return ScilabTextBoxBridge.isEnabled(textBox);
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab TextBox
- * @param textBox the textBox we want to set the dimensions of
- * @param newSize the size we want to set to the textBox
- * @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
- */
- public static void setDims(TextBox textBox, Size newSize) {
- ScilabTextBoxBridge.setDims(textBox, newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab textBox
- * @param textBox the textBox we want to set the position of
- * @param newPosition the position we want to set to the textBox
- * @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
- */
- public static void setPosition(TextBox textBox, Position newPosition) {
- ScilabTextBoxBridge.setPosition(textBox, newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab TextBox
- * @param textBox the textBox we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the textBox (true to set the textBox visible, false else)
- * @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
- */
- public static void setVisible(TextBox textBox, boolean newVisibleState) {
- ScilabTextBoxBridge.setVisible(textBox, newVisibleState);
- }
-
- /**
- * Set the Background color of the textbox
- * @param textBox the textbox we want to set the background of
- * @param color the Color
- */
- public static void setBackground(TextBox textBox, Color color) {
- ScilabTextBoxBridge.setBackground(textBox, color);
- }
-
- /**
- * Get the Background color of the textbox
- * @param textBox the textbox we want to get the background of
- * @return the Color
- */
- public static Color getBackground(TextBox textBox) {
- return ScilabTextBoxBridge.getBackground(textBox);
- }
-
- /**
- * Set the Foreground color of the textbox
- * @param textBox the textbox we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(TextBox textBox, Color color) {
- ScilabTextBoxBridge.setForeground(textBox, color);
- }
-
- /**
- * Get the Foreground color of the textbox
- * @param textBox the textbox we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(TextBox textBox) {
- return ScilabTextBoxBridge.getForeground(textBox);
- }
-
- /**
- * Set the font of the textbox.
- * @param textBox the textbox we want to set the font of
- * @param font the font
- */
- public static void setFont(TextBox textBox, Font font) {
- ScilabTextBoxBridge.setFont(textBox, font);
- }
-
- /**
- * Get the font of the textbox.
- * @param textBox the textbox we want to get the font of
- * @return the font
- */
- public static Font getFont(TextBox textBox) {
- return ScilabTextBoxBridge.getFont(textBox);
- }
-
- /**
- * Add a callback to the TextBox
- * @param textBox the TextBox we want to set the callback of
- * @param callback the CallBack to set.
- */
- public static void setCallback(TextBox textBox, CommonCallBack callback) {
- ScilabTextBoxBridge.setCallback(textBox, callback);
- }
-
- /**
- * Set the horizontal alignment for the TextBox text
- * @param textBox the TextBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(TextBox textBox, String alignment) {
- ScilabTextBoxBridge.setHorizontalAlignment(textBox, alignment);
- }
-
- /**
- * Set the vertical alignment for the TextBox text
- * @param textBox the TextBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(TextBox textBox, String alignment) {
- ScilabTextBoxBridge.setVerticalAlignment(textBox, alignment);
- }
-
- /**
- * Set the Relief of the TextBox
- * @param textBox the TextBox which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(TextBox textBox, String reliefType) {
- ScilabTextBoxBridge.setRelief(textBox, reliefType);
- }
-
- /**
- * Delete the TextBox
- * @param textBox the TextBox to be destroyed
- */
- public static void destroy(TextBox textBox) {
- ScilabTextBoxBridge.destroy(textBox);
- }
-
- /**
- * Give the focus to the TextBox
- * @param textBox the TextBox
- */
- public static void requestFocus(TextBox textBox) {
- ScilabTextBoxBridge.requestFocus(textBox);
- }
-
- /******************/
- /* EditBox Bridge */
- /******************/
-
- /**
- * Creates a new EditBox
- * @return the created EditBox
- */
- public static SimpleEditBox createEditBox() {
- return ScilabEditBoxBridge.createEditBox();
- }
-
- /**
- * Sets the Text of a EditBox
- * @param editBox the EditBox we want to set the Text of
- * @param newText the Text to set for the EditBox
- */
- public static void setText(EditBox editBox, String newText) {
- ScilabEditBoxBridge.setText(editBox, newText);
- }
-
- /**
- * Gets the text of an EditBox
- * @param editBox the EditBox we want to get the text of
- * @return the text of the EditBox
- */
- public static String getText(EditBox editBox) {
- return ScilabEditBoxBridge.getText(editBox);
- }
-
- /**
- * Draws a Scilab EditBox
- * @param editBox the EditBox to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(EditBox editBox) {
- ScilabEditBoxBridge.draw(editBox);
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab EditBox
- * @param editBox the EditBox we want to get the dimensions of
- * @return the size of the editBox
- * @see org.scilab.modules.ihm.UIElement#getDims()
- */
- public static Size getDims(EditBox editBox) {
- return ScilabEditBoxBridge.getDims(editBox);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab editBox
- * @param editBox the editBox we want to get the position of
- * @return the position of the editBox
- * @see org.scilab.modules.ihm.UIElement#getPosition()
- */
- public static Position getPosition(EditBox editBox) {
- return ScilabEditBoxBridge.getPosition(editBox);
- }
-
- /**
- * Gets the visibility status of a Scilab EditBox
- * @param editBox the editBox we want to get the visiblity status of
- * @return the visibility status of the editBox (true if the editBox is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
- */
- public static boolean isVisible(EditBox editBox) {
- return ScilabEditBoxBridge.isVisible(editBox);
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab EditBox
- * @param editBox the editBox we want to set the dimensions of
- * @param newSize the size we want to set to the editBox
- * @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
- */
- public static void setDims(EditBox editBox, Size newSize) {
- ScilabEditBoxBridge.setDims(editBox, newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab editBox
- * @param editBox the editBox we want to set the position of
- * @param newPosition the position we want to set to the editBox
- * @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
- */
- public static void setPosition(EditBox editBox, Position newPosition) {
- ScilabEditBoxBridge.setPosition(editBox, newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab EditBox
- * @param editBox the editBox we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the editBox (true to set the editBox visible, false else)
- * @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
- */
- public static void setVisible(EditBox editBox, boolean newVisibleState) {
- ScilabEditBoxBridge.setVisible(editBox, newVisibleState);
- }
-
- /**
- * Set the Background color of the EditBox
- * @param editBox the EditBox we want to set the background of
- * @param color the Color
- */
- public static void setBackground(EditBox editBox, Color color) {
- ScilabEditBoxBridge.setBackground(editBox, color);
- }
-
- /**
- * Get the Background color of the EditBox
- * @param editBox the EditBox we want to get the background of
- * @return the Color
- */
- public static Color getBackground(EditBox editBox) {
- return ScilabEditBoxBridge.getBackground(editBox);
- }
-
- /**
- * Set the Foreground color of the EditBox
- * @param editBox the EditBox we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(EditBox editBox, Color color) {
- ScilabEditBoxBridge.setForeground(editBox, color);
- }
-
- /**
- * Get the Foreground color of the EditBox
- * @param editBox the EditBox we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(EditBox editBox) {
- return ScilabEditBoxBridge.getForeground(editBox);
- }
-
- /**
- * Set the font of the EditBox.
- * @param editBox the EditBox we want to set the font of
- * @param font the font
- */
- public static void setFont(EditBox editBox, Font font) {
- ScilabEditBoxBridge.setFont(editBox, font);
- }
-
- /**
- * Get the font of the EditBox.
- * @param editBox the EditBox we want to get the font of
- * @return the font
- */
- public static Font getFont(EditBox editBox) {
- return ScilabEditBoxBridge.getFont(editBox);
- }
-
- /**
- * Set if the EditBox is enabled or not
- * @param editBox the EditBox we want to set the status of
- * @param status true if the EditBox is enabled
- */
- public static void setEnabled(EditBox editBox, boolean status) {
- ScilabEditBoxBridge.setEnabled(editBox, status);
- }
-
- /**
- * Gets the enable status of an EditBox
- * @param editBox the EditBox we want to get the status of
- * @return the enable status of the EditBox (true if the EditBox is enabled, false if not)
- */
- public static boolean isEnabled(EditBox editBox) {
- return ScilabEditBoxBridge.isEnabled(editBox);
- }
-
- /**
- * Add a callback to the EditBox
- * @param editBox the EditBox we want to set the callback of
- * @param callback the Callback to set.
- */
- public static void setCallback(EditBox editBox, CommonCallBack callback) {
- ScilabEditBoxBridge.setCallback(editBox, callback);
- }
-
- /**
- * Set the horizontal alignment for the EditBox text
- * @param editBox the EditBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(EditBox editBox, String alignment) {
- ScilabEditBoxBridge.setHorizontalAlignment(editBox, alignment);
- }
-
- /**
- * Set the vertical alignment for the EditBox text
- * @param editBox the EditBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(EditBox editBox, String alignment) {
- ScilabEditBoxBridge.setVerticalAlignment(editBox, alignment);
- }
-
- /**
- * Set the Relief of the EditBox
- * @param editBox the EditBox which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(EditBox editBox, String reliefType) {
- ScilabEditBoxBridge.setRelief(editBox, reliefType);
- }
-
- /**
- * Delete the EditBox
- * @param editBox the EditBox to be destroyed
- */
- public static void destroy(EditBox editBox) {
- ScilabEditBoxBridge.destroy(editBox);
- }
-
- /**
- * Give the focus to the EditBox
- * @param editBox the EditBox
- */
- public static void requestFocus(EditBox editBox) {
- ScilabEditBoxBridge.requestFocus(editBox);
- }
-
- /****************/
- /* Label Bridge */
- /****************/
-
- /**
- * Creates a new Label
- * @return the created Label
- */
- public static SimpleLabel createLabel() {
- return ScilabLabelBridge.createLabel();
- }
-
- /**
- * Sets the Text of a Label
- * @param label the Label we want to set the Text of
- * @param newText the Text to set for the Label
- */
- public static void setText(Label label, String newText) {
- ScilabLabelBridge.setText(label, newText);
- }
-
- /**
- * Gets the text of an Label
- * @param label the Label we want to get the text of
- * @return the text of the Label
- */
- public static String getText(Label label) {
- return ScilabLabelBridge.getText(label);
- }
-
- /**
- * Draws a Scilab Label
- * @param label the Label to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(Label label) {
- ScilabLabelBridge.draw(label);
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab Label
- * @param label the Label we want to get the dimensions of
- * @return the size of the label
- * @see org.scilab.modules.ihm.UIElement#getDims()
- */
- public static Size getDims(Label label) {
- return ScilabLabelBridge.getDims(label);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab label
- * @param label the label we want to get the position of
- * @return the position of the label
- * @see org.scilab.modules.ihm.UIElement#getPosition()
- */
- public static Position getPosition(Label label) {
- return ScilabLabelBridge.getPosition(label);
- }
-
- /**
- * Gets the visibility status of a Scilab Label
- * @param label the label we want to get the visiblity status of
- * @return the visibility status of the label (true if the label is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
- */
- public static boolean isVisible(Label label) {
- return ScilabLabelBridge.isVisible(label);
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab Label
- * @param label the label we want to set the dimensions of
- * @param newSize the size we want to set to the label
- * @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
- */
- public static void setDims(Label label, Size newSize) {
- ScilabLabelBridge.setDims(label, newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab label
- * @param label the label we want to set the position of
- * @param newPosition the position we want to set to the label
- * @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
- */
- public static void setPosition(Label label, Position newPosition) {
- ScilabLabelBridge.setPosition(label, newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab Label
- * @param label the label we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the label (true to set the label visible, false else)
- * @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
- */
- public static void setVisible(Label label, boolean newVisibleState) {
- ScilabLabelBridge.setVisible(label, newVisibleState);
- }
-
- /**
- * Set the Background color of the Label
- * @param label the Label we want to set the background of
- * @param color the Color
- */
- public static void setBackground(Label label, Color color) {
- ScilabLabelBridge.setBackground(label, color);
- }
-
- /**
- * Get the Background color of the Label
- * @param label the Label we want to get the background of
- * @return the Color
- */
- public static Color getBackground(Label label) {
- return ScilabLabelBridge.getBackground(label);
- }
-
- /**
- * Set the Foreground color of the Label
- * @param label the Label we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(Label label, Color color) {
- ScilabLabelBridge.setForeground(label, color);
- }
-
- /**
- * Get the Foreground color of the Label
- * @param label the Label we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(Label label) {
- return ScilabLabelBridge.getForeground(label);
- }
-
- /**
- * Set the font of the Label.
- * @param label the Label we want to set the font of
- * @param font the font
- */
- public static void setFont(Label label, Font font) {
- ScilabLabelBridge.setFont(label, font);
- }
-
- /**
- * Get the font of the Label.
- * @param label the Label we want to get the font of
- * @return the font
- */
- public static Font getFont(Label label) {
- return ScilabLabelBridge.getFont(label);
- }
-
- /**
- * Set if the Label is enabled or not
- * @param label the Label we want to set the status of
- * @param status true if the Label is enabled
- */
- public static void setEnabled(Label label, boolean status) {
- ScilabLabelBridge.setEnabled(label, status);
- }
-
- /**
- * Gets the enable status of a Label
- * @param label the Label we want to get the status of
- * @return the enable status of the Label (true if the Label is enabled, false if not)
- */
- public static boolean isEnabled(Label label) {
- return ScilabLabelBridge.isEnabled(label);
- }
-
- /**
- * Add a callback to the Label
- * @param label the Label we want to set the callback of
- * @param callback the Callback to set.
- */
- public static void setCallback(Label label, CommonCallBack callback) {
- ScilabLabelBridge.setCallback(label, callback);
- }
-
- /**
- * Set the horizontal alignment for the Label text
- * @param label the Label we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(Label label, String alignment) {
- ScilabLabelBridge.setHorizontalAlignment(label, alignment);
- }
-
- /**
- * Set the vertical alignment for the Label text
- * @param label the Label we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(Label label, String alignment) {
- ScilabLabelBridge.setVerticalAlignment(label, alignment);
- }
-
- /**
- * Set the Relief of the Label
- * @param label the Label which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(Label label, String reliefType) {
- ScilabLabelBridge.setRelief(label, reliefType);
- }
-
- /**
- * Delete the Label
- * @param label the Label to be destroyed
- */
- public static void destroy(Label label) {
- ScilabLabelBridge.destroy(label);
- }
-
- /**
- * Give the focus to the Label
- * @param label the Label
- */
- public static void requestFocus(Label label) {
- ScilabLabelBridge.requestFocus(label);
- }
-
- /*******************/
- /* CheckBox Bridge */
- /*******************/
-
- /**
- * Creates a new CheckBox
- * @return the created CheckBox
- */
- public static SimpleCheckBox createCheckBox() {
- return ScilabCheckBoxBridge.createCheckBox();
- }
-
- /**
- * Sets the Text of a CheckBox
- * @param checkBox the CheckBox we want to set the Text of
- * @param newText the Text to set for the CheckBox
- */
- public static void setText(CheckBox checkBox, String newText) {
- ScilabCheckBoxBridge.setText(checkBox, newText);
- }
-
- /**
- * Gets the text of an CheckBox
- * @param checkBox the CheckBox we want to get the text of
- * @return the text of the CheckBox
- */
- public static String getText(CheckBox checkBox) {
- return ScilabCheckBoxBridge.getText(checkBox);
- }
-
- /**
- * Draws a Scilab CheckBox
- * @param checkBox the CheckBox to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(CheckBox checkBox) {
- ScilabCheckBoxBridge.draw(checkBox);
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab CheckBox
- * @param checkBox the CheckBox we want to get the dimensions of
- * @return the size of the checkBox
- * @see org.scilab.modules.ihm.UIElement#getDims()
- */
- public static Size getDims(CheckBox checkBox) {
- return ScilabCheckBoxBridge.getDims(checkBox);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab checkBox
- * @param checkBox the checkBox we want to get the position of
- * @return the position of the checkBox
- * @see org.scilab.modules.ihm.UIElement#getPosition()
- */
- public static Position getPosition(CheckBox checkBox) {
- return ScilabCheckBoxBridge.getPosition(checkBox);
- }
-
- /**
- * Gets the visibility status of a Scilab CheckBox
- * @param checkBox the checkBox we want to get the visiblity status of
- * @return the visibility status of the checkBox (true if the checkBox is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
- */
- public static boolean isVisible(CheckBox checkBox) {
- return ScilabCheckBoxBridge.isVisible(checkBox);
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab CheckBox
- * @param checkBox the checkBox we want to set the dimensions of
- * @param newSize the size we want to set to the checkBox
- * @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
- */
- public static void setDims(CheckBox checkBox, Size newSize) {
- ScilabCheckBoxBridge.setDims(checkBox, newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab checkBox
- * @param checkBox the checkBox we want to set the position of
- * @param newPosition the position we want to set to the checkBox
- * @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
- */
- public static void setPosition(CheckBox checkBox, Position newPosition) {
- ScilabCheckBoxBridge.setPosition(checkBox, newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab CheckBox
- * @param checkBox the checkBox we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the checkBox (true to set the checkBox visible, false else)
- * @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
- */
- public static void setVisible(CheckBox checkBox, boolean newVisibleState) {
- ScilabCheckBoxBridge.setVisible(checkBox, newVisibleState);
- }
-
- /**
- * Set the Background color of the CheckBox
- * @param checkBox the CheckBox we want to set the background of
- * @param color the Color
- */
- public static void setBackground(CheckBox checkBox, Color color) {
- ScilabCheckBoxBridge.setBackground(checkBox, color);
- }
-
- /**
- * Get the Background color of the CheckBox
- * @param checkBox the CheckBox we want to get the background of
- * @return the Color
- */
- public static Color getBackground(CheckBox checkBox) {
- return ScilabCheckBoxBridge.getBackground(checkBox);
- }
-
- /**
- * Set the Foreground color of the CheckBox
- * @param checkBox the CheckBox we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(CheckBox checkBox, Color color) {
- ScilabCheckBoxBridge.setForeground(checkBox, color);
- }
-
- /**
- * Get the Foreground color of the CheckBox
- * @param checkBox the CheckBox we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(CheckBox checkBox) {
- return ScilabCheckBoxBridge.getForeground(checkBox);
- }
-
- /**
- * Set the font of the CheckBox.
- * @param checkBox the CheckBox we want to set the font of
- * @param font the font
- */
- public static void setFont(CheckBox checkBox, Font font) {
- ScilabCheckBoxBridge.setFont(checkBox, font);
- }
-
- /**
- * Get the font of the CheckBox.
- * @param checkBox the CheckBox we want to get the font of
- * @return the font
- */
- public static Font getFont(CheckBox checkBox) {
- return ScilabCheckBoxBridge.getFont(checkBox);
- }
-
- /**
- * Set if the CheckBox is enabled or not
- * @param checkBox the CheckBox we want to set the status of
- * @param status true if the CheckBox is enabled
- */
- public static void setEnabled(CheckBox checkBox, boolean status) {
- ScilabCheckBoxBridge.setEnabled(checkBox, status);
- }
-
- /**
- * Gets the enable status of the CheckBox
- * @param checkBox the CheckBox we want to get the status of
- * @return the enable status of the CheckBox (true if the CheckBox is enabled, false if not)
- */
- public static boolean isEnabled(CheckBox checkBox) {
- return ScilabCheckBoxBridge.isEnabled(checkBox);
- }
-
- /**
- * Add a callback to the CheckBox
- * @param checkBox the CheckBox we want to set the callback of
- * @param callback the CallBack to set.
- */
- public static void setCallback(CheckBox checkBox, CommonCallBack callback) {
- ScilabCheckBoxBridge.setCallback(checkBox, callback);
- }
-
- /**
- * Set the horizontal alignment for the CheckBox text
- * @param checkBox the CheckBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(CheckBox checkBox, String alignment) {
- ScilabCheckBoxBridge.setHorizontalAlignment(checkBox, alignment);
- }
-
- /**
- * Set the vertical alignment for the CheckBox text
- * @param checkBox the CheckBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(CheckBox checkBox, String alignment) {
- ScilabCheckBoxBridge.setVerticalAlignment(checkBox, alignment);
- }
-
- /**
- * Set if the CheckBox is checked or not
- * @param checkBox the CheckBox we want to set the status of
- * @param status true to set the CheckBox checked
- */
- public static void setChecked(CheckBox checkBox, boolean status) {
- ScilabCheckBoxBridge.setChecked(checkBox, status);
- }
-
- /**
- * Get the status of the CheckBox
- * @param checkBox the CheckBox we want to get the status of
- * @return true if the CheckBox is checked
- */
- public static boolean isChecked(CheckBox checkBox) {
- return ScilabCheckBoxBridge.isChecked(checkBox);
- }
-
- /**
- * Set the Relief of the CheckBox
- * @param checkBox the CheckBox which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(CheckBox checkBox, String reliefType) {
- ScilabCheckBoxBridge.setRelief(checkBox, reliefType);
- }
-
- /**
- * Delete the CheckBox
- * @param checkBox the CheckBox to be destroyed
- */
- public static void destroy(CheckBox checkBox) {
- ScilabCheckBoxBridge.destroy(checkBox);
- }
-
- /**
- * Give the focus to the CheckBox
- * @param checkBox the CheckBox
- */
- public static void requestFocus(CheckBox checkBox) {
- ScilabCheckBoxBridge.requestFocus(checkBox);
- }
-
- /**********************/
- /* RadioButton Bridge */
- /**********************/
-
- /**
- * Creates a new RadioButton
- * @return the created RadioButton
- */
- public static SimpleRadioButton createRadioButton() {
- return ScilabRadioButtonBridge.createRadioButton();
- }
-
- /**
- * Sets the Text of a RadioButton
- * @param radioButton the RadioButton we want to set the Text of
- * @param newText the Text to set for the RadioButton
- */
- public static void setText(RadioButton radioButton, String newText) {
- ScilabRadioButtonBridge.setText(radioButton, newText);
- }
-
- /**
- * Gets the text of an RadioButton
- * @param radioButton the RadioButton we want to get the text of
- * @return the text of the RadioButton
- */
- public static String getText(RadioButton radioButton) {
- return ScilabRadioButtonBridge.getText(radioButton);
- }
-
- /**
- * Draws a Scilab RadioButton
- * @param radioButton the RadioButton to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(RadioButton radioButton) {
- ScilabRadioButtonBridge.draw(radioButton);
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab RadioButton
- * @param radioButton the RadioButton we want to get the dimensions of
- * @return the size of the radioButton
- * @see org.scilab.modules.ihm.UIElement#getDims()
- */
- public static Size getDims(RadioButton radioButton) {
- return ScilabRadioButtonBridge.getDims(radioButton);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab radioButton
- * @param radioButton the radioButton we want to get the position of
- * @return the position of the radioButton
- * @see org.scilab.modules.ihm.UIElement#getPosition()
- */
- public static Position getPosition(RadioButton radioButton) {
- return ScilabRadioButtonBridge.getPosition(radioButton);
- }
-
- /**
- * Gets the visibility status of a Scilab RadioButton
- * @param radioButton the radioButton we want to get the visiblity status of
- * @return the visibility status of the radioButton (true if the radioButton is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
- */
- public static boolean isVisible(RadioButton radioButton) {
- return ScilabRadioButtonBridge.isVisible(radioButton);
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab RadioButton
- * @param radioButton the radioButton we want to set the dimensions of
- * @param newSize the size we want to set to the radioButton
- * @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
- */
- public static void setDims(RadioButton radioButton, Size newSize) {
- ScilabRadioButtonBridge.setDims(radioButton, newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab radioButton
- * @param radioButton the radioButton we want to set the position of
- * @param newPosition the position we want to set to the radioButton
- * @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
- */
- public static void setPosition(RadioButton radioButton, Position newPosition) {
- ScilabRadioButtonBridge.setPosition(radioButton, newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab RadioButton
- * @param radioButton the radioButton we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the radioButton (true to set the radioButton visible, false else)
- * @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
- */
- public static void setVisible(RadioButton radioButton, boolean newVisibleState) {
- ScilabRadioButtonBridge.setVisible(radioButton, newVisibleState);
- }
-
- /**
- * Set the Background color of the RadioButton
- * @param radioButton the RadioButton we want to set the background of
- * @param color the Color
- */
- public static void setBackground(RadioButton radioButton, Color color) {
- ScilabRadioButtonBridge.setBackground(radioButton, color);
- }
-
- /**
- * Get the Background color of the RadioButton
- * @param radioButton the RadioButton we want to get the background of
- * @return the Color
- */
- public static Color getBackground(RadioButton radioButton) {
- return ScilabRadioButtonBridge.getBackground(radioButton);
- }
-
- /**
- * Set the Foreground color of the RadioButton
- * @param radioButton the RadioButton we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(RadioButton radioButton, Color color) {
- ScilabRadioButtonBridge.setForeground(radioButton, color);
- }
-
- /**
- * Get the Foreground color of the RadioButton
- * @param radioButton the RadioButton we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(RadioButton radioButton) {
- return ScilabRadioButtonBridge.getForeground(radioButton);
- }
-
- /**
- * Set the font of the RadioButton.
- * @param radioButton the RadioButton we want to set the font of
- * @param font the font
- */
- public static void setFont(RadioButton radioButton, Font font) {
- ScilabRadioButtonBridge.setFont(radioButton, font);
- }
-
- /**
- * Get the font of the RadioButton.
- * @param radioButton the RadioButton we want to get the font of
- * @return the font
- */
- public static Font getFont(RadioButton radioButton) {
- return ScilabRadioButtonBridge.getFont(radioButton);
- }
-
- /**
- * Set if the RadioButton is enabled or not
- * @param radioButton the RadioButton we want to set the status of
- * @param status true if the RadioButton is enabled
- */
- public static void setEnabled(RadioButton radioButton, boolean status) {
- ScilabRadioButtonBridge.setEnabled(radioButton, status);
- }
-
- /**
- * Gets the enable status of a RadioButton
- * @param radioButton the RadioButton we want to get the status of
- * @return the enable status of the RadioButton (true if the RadioButton is enabled, false if not)
- */
- public static boolean isEnabled(RadioButton radioButton) {
- return ScilabRadioButtonBridge.isEnabled(radioButton);
- }
-
- /**
- * Add a callback to the RadioButton
- * @param radioButton the RadioButton we want to set the callback of
- * @param callback the callback to set.
- */
- public static void setCallback(RadioButton radioButton, CommonCallBack callback) {
- ScilabRadioButtonBridge.setCallback(radioButton, callback);
- }
-
- /**
- * Set the horizontal alignment for the RadioButton text
- * @param radioButton the RadioButton we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(RadioButton radioButton, String alignment) {
- ScilabRadioButtonBridge.setHorizontalAlignment(radioButton, alignment);
- }
-
- /**
- * Set the vertical alignment for the RadioButton text
- * @param radioButton the RadioButton we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(RadioButton radioButton, String alignment) {
- ScilabRadioButtonBridge.setVerticalAlignment(radioButton, alignment);
- }
-
- /**
- * Set if the RadioButton is checked or not
- * @param radioButton the RadioButton we want to set the status of
- * @param status true to set the RadioButon checked
- */
- public static void setChecked(RadioButton radioButton, boolean status) {
- ScilabRadioButtonBridge.setChecked(radioButton, status);
- }
-
- /**
- * Get the status of the RadioButton
- * @param radioButton the RadioButton we want to get the status of
- * @return true if the RadioButton is checked
- */
- public static boolean isChecked(RadioButton radioButton) {
- return ScilabRadioButtonBridge.isChecked(radioButton);
- }
-
- /**
- * Set the Relief of the RadioButton
- * @param radioButton the RadioButton which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(RadioButton radioButton, String reliefType) {
- ScilabRadioButtonBridge.setRelief(radioButton, reliefType);
- }
-
- /**
- * Delete the RadioButton
- * @param radioButton the RadioButton to be destroyed
- */
- public static void destroy(RadioButton radioButton) {
- ScilabRadioButtonBridge.destroy(radioButton);
- }
-
- /**
- * Give the focus to the RadioButton
- * @param radioButton the RadioButton
- */
- public static void requestFocus(RadioButton radioButton) {
- ScilabRadioButtonBridge.requestFocus(radioButton);
- }
-
- /*****************/
- /* Slider Bridge */
- /*****************/
-
- /**
- * Creates a new Slider
- * @return the created Slider
- */
- public static SimpleSlider createSlider() {
- return ScilabSliderBridge.createSlider();
- }
-
- /**
- * Sets the Text of a Slider
- * @param slider the Slider we want to set the Text of
- * @param newText the Text to set for the Slider
- */
- public static void setText(Slider slider, String newText) {
- ScilabSliderBridge.setText(slider, newText);
- }
-
- /**
- * Gets the text of an Slider
- * @param slider the Slider we want to get the text of
- * @return the text of the Slider
- */
- public static String getText(Slider slider) {
- return ScilabSliderBridge.getText(slider);
- }
-
- /**
- * Draws a Scilab Slider
- * @param slider the Slider to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(Slider slider) {
- ScilabSliderBridge.draw(slider);
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab Slider
- * @param slider the Slider we want to get the dimensions of
- * @return the size of the slider
- * @see org.scilab.modules.ihm.UIElement#getDims()
- */
- public static Size getDims(Slider slider) {
- return ScilabSliderBridge.getDims(slider);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab slider
- * @param slider the slider we want to get the position of
- * @return the position of the slider
- * @see org.scilab.modules.ihm.UIElement#getPosition()
- */
- public static Position getPosition(Slider slider) {
- return ScilabSliderBridge.getPosition(slider);
- }
-
- /**
- * Gets the visibility status of a Scilab Slider
- * @param slider the slider we want to get the visiblity status of
- * @return the visibility status of the slider (true if the slider is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
- */
- public static boolean isVisible(Slider slider) {
- return ScilabSliderBridge.isVisible(slider);
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab Slider
- * @param slider the slider we want to set the dimensions of
- * @param newSize the size we want to set to the slider
- * @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
- */
- public static void setDims(Slider slider, Size newSize) {
- ScilabSliderBridge.setDims(slider, newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab slider
- * @param slider the slider we want to set the position of
- * @param newPosition the position we want to set to the slider
- * @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
- */
- public static void setPosition(Slider slider, Position newPosition) {
- ScilabSliderBridge.setPosition(slider, newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab Slider
- * @param slider the slider we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the slider (true to set the slider visible, false else)
- * @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
- */
- public static void setVisible(Slider slider, boolean newVisibleState) {
- ScilabSliderBridge.setVisible(slider, newVisibleState);
- }
-
- /**
- * Set the Background color of the Slider
- * @param slider the Slider we want to set the background of
- * @param color the Color
- */
- public static void setBackground(Slider slider, Color color) {
- ScilabSliderBridge.setBackground(slider, color);
- }
-
- /**
- * Get the Background color of the Slider
- * @param slider the Slider we want to get the background of
- * @return the Color
- */
- public static Color getBackground(Slider slider) {
- return ScilabSliderBridge.getBackground(slider);
- }
-
- /**
- * Set the Foreground color of the Slider
- * @param slider the Slider we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(Slider slider, Color color) {
- ScilabSliderBridge.setForeground(slider, color);
- }
-
- /**
- * Get the Foreground color of the Slider
- * @param slider the Slider we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(Slider slider) {
- return ScilabSliderBridge.getForeground(slider);
- }
-
- /**
- * Set the font of the Slider.
- * @param slider the Slider we want to set the font of
- * @param font the font
- */
- public static void setFont(Slider slider, Font font) {
- ScilabSliderBridge.setFont(slider, font);
- }
-
- /**
- * Get the font of the Slider.
- * @param slider the Slider we want to get the font of
- * @return the font
- */
- public static Font getFont(Slider slider) {
- return ScilabSliderBridge.getFont(slider);
- }
-
- /**
- * Set if the Slider is enabled or not
- * @param slider the Slider we want to set the status of
- * @param status true if the Slider is enabled
- */
- public static void setEnabled(Slider slider, boolean status) {
- ScilabSliderBridge.setEnabled(slider, status);
- }
-
- /**
- * Gets the enable status of an Slider
- * @param slider the Slider we want to get the status of
- * @return the enable status of the Slider (true if the Slider is enabled, false if not)
- */
- public static boolean isEnabled(Slider slider) {
- return ScilabSliderBridge.isEnabled(slider);
- }
-
- /**
- * Add a callback to the Slider
- * @param slider the Slider we want to set the callback of
- * @param callback the CallBack to set.
- */
- public static void setCallback(Slider slider, CommonCallBack callback) {
- ScilabSliderBridge.setCallback(slider, callback);
- }
-
- /**
- * Set the horizontal alignment for the Slider text
- * @param slider the Slider we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(Slider slider, String alignment) {
- ScilabSliderBridge.setHorizontalAlignment(slider, alignment);
- }
-
- /**
- * Set the vertical alignment for the Slider text
- * @param slider the Slider we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(Slider slider, String alignment) {
- ScilabSliderBridge.setVerticalAlignment(slider, alignment);
- }
-
- /**
- * Set the minor tick spacing for a Slider
- * @param slider the Slider we want to set the spacing of
- * @param space the increment value
- */
- public static void setMinorTickSpacing(Slider slider, int space) {
- ScilabSliderBridge.setMinorTickSpacing(slider, space);
- }
-
- /**
- * Set the major tick spacing for a Slider
- * @param slider the Slider we want to set the spacing of
- * @param space the increment value
- */
- public static void setMajorTickSpacing(Slider slider, int space) {
- ScilabSliderBridge.setMajorTickSpacing(slider, space);
- }
-
- /**
- * Set the minimum value of a Slider
- * @param slider the Slider we want to set the minimum value of
- * @param value the minimum value
- */
- public static void setMinimumValue(Slider slider, int value) {
- ScilabSliderBridge.setMinimumValue(slider, value);
- }
-
- /**
- * Set the maximum value of a Slider
- * @param slider the Slider we want to set the maximum value of
- * @param value the maximum value
- */
- public static void setMaximumValue(Slider slider, int value) {
- ScilabSliderBridge.setMaximumValue(slider, value);
- }
-
- /**
- * Get the current value of the Slider
- * @param slider the Slider we want to get the value of
- * @return the current value of the Slider
- */
- public static int getValue(Slider slider) {
- return ScilabSliderBridge.getValue(slider);
- }
-
- /**
- * Sets the current value of the Slider
- * @param slider the Slider we want to set the value of
- * @param value the new value
- */
- public static void setUserValue(Slider slider, int value) {
- ScilabSliderBridge.setUserValue(slider, value);
- }
-
- /**
- * Set the Relief of the Slider
- * @param slider the Slider which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(Slider slider, String reliefType) {
- ScilabSliderBridge.setRelief(slider, reliefType);
- }
-
- /**
- * Set the slider orientation to vertical
- * @param slider the slider we want to set the orientation of
- */
- public static void setVertical(Slider slider) {
- ScilabSliderBridge.setVertical(slider);
- }
-
- /**
- * Set the slider orientation to horizontal
- * @param slider the slider we want to set the orientation of
- */
- public static void setHorizontal(Slider slider) {
- ScilabSliderBridge.setHorizontal(slider);
- }
-
- /**
- * Delete the Slider
- * @param slider the Slider to be destroyed
- */
- public static void destroy(Slider slider) {
- ScilabSliderBridge.destroy(slider);
- }
-
- /**
- * Give the focus to the Slider
- * @param slider the Slider
- */
- public static void requestFocus(Slider slider) {
- ScilabSliderBridge.requestFocus(slider);
- }
-
- /******************/
- /* ListBox Bridge */
- /******************/
-
- /**
- * Creates a new ListBox
- * @return the created ListBox
- */
- public static SimpleListBox createListBox() {
- return ScilabListBoxBridge.createListBox();
- }
-
- /**
- * Sets the Text of a ListBox
- * @param listBox the ListBox we want to set the Text of
- * @param newText the Text to set for the ListBox
- */
- public static void setText(ListBox listBox, String newText) {
- ScilabListBoxBridge.setText(listBox, newText);
- }
-
- /**
- * Gets the text of an ListBox
- * @param listBox the ListBox we want to get the text of
- * @return the text of the ListBox
- */
- public static String getText(ListBox listBox) {
- return ScilabListBoxBridge.getText(listBox);
- }
-
- /**
- * Draws a Scilab ListBox
- * @param listBox the ListBox to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(ListBox listBox) {
- ScilabListBoxBridge.draw(listBox);
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab ListBox
- * @param listBox the ListBox we want to get the dimensions of
- * @return the size of the listBox
- * @see org.scilab.modules.ihm.UIElement#getDims()
- */
- public static Size getDims(ListBox listBox) {
- return ScilabListBoxBridge.getDims(listBox);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab listBox
- * @param listBox the listBox we want to get the position of
- * @return the position of the listBox
- * @see org.scilab.modules.ihm.UIElement#getPosition()
- */
- public static Position getPosition(ListBox listBox) {
- return ScilabListBoxBridge.getPosition(listBox);
- }
-
- /**
- * Gets the visibility status of a Scilab ListBox
- * @param listBox the listBox we want to get the visiblity status of
- * @return the visibility status of the listBox (true if the listBox is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
- */
- public static boolean isVisible(ListBox listBox) {
- return ScilabListBoxBridge.isVisible(listBox);
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab ListBox
- * @param listBox the listBox we want to set the dimensions of
- * @param newSize the size we want to set to the listBox
- * @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
- */
- public static void setDims(ListBox listBox, Size newSize) {
- ScilabListBoxBridge.setDims(listBox, newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab listBox
- * @param listBox the listBox we want to set the position of
- * @param newPosition the position we want to set to the listBox
- * @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
- */
- public static void setPosition(ListBox listBox, Position newPosition) {
- ScilabListBoxBridge.setPosition(listBox, newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab ListBox
- * @param listBox the listBox we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the listBox (true to set the listBox visible, false else)
- * @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
- */
- public static void setVisible(ListBox listBox, boolean newVisibleState) {
- ScilabListBoxBridge.setVisible(listBox, newVisibleState);
- }
-
- /**
- * Set the Background color of the ListBox
- * @param listBox the ListBox we want to set the background of
- * @param color the Color
- */
- public static void setBackground(ListBox listBox, Color color) {
- ScilabListBoxBridge.setBackground(listBox, color);
- }
-
- /**
- * Get the Background color of the ListBox
- * @param listBox the ListBox we want to get the background of
- * @return the Color
- */
- public static Color getBackground(ListBox listBox) {
- return ScilabListBoxBridge.getBackground(listBox);
- }
-
- /**
- * Set the Foreground color of the ListBox
- * @param listBox the ListBox we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(ListBox listBox, Color color) {
- ScilabListBoxBridge.setForeground(listBox, color);
- }
-
- /**
- * Get the Foreground color of the ListBox
- * @param listBox the ListBox we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(ListBox listBox) {
- return ScilabListBoxBridge.getForeground(listBox);
- }
-
- /**
- * Set the font of the ListBox.
- * @param listBox the ListBox we want to set the font of
- * @param font the font
- */
- public static void setFont(ListBox listBox, Font font) {
- ScilabListBoxBridge.setFont(listBox, font);
- }
-
- /**
- * Get the font of the ListBox.
- * @param listBox the ListBox we want to get the font of
- * @return the font
- */
- public static Font getFont(ListBox listBox) {
- return ScilabListBoxBridge.getFont(listBox);
- }
-
- /**
- * Set if the ListBox is enabled or not
- * @param listBox the ListBox we want to set the status of
- * @param status true if the ListBox is enabled
- */
- public static void setEnabled(ListBox listBox, boolean status) {
- ScilabListBoxBridge.setEnabled(listBox, status);
- }
-
- /**
- * Gets the enable status of a ListBox
- * @param listBox the ListBox we want to get the status of
- * @return the enable status of the ListBox (true if the ListBox is enabled, false if not)
- */
- public static boolean isEnabled(ListBox listBox) {
- return ScilabListBoxBridge.isEnabled(listBox);
- }
-
- /**
- * Add a callback to the ListBox
- * @param listBox the ListBox we want to set the callback of
- * @param callback the Callback to set.
- */
- public static void setCallback(ListBox listBox, CommonCallBack callback) {
- ScilabListBoxBridge.setCallback(listBox, callback);
- }
-
-
- /**
- * Set the horizontal alignment for the ListBox text
- * @param listBox the ListBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(ListBox listBox, String alignment) {
- ScilabListBoxBridge.setHorizontalAlignment(listBox, alignment);
- }
-
- /**
- * Set the vertical alignment for the ListBox text
- * @param listBox the ListBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(ListBox listBox, String alignment) {
- ScilabListBoxBridge.setVerticalAlignment(listBox, alignment);
- }
-
- /**
- * Set if more than one item can be selected in a ListBox
- * @param listBox the ListBox we want to set the status of
- * @param status true if multiple selection is enabled
- */
- public static void setMultipleSelectionEnabled(ListBox listBox, boolean status) {
- ScilabListBoxBridge.setMultipleSelectionEnabled(listBox, status);
- }
-
- /**
- * Set the selected indices of the ListBox
- * @param listBox the ListBox we want to set the selected indices of
- * @param indices the indices of the items to be selected
- */
- public static void setSelectedIndices(ListBox listBox, int[] indices) {
- ScilabListBoxBridge.setSelectedIndices(listBox, indices);
- }
-
- /**
- * Get the selected indices of the ListBox
- * @param listBox the ListBox we want to get the selected indices of
- * @return the indices of the items selected
- */
- public static int[] getSelectedIndices(ListBox listBox) {
- return ScilabListBoxBridge.getSelectedIndices(listBox);
- }
-
- /**
- * Get the number of items selected in the ListBox
- * @param listBox the ListBox we want to get the selection size of
- * @return the number of items selected
- */
- public static int getSelectionSize(ListBox listBox) {
- return ScilabListBoxBridge.getSelectionSize(listBox);
- }
-
- /**
- * Get the text of all the list items
- * @param listBox the ListBox we want to get the items text of
- * @return the text items
- * @see org.scilab.modules.gui.listbox.ListBox#getAllItemsText()
- */
- public static String[] getAllItemsText(ListBox listBox) {
- return ScilabListBoxBridge.getAllItemsText(listBox);
- }
-
- /**
- * Get the number of items in the list
- * @param listBox the ListBox we want to get the items number of
- * @return the number of items
- * @see org.scilab.modules.gui.listbox.ListBox#getNumberOfItems()
- */
- public static int getNumberOfItems(ListBox listBox) {
- return ScilabListBoxBridge.getNumberOfItems(listBox);
- }
-
- /**
- * Set the text of the list items
- * @param listBox the ListBox we want to set the items text of
- * @param text the text of the items
- * @see org.scilab.modules.gui.listbox.ListBox#setText(java.lang.String[])
- */
- public static void setText(ListBox listBox, String[] text) {
- ScilabListBoxBridge.setText(listBox, text);
- }
-
- /**
- * Set the Relief of the ListBox
- * @param listBox the ListBox which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(ListBox listBox, String reliefType) {
- ScilabListBoxBridge.setRelief(listBox, reliefType);
- }
-
- /**
- * Delete the ListBox
- * @param listBox the ListBox to be destroyed
- */
- public static void destroy(ListBox listBox) {
- ScilabListBoxBridge.destroy(listBox);
- }
-
- /**
- * Give the focus to the ListBox
- * @param listBox the ListBox
- */
- public static void requestFocus(ListBox listBox) {
- ScilabListBoxBridge.requestFocus(listBox);
- }
-
- /**
- * Adjusts the view so that the element given by index is displayed at the top of the ListBox.
- * @param listBox the ListBox
- * @param index the index of the element to be displayed at the top of the ListBox.
- */
- public static void setListBoxTop(ListBox listBox, int index) {
- ScilabListBoxBridge.setListBoxTop(listBox, index);
- }
-
- /**
- * Gets the index of the element displayed at the top of the ListBox
- * @param listBox the ListBox
- * @return the index of the element displayed at the top of the ListBox
- */
- public static int getListBoxTop(ListBox listBox) {
- return ScilabListBoxBridge.getListBoxTop(listBox);
- }
-
- /********************/
- /* PopupMenu Bridge */
- /********************/
-
- /**
- * Creates a new PopupMenu
- * @return the created PopupMenu
- */
- public static SimplePopupMenu createPopupMenu() {
- return ScilabPopupMenuBridge.createPopupMenu();
- }
-
- /**
- * Sets the Text of a PopupMenu
- * @param popupMenu the PopupMenu we want to set the Text of
- * @param newText the Text to set for the PopupMenu
- */
- public static void setText(PopupMenu popupMenu, String newText) {
- ScilabPopupMenuBridge.setText(popupMenu, newText);
- }
-
- /**
- * Gets the text of an PopupMenu
- * @param popupMenu the PopupMenu we want to get the text of
- * @return the text of the PopupMenu
- */
- public static String getText(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.getText(popupMenu);
- }
-
- /**
- * Draws a Scilab PopupMenu
- * @param popupMenu the PopupMenu to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(PopupMenu popupMenu) {
- ScilabPopupMenuBridge.draw(popupMenu);
+ public static Position getPosition(TextBox textBox) {
+ return ScilabTextBoxBridge.getPosition(textBox);
}
/**
- * Gets the dimensions (width and height) of a Scilab PopupMenu
- * @param popupMenu the PopupMenu we want to get the dimensions of
- * @return the size of the popupMenu
- * @see org.scilab.modules.ihm.UIElement#getDims()
+ * Gets the visibility status of a Scilab TextBox
+ * @param textBox the textBox we want to get the visiblity status of
+ * @return the visibility status of the textBox (true if the textBox is visible, false if not)
+ * @see org.scilab.modules.ihm.UIElement#isVisible()
*/
- public static Size getDims(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.getDims(popupMenu);
+ public static boolean isVisible(TextBox textBox) {
+ return ScilabTextBoxBridge.isVisible(textBox);
}
/**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab popupMenu
- * @param popupMenu the popupMenu we want to get the position of
- * @return the position of the popupMenu
- * @see org.scilab.modules.ihm.UIElement#getPosition()
+ * Set the status of the TextBox
+ * @param textBox the textBox we want to set the status of
+ * @param status true if the TextBox is enabled
+ * @see org.scilab.modules.gui.widget.Widget#setEnabled(boolean)
*/
- public static Position getPosition(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.getPosition(popupMenu);
+ public static void setEnabled(TextBox textBox, boolean status) {
+ ScilabTextBoxBridge.setEnabled(textBox, status);
}
/**
- * Gets the visibility status of a Scilab PopupMenu
- * @param popupMenu the popupMenu we want to get the visiblity status of
- * @return the visibility status of the popupMenu (true if the popupMenu is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
+ * Gets the enable status of a TextBox
+ * @param textBox the textBox we want to get the status of
+ * @return the enable status of the TextBox (true if the TextBox is enabled, false if not)
*/
- public static boolean isVisible(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.isVisible(popupMenu);
+ public static boolean isEnabled(TextBox textBox) {
+ return ScilabTextBoxBridge.isEnabled(textBox);
}
/**
- * Sets the dimensions (width and height) of a Scilab PopupMenu
- * @param popupMenu the popupMenu we want to set the dimensions of
- * @param newSize the size we want to set to the popupMenu
+ * Sets the dimensions (width and height) of a Scilab TextBox
+ * @param textBox the textBox we want to set the dimensions of
+ * @param newSize the size we want to set to the textBox
* @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
*/
- public static void setDims(PopupMenu popupMenu, Size newSize) {
- ScilabPopupMenuBridge.setDims(popupMenu, newSize);
+ public static void setDims(TextBox textBox, Size newSize) {
+ ScilabTextBoxBridge.setDims(textBox, newSize);
}
/**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab popupMenu
- * @param popupMenu the popupMenu we want to set the position of
- * @param newPosition the position we want to set to the popupMenu
+ * Sets the position (X-coordinate and Y-coordinate) of a Scilab textBox
+ * @param textBox the textBox we want to set the position of
+ * @param newPosition the position we want to set to the textBox
* @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
*/
- public static void setPosition(PopupMenu popupMenu, Position newPosition) {
- ScilabPopupMenuBridge.setPosition(popupMenu, newPosition);
+ public static void setPosition(TextBox textBox, Position newPosition) {
+ ScilabTextBoxBridge.setPosition(textBox, newPosition);
}
/**
- * Sets the visibility status of a Scilab PopupMenu
- * @param popupMenu the popupMenu we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the popupMenu (true to set the popupMenu visible, false else)
+ * Sets the visibility status of a Scilab TextBox
+ * @param textBox the textBox we want to set the visiblity status of
+ * @param newVisibleState the visibility status we want to set to the textBox (true to set the textBox visible, false else)
* @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
*/
- public static void setVisible(PopupMenu popupMenu, boolean newVisibleState) {
- ScilabPopupMenuBridge.setVisible(popupMenu, newVisibleState);
+ public static void setVisible(TextBox textBox, boolean newVisibleState) {
+ ScilabTextBoxBridge.setVisible(textBox, newVisibleState);
}
/**
- * Set the Background color of the PopupMenu
- * @param popupMenu the PopupMenu we want to set the background of
+ * Set the Background color of the textbox
+ * @param textBox the textbox we want to set the background of
* @param color the Color
*/
- public static void setBackground(PopupMenu popupMenu, Color color) {
- ScilabPopupMenuBridge.setBackground(popupMenu, color);
+ public static void setBackground(TextBox textBox, Color color) {
+ ScilabTextBoxBridge.setBackground(textBox, color);
}
/**
- * Get the Background color of the PopupMenu
- * @param popupMenu the PopupMenu we want to get the background of
+ * Get the Background color of the textbox
+ * @param textBox the textbox we want to get the background of
* @return the Color
*/
- public static Color getBackground(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.getBackground(popupMenu);
+ public static Color getBackground(TextBox textBox) {
+ return ScilabTextBoxBridge.getBackground(textBox);
}
/**
- * Set the Foreground color of the PopupMenu
- * @param popupMenu the PopupMenu we want to set the foreground of
+ * Set the Foreground color of the textbox
+ * @param textBox the textbox we want to set the foreground of
* @param color the Color
*/
- public static void setForeground(PopupMenu popupMenu, Color color) {
- ScilabPopupMenuBridge.setForeground(popupMenu, color);
+ public static void setForeground(TextBox textBox, Color color) {
+ ScilabTextBoxBridge.setForeground(textBox, color);
}
/**
- * Get the Foreground color of the PopupMenu
- * @param popupMenu the PopupMenu we want to get the foreground of
+ * Get the Foreground color of the textbox
+ * @param textBox the textbox we want to get the foreground of
* @return the Color
*/
- public static Color getForeground(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.getForeground(popupMenu);
+ public static Color getForeground(TextBox textBox) {
+ return ScilabTextBoxBridge.getForeground(textBox);
}
/**
- * Set the font of the PopupMenu.
- * @param popupMenu the PopupMenu we want to set the font of
+ * Set the font of the textbox.
+ * @param textBox the textbox we want to set the font of
* @param font the font
*/
- public static void setFont(PopupMenu popupMenu, Font font) {
- ScilabPopupMenuBridge.setFont(popupMenu, font);
+ public static void setFont(TextBox textBox, Font font) {
+ ScilabTextBoxBridge.setFont(textBox, font);
}
/**
- * Get the font of the PopupMenu.
- * @param popupMenu the PopupMenu we want to get the font of
+ * Get the font of the textbox.
+ * @param textBox the textbox we want to get the font of
* @return the font
*/
- public static Font getFont(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.getFont(popupMenu);
- }
-
- /**
- * Set if the PopupMenu is enabled or not
- * @param popupMenu the PopupMenu we want to set the status of
- * @param status true if the PopupMenu is enabled
- */
- public static void setEnabled(PopupMenu popupMenu, boolean status) {
- ScilabPopupMenuBridge.setEnabled(popupMenu, status);
- }
-
- /**
- * Gets the enable status of a PopupMenu
- * @param popupMenu the PopupMenu we want to get the status of
- * @return the enable status of the PopupMenu (true if the PopupMenu is enabled, false if not)
- */
- public static boolean isEnabled(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.isEnabled(popupMenu);
+ public static Font getFont(TextBox textBox) {
+ return ScilabTextBoxBridge.getFont(textBox);
}
/**
- * Add a callback to the PopupMenu
- * @param popupMenu the PopupMenu we want to set the callback of
+ * Add a callback to the TextBox
+ * @param textBox the TextBox we want to set the callback of
* @param callback the CallBack to set.
*/
- public static void setCallback(PopupMenu popupMenu, CommonCallBack callback) {
- ScilabPopupMenuBridge.setCallback(popupMenu, callback);
+ public static void setCallback(TextBox textBox, CommonCallBack callback) {
+ ScilabTextBoxBridge.setCallback(textBox, callback);
}
/**
- * Set the horizontal alignment for the PopupMenu text
- * @param popupMenu the PopupMenu we want to set the alignment of
+ * Set the horizontal alignment for the TextBox text
+ * @param textBox the TextBox we want to set the alignment of
* @param alignment the value for the alignment (See ScilabAlignment.java)
*/
- public static void setHorizontalAlignment(PopupMenu popupMenu, String alignment) {
- ScilabPopupMenuBridge.setHorizontalAlignment(popupMenu, alignment);
+ public static void setHorizontalAlignment(TextBox textBox, String alignment) {
+ ScilabTextBoxBridge.setHorizontalAlignment(textBox, alignment);
}
/**
- * Set the vertical alignment for the PopupMenu text
- * @param popupMenu the PopupMenu we want to set the alignment of
+ * Set the vertical alignment for the TextBox text
+ * @param textBox the TextBox we want to set the alignment of
* @param alignment the value for the alignment (See ScilabAlignment.java)
*/
- public static void setVerticalAlignment(PopupMenu popupMenu, String alignment) {
- ScilabPopupMenuBridge.setVerticalAlignment(popupMenu, alignment);
- }
-
- /**
- * Set the selected index of the ListBox
- * @param popupMenu the PopupMenu we want to set the selected index of
- * @param index the index of the item to be selected
- */
- public static void setUserSelectedIndex(PopupMenu popupMenu, int index) {
- ScilabPopupMenuBridge.setUserSelectedIndex(popupMenu, index);
- }
-
- /**
- * Get the selected index of the ListBox
- * @param popupMenu the PopupMenu we want to get the selected index of
- * @return the index of the item selected
- */
- public static int getUserSelectedIndex(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.getUserSelectedIndex(popupMenu);
- }
-
- /**
- * Get the text of all the PopupMenu items
- * @param popupMenu the PopupMenu we want to get the items of
- * @return the text items
- */
- public static String[] getAllItemsText(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.getAllItemsText(popupMenu);
- }
-
- /**
- * Get the number of items in the PopupMenu
- * @param popupMenu the PopupMenu we want to get the items number of
- * @return the number of items
- */
- public static int getNumberOfItems(PopupMenu popupMenu) {
- return ScilabPopupMenuBridge.getNumberOfItems(popupMenu);
- }
-
- /**
- * Set the text of the PopupMenu items
- * @param popupMenu the PopupMenu we want to set the text items of
- * @param text the text of the items
- */
- public static void setText(PopupMenu popupMenu, String[] text) {
- ScilabPopupMenuBridge.setText(popupMenu, text);
+ public static void setVerticalAlignment(TextBox textBox, String alignment) {
+ ScilabTextBoxBridge.setVerticalAlignment(textBox, alignment);
}
/**
- * Set the Relief of the PopupMenu
- * @param popupMenu the PopupMenu which we want to set the Relief of
+ * Set the Relief of the TextBox
+ * @param textBox the TextBox which we want to set the Relief of
* @param reliefType the type of the relief to set (See ScilabRelief.java)
*/
- public static void setRelief(PopupMenu popupMenu, String reliefType) {
- ScilabPopupMenuBridge.setRelief(popupMenu, reliefType);
+ public static void setRelief(TextBox textBox, String reliefType) {
+ ScilabTextBoxBridge.setRelief(textBox, reliefType);
}
/**
- * Delete the PopupMenu
- * @param popupMenu the PopupMenu to be destroyed
+ * Delete the TextBox
+ * @param textBox the TextBox to be destroyed
*/
- public static void destroy(PopupMenu popupMenu) {
- ScilabPopupMenuBridge.destroy(popupMenu);
+ public static void destroy(TextBox textBox) {
+ ScilabTextBoxBridge.destroy(textBox);
}
/**
- * Give the focus to the PopupMenu
- * @param popupMenu the PopupMenu
+ * Give the focus to the TextBox
+ * @param textBox the TextBox
*/
- public static void requestFocus(PopupMenu popupMenu) {
- ScilabPopupMenuBridge.requestFocus(popupMenu);
+ public static void requestFocus(TextBox textBox) {
+ ScilabTextBoxBridge.requestFocus(textBox);
}
/***********************/
}
/**********************/
- /* UiTable Bridge */
- /**********************/
-
- /**
- * Creates a new UiTable
- * @return the created UiTable
- */
- public static SimpleUiTable createUiTable() {
- return ScilabUiTableBridge.createUiTable();
- }
-
- /**
- * Sets the Text of a UiTable
- * @param uiTable the UiTable we want to set the Text of
- * @param newText the Text to set for the UiTable
- */
- public static void setText(UiTable uiTable, String newText) {
- ScilabUiTableBridge.setText(uiTable, newText);
- }
-
- /**
- * Gets the text of an UiTable
- * @param uiTable the UiTable we want to get the text of
- * @return the text of the UiTable
- */
- public static String getText(UiTable uiTable) {
- return ScilabUiTableBridge.getText(uiTable);
- }
-
- /**
- * Draws a Scilab UiTable
- * @param uiTable the UiTable to draw
- * @see org.scilab.modules.ihm.UIElement#draw()
- */
- public static void draw(UiTable uiTable) {
- ScilabUiTableBridge.draw(uiTable);
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab UiTable
- * @param uiTable the UiTable we want to get the dimensions of
- * @return the size of the uiTable
- * @see org.scilab.modules.ihm.UIElement#getDims()
- */
- public static Size getDims(UiTable uiTable) {
- return ScilabUiTableBridge.getDims(uiTable);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab uiTable
- * @param uiTable the uiTable we want to get the position of
- * @return the position of the uiTable
- * @see org.scilab.modules.ihm.UIElement#getPosition()
- */
- public static Position getPosition(UiTable uiTable) {
- return ScilabUiTableBridge.getPosition(uiTable);
- }
-
- /**
- * Gets the visibility status of a Scilab UiTable
- * @param uiTable the uiTable we want to get the visiblity status of
- * @return the visibility status of the uiTable (true if the uiTable is visible, false if not)
- * @see org.scilab.modules.ihm.UIElement#isVisible()
- */
- public static boolean isVisible(UiTable uiTable) {
- return ScilabUiTableBridge.isVisible(uiTable);
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab UiTable
- * @param uiTable the uiTable we want to set the dimensions of
- * @param newSize the size we want to set to the uiTable
- * @see org.scilab.modules.ihm.UIElement#setDims(org.scilab.modules.ihm.utils.Size)
- */
- public static void setDims(UiTable uiTable, Size newSize) {
- ScilabUiTableBridge.setDims(uiTable, newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab uiTable
- * @param uiTable the uiTable we want to set the position of
- * @param newPosition the position we want to set to the uiTable
- * @see org.scilab.modules.ihm.UIElement#setPosition(org.scilab.modules.ihm.utils.Position)
- */
- public static void setPosition(UiTable uiTable, Position newPosition) {
- ScilabUiTableBridge.setPosition(uiTable, newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab UiTable
- * @param uiTable the uiTable we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the uiTable (true to set the uiTable visible, false else)
- * @see org.scilab.modules.ihm.UIElement#setVisible(boolean)
- */
- public static void setVisible(UiTable uiTable, boolean newVisibleState) {
- ScilabUiTableBridge.setVisible(uiTable, newVisibleState);
- }
-
- /**
- * Set the Background color of the UiTable
- * @param uiTable the UiTable we want to set the background of
- * @param color the Color
- */
- public static void setBackground(UiTable uiTable, Color color) {
- ScilabUiTableBridge.setBackground(uiTable, color);
- }
-
- /**
- * Get the Background color of the UiTable
- * @param uiTable the UiTable we want to get the background of
- * @return the Color
- */
- public static Color getBackground(UiTable uiTable) {
- return ScilabUiTableBridge.getBackground(uiTable);
- }
-
- /**
- * Set the Foreground color of the UiTable
- * @param uiTable the UiTable we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(UiTable uiTable, Color color) {
- ScilabUiTableBridge.setForeground(uiTable, color);
- }
-
- /**
- * Get the Foreground color of the UiTable
- * @param uiTable the UiTable we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(UiTable uiTable) {
- return ScilabUiTableBridge.getForeground(uiTable);
- }
-
- /**
- * Set the font of the UiTable.
- * @param uiTable the UiTable we want to set the font of
- * @param font the font
- */
- public static void setFont(UiTable uiTable, Font font) {
- ScilabUiTableBridge.setFont(uiTable, font);
- }
-
- /**
- * Get the font of the UiTable.
- * @param uiTable the UiTable we want to get the font of
- * @return the font
- */
- public static Font getFont(UiTable uiTable) {
- return ScilabUiTableBridge.getFont(uiTable);
- }
-
- /**
- * Set if the UiTable is enabled or not
- * @param uiTable the UiTable we want to set the status of
- * @param status true if the UiTable is enabled
- */
- public static void setEnabled(UiTable uiTable, boolean status) {
- ScilabUiTableBridge.setEnabled(uiTable, status);
- }
-
- /**
- * Gets the enable status of a UiTable
- * @param uiTable the UiTable we want to get the status of
- * @return the enable status of the UiTable (true if the UiTable is enabled, false if not)
- */
- public static boolean isEnabled(UiTable uiTable) {
- return ScilabUiTableBridge.isEnabled(uiTable);
- }
-
- /**
- * Add a callback to the UiTable
- * @param uiTable the UiTable we want to set the callback of
- * @param callback the Callback to set.
- */
- public static void setCallback(UiTable uiTable, CommonCallBack callback) {
- ScilabUiTableBridge.setCallback(uiTable, callback);
- }
-
- /**
- * Set the horizontal alignment for the UiTable text
- * @param uiTable the UiTable we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(UiTable uiTable, String alignment) {
- ScilabUiTableBridge.setHorizontalAlignment(uiTable, alignment);
- }
-
- /**
- * Set the vertical alignment for the UiTable text
- * @param uiTable the UiTable we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(UiTable uiTable, String alignment) {
- ScilabUiTableBridge.setVerticalAlignment(uiTable, alignment);
- }
-
- /**
- * Set the Relief of the UiTable
- * @param uiTable the UiTable which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(UiTable uiTable, String reliefType) {
- ScilabUiTableBridge.setRelief(uiTable, reliefType);
- }
-
- /**
- * Delete the UiTable
- * @param uiTable the UiTable to be destroyed
- */
- public static void destroy(UiTable uiTable) {
- ScilabUiTableBridge.destroy(uiTable);
- }
-
- /**
- * Give the focus to the UiTable
- * @param uiTable the UiTable
- */
- public static void requestFocus(UiTable uiTable) {
- ScilabUiTableBridge.requestFocus(uiTable);
- }
-
- /**
- * Sets the column names for uitable
- * @param uiTable the UiTable
- * @param text the String that contains column names delimited by a '|'. Example: 1|2|3|4
- */
- public static void setColnames(UiTable uiTable, String text) {
- ScilabUiTableBridge.setColnames(uiTable, text);
- }
-
- /**
- * Sets the row names for uitable
- * @param uiTable the UiTable
- * @param text the String that contains row names delimited by a '|'. Example: 1|2|3|4
- */
- public static void setRownames(UiTable uiTable, String text) {
- ScilabUiTableBridge.setRownames(uiTable, text);
- }
-
- /**
- * Sets the Data for uitable
- * @param uiTable the UiTable
- * @param text the String that contains row data delimited by a '|'
- * and column data delimited by " ". Example: 1.26 3.47 | a b | d e | a b
- */
- public static void setData(UiTable uiTable, String text) {
- ScilabUiTableBridge.setData(uiTable, text);
- }
-
- /**********************/
/* UiDisplayTree Bridge */
/**********************/
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.bridge.groupmanager.GroupManager;
import org.scilab.modules.gui.bridge.radiobutton.SwingScilabRadioButton;
-import org.scilab.modules.gui.checkbox.SimpleCheckBox;
import org.scilab.modules.gui.events.callback.CommonCallBack;
import org.scilab.modules.gui.menubar.MenuBar;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.utils.ScilabAlignment;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab CheckBox in GUIs
* @author Vincent COUVERT
* @author Marouane BEN JELLOUL
*/
-public class SwingScilabCheckBox extends JCheckBox implements SwingViewObject, SimpleCheckBox {
+public class SwingScilabCheckBox extends JCheckBox implements SwingViewObject, Widget {
private static final long serialVersionUID = 3435428345694647542L;
package org.scilab.modules.gui.bridge.editbox;
-import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_SCROLLABLE__;
-import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_MAX__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_BACKGROUNDCOLOR__;
+import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_MAX__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_MIN__;
+import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_SCROLLABLE__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_STRING__;
import java.awt.BorderLayout;
import org.scilab.modules.gui.SwingView;
import org.scilab.modules.gui.SwingViewObject;
import org.scilab.modules.gui.SwingViewWidget;
-import org.scilab.modules.gui.editbox.SimpleEditBox;
import org.scilab.modules.gui.events.callback.CommonCallBack;
import org.scilab.modules.gui.menubar.MenuBar;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.ScilabSwingUtilities;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab EditBox in GUIs
* @author Vincent COUVERT
*/
-public class SwingScilabEditBox extends JScrollPane implements SwingViewObject, SimpleEditBox {
+public class SwingScilabEditBox extends JScrollPane implements SwingViewObject, Widget {
private static final long serialVersionUID = 2048261239598753717L;
import org.scilab.modules.graphic_objects.graphicController.GraphicController;
import org.scilab.modules.gui.SwingViewObject;
import org.scilab.modules.gui.SwingViewWidget;
-import org.scilab.modules.gui.editbox.SimpleEditBox;
import org.scilab.modules.gui.events.callback.CommonCallBack;
import org.scilab.modules.gui.menubar.MenuBar;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.utils.PositionConverter;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
-public class SwingScilabSpinner extends JSpinner implements SwingViewObject, SimpleEditBox {
+public class SwingScilabSpinner extends JSpinner implements SwingViewObject, Widget {
private static final long serialVersionUID = -8036645127098703686L;
private Integer uid;
import java.awt.event.ComponentListener;
import javax.swing.JPanel;
-import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.border.Border;
import org.scilab.modules.gui.SwingViewObject;
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.bridge.canvas.SwingScilabCanvas;
-import org.scilab.modules.gui.bridge.checkbox.SwingScilabCheckBox;
import org.scilab.modules.gui.bridge.console.SwingScilabConsole;
-import org.scilab.modules.gui.bridge.editbox.SwingScilabEditBox;
-import org.scilab.modules.gui.bridge.label.SwingScilabLabel;
-import org.scilab.modules.gui.bridge.listbox.SwingScilabListBox;
-import org.scilab.modules.gui.bridge.pushbutton.SwingScilabPushButton;
-import org.scilab.modules.gui.bridge.radiobutton.SwingScilabRadioButton;
-import org.scilab.modules.gui.bridge.slider.SwingScilabScroll;
import org.scilab.modules.gui.bridge.tab.SwingScilabAxes;
import org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel;
-import org.scilab.modules.gui.bridge.tab.SwingScilabPanel;
import org.scilab.modules.gui.bridge.tab.SwingScilabTabGroup;
import org.scilab.modules.gui.bridge.textbox.SwingScilabTextBox;
-import org.scilab.modules.gui.bridge.window.SwingScilabWindow;
import org.scilab.modules.gui.canvas.Canvas;
-import org.scilab.modules.gui.checkbox.CheckBox;
import org.scilab.modules.gui.console.Console;
import org.scilab.modules.gui.dockable.Dockable;
-import org.scilab.modules.gui.editbox.EditBox;
import org.scilab.modules.gui.editor.EditorEventListener;
import org.scilab.modules.gui.events.callback.CommonCallBack;
-import org.scilab.modules.gui.frame.Frame;
-import org.scilab.modules.gui.frame.SimpleFrame;
-import org.scilab.modules.gui.label.Label;
-import org.scilab.modules.gui.listbox.ListBox;
import org.scilab.modules.gui.menubar.MenuBar;
-import org.scilab.modules.gui.pushbutton.PushButton;
-import org.scilab.modules.gui.radiobutton.RadioButton;
-import org.scilab.modules.gui.slider.Slider;
import org.scilab.modules.gui.tab.Tab;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
* @author Vincent COUVERT
* @author Marouane BEN JELLOUL
*/
-public class SwingScilabFrame extends JPanel implements SwingViewObject, SimpleFrame {
+public class SwingScilabFrame extends JPanel implements SwingViewObject, Widget {
private static final long serialVersionUID = -7401084975837285447L;
* @param member the member to add
* @return index of member in ArrayList
*/
- public int addMember(EditBox member) {
- return this.addMember((SwingScilabEditBox) member.getAsSimpleEditBox());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabEditBox member) {
- this.add(member);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public int addMember(Label member) {
- // FIXME replace member with member.getAsSimpleLabel() when ready
- return this.addMember((SwingScilabLabel) member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabLabel member) {
- this.add(member);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public int addMember(Frame member) {
- return this.addMember((SwingScilabFrame) member.getAsSimpleFrame());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabFrame member) {
- this.add(member);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a Frame in a Frame with a BorderLayout.
- * @param member the member to add
- * @param borderLayout the BorderLayout to use
- * @return the position of the Frame in the member list.
- */
- public int addMember(Frame member, String borderLayout) {
- return this.addMember((SwingScilabFrame) member.getAsSimpleFrame(), borderLayout);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @param borderLayout the BorderLayout to use
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabFrame member, String borderLayout) {
- this.add(member, borderLayout);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a Frame in a Frame with a layout.
- * @param member the member to add
- * @param layoutPosition the Layout position to use
- * @return the position of the Frame in the member list.
- */
- public int addMember(Frame member, int layoutPosition) {
- return this.addMember((SwingScilabFrame) member.getAsSimpleFrame(), layoutPosition);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @param layoutPosition the Layout position to use
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabFrame member, int layoutPosition) {
- this.add(member, layoutPosition);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
public int addMember(Canvas member) {
return this.addMember((SwingScilabCanvas) member.getAsSimpleCanvas());
}
return 0;
}
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public int addMember(CheckBox member) {
- // FIXME replace member with member.getAsSimpleCheckBox() when ready
- return this.addMember((SwingScilabCheckBox) member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabCheckBox member) {
- this.add(member);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public int addMember(ListBox member) {
- return this.addMember((SwingScilabListBox) member.getAsSimpleListBox());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabListBox member) {
- this.add(member);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public int addMember(PushButton member) {
- return this.addMember((SwingScilabPushButton) member.getAsSimplePushButton());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabPushButton member) {
- this.add(member);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public int addMember(RadioButton member) {
- // FIXME replace member with member.getAsSimpleRadioButton() when ready
- return this.addMember((SwingScilabRadioButton) member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabRadioButton member) {
- this.add(member);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public int addMember(Slider member) {
- // FIXME replace member with member.getAsSimpleSlider() when ready
- return this.addMember((SwingScilabScroll) member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabScroll member) {
- this.add(member);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a PushButton in a Frame with a BorderLayout.
- * @param member the PushButton to add
- * @param borderLayout the BorderLayout to use
- * @return the position of the PushButton in the member list.
- */
- public int addMember(PushButton member, String borderLayout) {
- return this.addMember((SwingScilabPushButton) member.getAsSimplePushButton(), borderLayout);
- }
-
- /**
- * Add a PushButton (dockable element) to Frame and returns its index
- * @param member the PushButton to add
- * @param layoutPosition the layout Position to use
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabPushButton member, int layoutPosition) {
- this.add(member, layoutPosition);
- return this.getComponentZOrder(member);
- }
-
- /**
- * Add a PushButton in a Frame with a layout.
- * @param member the PushButton to add
- * @param layoutPosition the layout Position to use
- * @return the position of the PushButton in the member list.
- */
- public int addMember(PushButton member, int layoutPosition) {
- return this.addMember((SwingScilabPushButton) member.getAsSimplePushButton(), layoutPosition);
- }
-
- /**
- * Add a PushButton (dockable element) to Frame and returns its index
- * @param member the PushButton to add
- * @param borderLayout the BorderLayout to use
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabPushButton member, String borderLayout) {
- this.add(member, borderLayout);
- return this.getComponentZOrder(member);
- }
-
// TODO : Check if it should be possible to add a Tab to a frame and how it should behave
/**
* Add a member (dockable element) to container and returns its index
import org.scilab.modules.gui.bridge.window.SwingScilabWindow;
import org.scilab.modules.gui.dockable.Dockable;
import org.scilab.modules.gui.events.callback.CommonCallBack;
-import org.scilab.modules.gui.frame.SimpleFrame;
import org.scilab.modules.gui.menubar.MenuBar;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.utils.PositionConverter;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab frames in GUI
* @author Vincent COUVERT
* @author Marouane BEN JELLOUL
*/
-public class SwingScilabScrollableFrame extends JScrollPane implements SwingViewObject, SimpleFrame {
+public class SwingScilabScrollableFrame extends JScrollPane implements SwingViewObject, Widget {
private static final long serialVersionUID = -7401084975837285447L;
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.bridge.label.SwingScilabLabel.IconLabel.IconType;
import org.scilab.modules.gui.events.callback.CommonCallBack;
-import org.scilab.modules.gui.label.SimpleLabel;
import org.scilab.modules.gui.menubar.MenuBar;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.utils.ScilabSwingUtilities;
import org.scilab.modules.gui.utils.Size;
import org.scilab.modules.gui.utils.WebBrowser;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab Labels in GUIs
* @author Vincent COUVERT
* @author Marouane BEN JELLOUL
*/
-public class SwingScilabLabel extends JScrollPane implements SwingViewObject, SimpleLabel {
+public class SwingScilabLabel extends JScrollPane implements SwingViewObject, Widget {
private enum LabelStyle {
TEXT, LATEX, MATHML, HTML
import org.scilab.modules.gui.SwingViewObject;
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.events.callback.CommonCallBack;
-import org.scilab.modules.gui.listbox.SimpleListBox;
import org.scilab.modules.gui.menubar.MenuBar;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.utils.ScilabSwingUtilities;
import org.scilab.modules.gui.utils.Size;
import org.scilab.modules.gui.utils.SwingScilabListItem;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab ListBox in GUIs
* @author Vincent COUVERT
* @author Marouane BEN JELLOUL
*/
-public class SwingScilabListBox extends JScrollPane implements SwingViewObject, SimpleListBox {
+public class SwingScilabListBox extends JScrollPane implements SwingViewObject, Widget {
private static final long serialVersionUID = 3507396207331058895L;
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.events.callback.CommonCallBack;
import org.scilab.modules.gui.menubar.MenuBar;
-import org.scilab.modules.gui.popupmenu.SimplePopupMenu;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.utils.ColorBox;
import org.scilab.modules.gui.utils.ScilabSwingUtilities;
import org.scilab.modules.gui.utils.Size;
import org.scilab.modules.gui.utils.SwingScilabListItem;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab PopupMenu in GUIs
* @author Vincent COUVERT
* @author Marouane BEN JELLOUL
*/
-public class SwingScilabPopupMenu extends JComboBox implements SwingViewObject, SimplePopupMenu {
+public class SwingScilabPopupMenu extends JComboBox implements SwingViewObject, Widget {
private static final long serialVersionUID = -4366581303317502544L;
package org.scilab.modules.gui.bridge.pushbutton;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_ICON__;
-import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_FOREGROUNDCOLOR__;
import java.awt.Color;
import java.awt.Font;
import org.scilab.modules.commons.gui.FindIconHelper;
import org.scilab.modules.console.utils.ScilabSpecialTextUtilities;
import org.scilab.modules.graphic_objects.console.Console;
-import org.scilab.modules.graphic_objects.graphicController.GraphicController;
import org.scilab.modules.gui.SwingViewObject;
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.events.callback.CommonCallBack;
import org.scilab.modules.gui.menubar.MenuBar;
-import org.scilab.modules.gui.pushbutton.SimplePushButton;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.utils.Position;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.ScilabSwingUtilities;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab PushButtons in GUIs
* @author Vincent COUVERT
* @author Marouane BEN JELLOUL
*/
-public class SwingScilabPushButton extends JButton implements SwingViewObject, SimplePushButton {
+public class SwingScilabPushButton extends JButton implements SwingViewObject , Widget {
private static final long serialVersionUID = 2277539556048935959L;
import org.scilab.modules.gui.bridge.groupmanager.GroupManager;
import org.scilab.modules.gui.events.callback.CommonCallBack;
import org.scilab.modules.gui.menubar.MenuBar;
-import org.scilab.modules.gui.radiobutton.SimpleRadioButton;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.utils.Position;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.ScilabSwingUtilities;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab RadioButton in GUIs
* @author Vincent COUVERT
* @author Marouane BEN JELLOUL
*/
-public class SwingScilabRadioButton extends JRadioButton implements SwingViewObject, SimpleRadioButton {
+public class SwingScilabRadioButton extends JRadioButton implements SwingViewObject, Widget {
private static final long serialVersionUID = -4094092157137686082L;
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.events.callback.CommonCallBack;
import org.scilab.modules.gui.menubar.MenuBar;
-import org.scilab.modules.gui.slider.SimpleSlider;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.utils.Position;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.ScilabSwingUtilities;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab Slider in GUIs
* @author Vincent COUVERT
* @author Marouane BEN JELLOUL
*/
-public class SwingScilabScroll extends JScrollBar implements SwingViewObject, SimpleSlider {
+public class SwingScilabScroll extends JScrollBar implements SwingViewObject, Widget {
private static final long serialVersionUID = -4262320156090829309L;
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.events.callback.CommonCallBack;
import org.scilab.modules.gui.menubar.MenuBar;
-import org.scilab.modules.gui.slider.SimpleSlider;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.utils.Position;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.ScilabSwingUtilities;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab Slider in GUIs
* @author Antoine ELIAS
*/
-public class SwingScilabSlider extends JSlider implements SwingViewObject, SimpleSlider {
+public class SwingScilabSlider extends JSlider implements SwingViewObject, Widget {
private static final long serialVersionUID = -4262320156090829309L;
import org.scilab.modules.gui.SwingViewObject;
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.bridge.canvas.SwingScilabCanvas;
-import org.scilab.modules.gui.bridge.checkbox.SwingScilabCheckBox;
import org.scilab.modules.gui.bridge.console.SwingScilabConsole;
-import org.scilab.modules.gui.bridge.editbox.SwingScilabEditBox;
-import org.scilab.modules.gui.bridge.frame.SwingScilabFrame;
-import org.scilab.modules.gui.bridge.frame.SwingScilabScrollableFrame;
import org.scilab.modules.gui.bridge.helpbrowser.SwingScilabHelpBrowser;
-import org.scilab.modules.gui.bridge.label.SwingScilabLabel;
-import org.scilab.modules.gui.bridge.listbox.SwingScilabListBox;
import org.scilab.modules.gui.bridge.menubar.SwingScilabMenuBar;
-import org.scilab.modules.gui.bridge.popupmenu.SwingScilabPopupMenu;
-import org.scilab.modules.gui.bridge.pushbutton.SwingScilabPushButton;
-import org.scilab.modules.gui.bridge.radiobutton.SwingScilabRadioButton;
-import org.scilab.modules.gui.bridge.slider.SwingScilabScroll;
-import org.scilab.modules.gui.bridge.textbox.SwingScilabTextBox;
-import org.scilab.modules.gui.bridge.toolbar.SwingScilabToolBar;
import org.scilab.modules.gui.bridge.tree.SwingScilabTree;
import org.scilab.modules.gui.bridge.uidisplaytree.SwingScilabUiDisplayTree;
import org.scilab.modules.gui.bridge.uitable.SwingScilabUiTable;
import org.scilab.modules.gui.bridge.window.SwingScilabWindow;
import org.scilab.modules.gui.canvas.Canvas;
-import org.scilab.modules.gui.checkbox.CheckBox;
import org.scilab.modules.gui.console.Console;
import org.scilab.modules.gui.console.ScilabConsole;
import org.scilab.modules.gui.dockable.Dockable;
-import org.scilab.modules.gui.editbox.EditBox;
import org.scilab.modules.gui.editor.EditorEventListener;
import org.scilab.modules.gui.events.GlobalEventWatcher;
import org.scilab.modules.gui.events.ScilabEventListener;
import org.scilab.modules.gui.events.callback.CommonCallBack;
-import org.scilab.modules.gui.frame.Frame;
-import org.scilab.modules.gui.frame.SimpleFrame;
import org.scilab.modules.gui.helpbrowser.HelpBrowser;
-import org.scilab.modules.gui.label.Label;
-import org.scilab.modules.gui.listbox.ListBox;
import org.scilab.modules.gui.menubar.MenuBar;
-import org.scilab.modules.gui.popupmenu.PopupMenu;
-import org.scilab.modules.gui.pushbutton.PushButton;
-import org.scilab.modules.gui.radiobutton.RadioButton;
-import org.scilab.modules.gui.slider.Slider;
import org.scilab.modules.gui.tab.SimpleTab;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.tree.Tree;
import org.scilab.modules.gui.uidisplaytree.UiDisplayTree;
-import org.scilab.modules.gui.uitable.UiTable;
import org.scilab.modules.gui.utils.BarUpdater;
import org.scilab.modules.gui.utils.ClosingOperationsManager;
import org.scilab.modules.gui.utils.Position;
* @param member the member to add
* @return index of member in ArrayList
*/
- @Override
- public int addMember(Frame member) {
- SimpleFrame frame = member.getAsSimpleFrame();
- if (frame instanceof SwingScilabFrame) {
- return this.addMember((SwingScilabFrame) member.getAsSimpleFrame());
- } else {
- return this.addMember((SwingScilabScrollableFrame) member.getAsSimpleFrame());
- }
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabScrollableFrame member) {
- return 0;
- }
-
- private int addMember(SwingScilabFrame member) {
- return 0;
- }
-
- /**
- * Remove a Frame from its container
- * @param member the Frame to remove
- */
- @Override
- public void removeMember(Frame member) {
- SimpleFrame frame = member.getAsSimpleFrame();
- if (frame instanceof SwingScilabFrame) {
- this.removeMember((SwingScilabFrame) member.getAsSimpleFrame());
- } else {
- this.removeMember((SwingScilabScrollableFrame) member.getAsSimpleFrame());
- }
- }
-
- /**
- * Remove a Frame from its container
- * @param member the Frame to remove
- */
- private void removeMember(SwingScilabScrollableFrame member) {
- }
-
- private void removeMember(SwingScilabFrame member) {
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- @Override
- public int addMember(PushButton member) {
- return this.addMember((SwingScilabPushButton) member.getAsSimplePushButton());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabPushButton member) {
- repaint();
- return 0;
- }
-
- /**
- * Remove a PushButton from its container
- * @param member the PushButton to remove
- */
- @Override
- public void removeMember(PushButton member) {
- this.removeMember((SwingScilabPushButton) member.getAsSimplePushButton());
- }
-
- /**
- * Remove a PushButton from its container
- * @param member the PushButton to remove
- */
- private void removeMember(SwingScilabPushButton member) {
- contentPane.remove(member);
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- @Override
- public int addMember(EditBox member) {
- return this.addMember((SwingScilabEditBox) member.getAsSimpleEditBox());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabEditBox member) {
- return 0;
- }
-
- /**
- * Remove an EditBox from its container
- * @param member the EditBox to remove
- */
- @Override
- public void removeMember(EditBox member) {
- this.removeMember((SwingScilabEditBox) member.getAsSimpleEditBox());
- }
-
- /**
- * Remove an EditBox from its container
- * @param member the EditBox to remove
- */
- private void removeMember(SwingScilabEditBox member) {
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- @Override
- public int addMember(Label member) {
- return this.addMember((SwingScilabLabel) member.getAsSimpleLabel());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabLabel member) {
- return 0;
- }
-
- /**
- * Remove a Label from its container
- * @param member the Label to remove
- */
- @Override
- public void removeMember(Label member) {
- this.removeMember((SwingScilabLabel) member.getAsSimpleLabel());
- }
-
- /**
- * Remove a Label from its container
- * @param member the Label to remove
- */
- private void removeMember(SwingScilabLabel member) {
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- @Override
- public int addMember(CheckBox member) {
- return this.addMember((SwingScilabCheckBox) member.getAsSimpleCheckBox());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabCheckBox member) {
- return 0;
- }
-
- /**
- * Remove a CheckBox from its container
- * @param member the CheckBox to remove
- */
- @Override
- public void removeMember(CheckBox member) {
- this.removeMember((SwingScilabCheckBox) member.getAsSimpleCheckBox());
- }
-
- /**
- * Remove a CheckBox from its container
- * @param member the CheckBox to remove
- */
- private void removeMember(SwingScilabCheckBox member) {
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- @Override
- public int addMember(RadioButton member) {
- return this.addMember((SwingScilabRadioButton) member.getAsSimpleRadioButton());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabRadioButton member) {
- return 0;
- }
-
- /**
- * Remove a RadioButton from its container
- * @param member the RadioButton to remove
- */
- @Override
- public void removeMember(RadioButton member) {
- this.removeMember((SwingScilabRadioButton) member.getAsSimpleRadioButton());
- }
-
- /**
- * Remove a RadioButton from its container
- * @param member the RadioButton to remove
- */
- private void removeMember(SwingScilabRadioButton member) {
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
public int addMember(UiDisplayTree member) {
return this.addMember((SwingScilabUiDisplayTree) member.getAsSimpleUiDisplayTree());
}
}
/**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public int addMember(UiTable member) {
- return this.addMember((SwingScilabUiTable) member.getAsSimpleUiTable());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabUiTable member) {
- return 0;
- }
-
- /**
- * Remove a UiTable from its container
- * @param member the UiTable to remove
- */
- public void removeMember(UiTable member) {
- this.removeMember((SwingScilabUiTable) member.getAsSimpleUiTable());
- }
-
- /**
- * Remove a UiTable from its container
- * @param member the UiTable to remove
- */
- private void removeMember(SwingScilabUiTable member) {
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public int addMember(Slider member) {
- return this.addMember((SwingScilabScroll) member.getAsSimpleSlider());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabScroll member) {
- return 0;
- }
-
- /**
- * Remove a Slider from its container
- * @param member the Slider to remove
- */
- @Override
- public void removeMember(Slider member) {
- this.removeMember((SwingScilabScroll) member.getAsSimpleSlider());
- }
-
- /**
- * Remove a Slider from its container
- * @param member the Slider to remove
- */
- private void removeMember(SwingScilabScroll member) {
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- @Override
- public int addMember(ListBox member) {
- return this.addMember((SwingScilabListBox) member.getAsSimpleListBox());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabListBox member) {
- return 0;
- }
-
- /**
- * Remove a ListBox from its container
- * @param member the ListBox to remove
- */
- @Override
- public void removeMember(ListBox member) {
- this.removeMember((SwingScilabListBox) member.getAsSimpleListBox());
- }
-
- /**
- * Remove a ListBox from its container
- * @param member the ListBox to remove
- */
- private void removeMember(SwingScilabListBox member) {
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- @Override
- public int addMember(PopupMenu member) {
- return this.addMember((SwingScilabPopupMenu) member.getAsSimplePopupMenu());
- }
-
- /**
- * Add a member (dockable element) to container and returns its index
- * @param member the member to add
- * @return index of member in ArrayList
- */
- private int addMember(SwingScilabPopupMenu member) {
- return 0;
- }
-
- /**
- * Remove a PopupMenu from its container
- * @param member the PopupMenu to remove
- */
- @Override
- public void removeMember(PopupMenu member) {
- this.removeMember((SwingScilabPopupMenu) member.getAsSimplePopupMenu());
- }
-
- /**
- * Remove a PopupMenu from its container
- * @param member the PopupMenu to remove
- */
- private void removeMember(SwingScilabPopupMenu member) {
- }
-
- /**
* Add a Tree member (dockable element) to container and returns its index
* @param member the member to add
* @return index of member in ArrayList
package org.scilab.modules.gui.bridge.tab;
-import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_CALLBACK__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_CALLBACKTYPE__;
+import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_CALLBACK__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_CHILDREN__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_POSITION__;
+import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_TAG__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_ENABLE__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_FONTANGLE__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_FONTNAME__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_FONTWEIGHT__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_STRING__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_TAB_STRING__;
+import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_TAB_VALUE__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_TITLE_POSITION__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_TITLE_SCROLL__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_VALUE__;
-import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_TAB_VALUE__;
import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_VISIBLE__;
-import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_TAG__;
import java.awt.Color;
import java.awt.Component;
import org.scilab.modules.gui.SwingViewWidget;
import org.scilab.modules.gui.dockable.Dockable;
import org.scilab.modules.gui.events.callback.CommonCallBack;
-import org.scilab.modules.gui.frame.SimpleFrame;
import org.scilab.modules.gui.menubar.MenuBar;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
import org.scilab.modules.gui.utils.PositionConverter;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
-public class SwingScilabTabGroup extends JTabbedPane implements SwingViewObject, SimpleFrame {
+public class SwingScilabTabGroup extends JTabbedPane implements SwingViewObject, Widget {
private static final long serialVersionUID = 965704348405077905L;
private Integer id;
private Border defaultBorder = null;
import javax.swing.JToolBar;
-import org.scilab.modules.gui.bridge.pushbutton.SwingScilabPushButton;
-import org.scilab.modules.gui.pushbutton.PushButton;
import org.scilab.modules.gui.toolbar.SimpleToolBar;
-import org.scilab.modules.gui.utils.UIElementMapper;
/**
* Swing implementation for Scilab ToolBar in GUIs
}
/**
- * Add a PushButton to the ToolBar.
- * @param pushButton the PushButton to add .
- */
- public void add(PushButton pushButton) {
- super.add((SwingScilabPushButton) pushButton.getAsSimplePushButton());
- }
-
- /**
* Add a Separator to a Toolbar
* @see org.scilab.modules.gui.toolbar.ToolBar#addSeparator(org.scilab.modules.gui..)
*/
import org.scilab.modules.gui.menubar.MenuBar;
import org.scilab.modules.gui.textbox.TextBox;
import org.scilab.modules.gui.toolbar.ToolBar;
-import org.scilab.modules.gui.uitable.SimpleUiTable;
import org.scilab.modules.gui.utils.Position;
import org.scilab.modules.gui.utils.PositionConverter;
import org.scilab.modules.gui.utils.ScilabAlignment;
import org.scilab.modules.gui.utils.ScilabRelief;
import org.scilab.modules.gui.utils.ScilabSwingUtilities;
import org.scilab.modules.gui.utils.Size;
+import org.scilab.modules.gui.widget.Widget;
/**
* Swing implementation for Scilab UiTable in GUIs
* @author Han DONG
*/
-public class SwingScilabUiTable extends JScrollPane implements SwingViewObject, SimpleUiTable {
+public class SwingScilabUiTable extends JScrollPane implements SwingViewObject, Widget {
private static final long serialVersionUID = -5497171010652701217L;
+++ /dev/null
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2007 - INRIA - Vincent Couvert
- * Copyright (C) 2007 - INRIA - Marouane BEN JELLOUL
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
- *
- */
-
-package org.scilab.modules.gui.checkbox;
-
-import org.scilab.modules.gui.widget.Widget;
-
-/**
- * Interface for CheckBox associated to objects in Scilab GUIs
- * @author Vincent COUVERT
- * @author Marouane BEN JELLOUL
- */
-public interface CheckBox extends Widget {
-
- /**
- * Gets this Bridge component object
- * @return this Bridge component object
- */
- SimpleCheckBox getAsSimpleCheckBox();
-
- /**
- * Set if the CheckBox is checked or not
- * @param status true to set the CheckBox checked
- */
- void setChecked(boolean status);
-
- /**
- * Get the status of the CheckBox
- * @return true if the CheckBox is checked
- */
- boolean isChecked();
-}
+++ /dev/null
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA - Vincent Couvert
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
- *
- */
-
-package org.scilab.modules.gui.checkbox;
-
-import java.awt.Color;
-import java.awt.Font;
-
-import org.scilab.modules.gui.bridge.ScilabBridge;
-import org.scilab.modules.gui.events.callback.CommonCallBack;
-import org.scilab.modules.gui.utils.Position;
-import org.scilab.modules.gui.utils.Size;
-import org.scilab.modules.gui.widget.ScilabWidget;
-
-/**
- * Class for Scilab EditBoxes in GUIs
- * @author Vincent COUVERT
- */
-public class ScilabCheckBox extends ScilabWidget implements CheckBox {
-
- private SimpleCheckBox component;
-
- /**
- * Constructor
- */
- protected ScilabCheckBox() {
- component = ScilabBridge.createCheckBox();
- }
-
- /**
- * Creates a Scilab CheckBox object
- * @return the created CheckBox
- */
- public static CheckBox createCheckBox() {
- return new ScilabCheckBox();
- }
-
- /**
- * Gets this Bridge component object
- * @return this Bridge component object
- */
- public SimpleCheckBox getAsSimpleCheckBox() {
- return component;
- }
-
- /**
- * Sets the text of a CheckBox
- * @param newText the text to set to the CheckBox
- */
- public void setText(String newText) {
- ScilabBridge.setText(this, newText);
- }
-
- public void setEmptyText() {
- setText(null);
- }
-
- /**
- * Gets the text of a CheckBox
- * @return text of the CheckBox
- */
- public String getText() {
- return ScilabBridge.getText(this);
- }
-
- /**
- * Draws a CheckBox
- */
- public void draw() {
- ScilabBridge.draw(this);
- }
-
- /**
- * Sets the dimensions (width and height) of a swing Scilab element
- * @param newSize the dimensions to set to the element
- * @see org.scilab.modules.gui.uielement.UIElement#setDims(org.scilab.modules.gui.utils.Size)
- */
- public void setDims(Size newSize) {
- ScilabBridge.setDims(this, newSize);
- }
-
- /**
- * Gets the dimensions (width and height) of a swing Scilab element
- * @return the dimensions (width and height) of the element
- * @see org.scilab.modules.gui.uielement.UIElement#getDims(org.scilab.modules.gui.utils.Size)
- */
- public Size getDims() {
- return ScilabBridge.getDims(this);
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab element
- * @return the position of the element
- * @see org.scilab.modules.gui.uielement.UIElement#getPosition()
- */
- public Position getPosition() {
- return ScilabBridge.getPosition(this);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab element
- * @param newPosition the position we want to set to the element
- * @see org.scilab.modules.gui.uielement.UIElement#setPosition(org.scilab.modules.gui.utils.Position)
- */
- public void setPosition(Position newPosition) {
- ScilabBridge.setPosition(this, newPosition);
- }
-
- /**
- * Gets the visibility status of an UIElement
- * @return the visibility status of the UIElement (true if the UIElement is visible, false if not)
- */
- public boolean isVisible() {
- return ScilabBridge.isVisible(this);
- }
-
- /**
- * Sets the visibility status of a Menu
- * @param newVisibleState the visibility status we want to set for the UIElement
- * (true if the UIElement is visible, false if not)
- */
- public void setVisible(boolean newVisibleState) {
- ScilabBridge.setVisible(this, newVisibleState);
- }
-
- /**
- * To get the Background color of the element.
- * @return color the Color
- */
- public Color getBackground() {
- return ScilabBridge.getBackground(this);
- }
-
- /**
- * To get the Font of the element.
- * @return font the Font
- */
- public Font getFont() {
- return ScilabBridge.getFont(this);
- }
-
- /**
- * To get the Foreground color of the element.
- * @return color the Color
- */
- public Color getForeground() {
- return ScilabBridge.getForeground(this);
- }
-
- /**
- * To set the Background color of the element.
- * @param color the Color
- */
- public void setBackground(Color color) {
- ScilabBridge.setBackground(this, color);
- }
-
- /**
- * To set the Font of the element.
- * @param font the Font
- */
- public void setFont(Font font) {
- ScilabBridge.setFont(this, font);
- }
-
- /**
- * To set the Foreground color of the element.
- * @param color the Color
- */
- public void setForeground(Color color) {
- ScilabBridge.setForeground(this, color);
- }
-
- /**
- * Add a callback to the CheckBox
- * @param callback the CallBack to set.
- */
- public void setCallback(CommonCallBack callback) {
- ScilabBridge.setCallback(this, callback);
- }
-
- /**
- * Set if the CheckBox is enabled or not
- * @param status true if the CheckBox is enabled
- */
- public void setEnabled(boolean status) {
- ScilabBridge.setEnabled(this, status);
- }
-
- /**
- * Gets the enable status of the CheckBox
- * @return the enable status of the CheckBox (true if the CheckBox is enabled, false if not)
- */
- public boolean isEnabled() {
- return ScilabBridge.isEnabled(this);
- }
-
- /**
- * Set the horizontal alignment for the CheckBox text
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public void setHorizontalAlignment(String alignment) {
- ScilabBridge.setHorizontalAlignment(this, alignment);
- }
-
- /**
- * Set the vertical alignment for the CheckBox text
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public void setVerticalAlignment(String alignment) {
- ScilabBridge.setVerticalAlignment(this, alignment);
- }
-
- /**
- * Set if the CheckBox is checked or not
- * @param status true to set the CheckBox checked
- */
- public void setChecked(boolean status) {
- ScilabBridge.setChecked(this, status);
- }
-
- /**
- * Get the status of the CheckBox
- * @return true if the CheckBox is checked
- */
- public boolean isChecked() {
- return ScilabBridge.isChecked(this);
- }
-
- /**
- * Set the Relief of the CheckBox
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public void setRelief(String reliefType) {
- ScilabBridge.setRelief(this, reliefType);
- }
-
- /**
- * Delete the CheckBox
- */
- public void destroy() {
- ScilabBridge.destroy(this);
- }
-
- /**
- * Give the focus to the CheckBox
- */
- public void requestFocus() {
- ScilabBridge.requestFocus(this);
- }
-
- @Override
- public void setToolTipText(String tooltipText) {
- // TODO Auto-generated method stub
- }
-
- @Override
- public void resetBackground() {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void resetForeground() {
- // TODO Auto-generated method stub
-
- }
-}
+++ /dev/null
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2007 - INRIA - Vincent Couvert
- * Copyright (C) 2007 - INRIA - Marouane BEN JELLOUL
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
- *
- */
-package org.scilab.modules.gui.checkbox;
-
-import java.awt.Color;
-import java.awt.Font;
-
-import org.scilab.modules.gui.bridge.checkbox.SwingScilabCheckBox;
-import org.scilab.modules.gui.events.callback.CommonCallBack;
-import org.scilab.modules.gui.utils.Position;
-import org.scilab.modules.gui.utils.Size;
-
-/**
- * Bridge for Scilab TextBox in GUIs
- * @author Vincent COUVERT
- * @author Marouane BEN JELLOUL
- */
-public class ScilabCheckBoxBridge {
-
- /**
- * Constructor
- */
- protected ScilabCheckBoxBridge() {
- throw new UnsupportedOperationException(); /* Prevents calls from subclass */
- }
-
- /**
- * Creates a Scilab CheckBox
- * @return the created CheckBox
- */
- public static SimpleCheckBox createCheckBox() {
- return new SwingScilabCheckBox();
- }
-
- /**
- * Sets the Text of a Scilab CheckBox
- * @param checkBox the CheckBox we want to set the Text of
- * @param newText the Text we want to set to the CheckBox
- */
- public static void setText(CheckBox checkBox, String newText) {
- checkBox.getAsSimpleCheckBox().setText(newText);
- }
-
- /**
- * Sets the Text of a Scilab CheckBox
- * @param checkBox the CheckBox we want to get the Text of
- * @return the text of the CheckBox
- */
- public static String getText(CheckBox checkBox) {
- return checkBox.getAsSimpleCheckBox().getText();
- }
-
- /**
- * Draws a Scilab checkBox
- * @param checkBox the checkBox to draw
- * @see org.scilab.modules.gui.UIElement#draw()
- */
- public static void draw(CheckBox checkBox) {
- checkBox.getAsSimpleCheckBox().draw();
- }
-
- /**
- * Gets the dimensions (width and height) of a Scilab CheckBox
- * @param checkBox the checkBox we want to get the dimensions of
- * @return the size of the checkBox
- * @see org.scilab.modules.gui.UIElement#getDims()
- */
- public static Size getDims(CheckBox checkBox) {
- return checkBox.getAsSimpleCheckBox().getDims();
- }
-
- /**
- * Gets the position (X-coordinate and Y-coordinate) of a Scilab checkBox
- * @param checkBox the checkBox we want to get the position of
- * @return the position of the checkBox
- * @see org.scilab.modules.gui.UIElement#getPosition()
- */
- public static Position getPosition(CheckBox checkBox) {
- return checkBox.getAsSimpleCheckBox().getPosition();
- }
-
- /**
- * Gets the visibility status of a Scilab CheckBox
- * @param checkBox the checkBox we want to get the visiblity status of
- * @return the visibility status of the checkBox (true if the checkBox is visible, false if not)
- * @see org.scilab.modules.gui.UIElement#isVisible()
- */
- public static boolean isVisible(CheckBox checkBox) {
- return checkBox.getAsSimpleCheckBox().isVisible();
- }
-
- /**
- * Sets the dimensions (width and height) of a Scilab CheckBox
- * @param checkBox the checkBox we want to set the dimensions of
- * @param newSize the size we want to set to the checkBox
- * @see org.scilab.modules.gui.UIElement#setDims(org.scilab.modules.gui.utils.Size)
- */
- public static void setDims(CheckBox checkBox, Size newSize) {
- checkBox.getAsSimpleCheckBox().setDims(newSize);
- }
-
- /**
- * Sets the position (X-coordinate and Y-coordinate) of a Scilab checkBox
- * @param checkBox the checkBox we want to set the position of
- * @param newPosition the position we want to set to the checkBox
- * @see org.scilab.modules.gui.UIElement#setPosition(org.scilab.modules.gui.utils.Position)
- */
- public static void setPosition(CheckBox checkBox, Position newPosition) {
- checkBox.getAsSimpleCheckBox().setPosition(newPosition);
- }
-
- /**
- * Sets the visibility status of a Scilab CheckBox
- * @param checkBox the checkBox we want to set the visiblity status of
- * @param newVisibleState the visibility status we want to set to the checkBox (true to set the checkBox visible, false else)
- * @see org.scilab.modules.gui.UIElement#setVisible(boolean)
- */
- public static void setVisible(CheckBox checkBox, boolean newVisibleState) {
- checkBox.getAsSimpleCheckBox().setVisible(newVisibleState);
- }
-
- /**
- * Add a callback to the CheckBox
- * @param checkBox the CheckBox we want to set the callback of
- * @param callback the CallBack to set.
- */
- public static void setCallback(CheckBox checkBox, CommonCallBack callback) {
- checkBox.getAsSimpleCheckBox().setCallback(callback);
- }
-
- /**
- * To set the Background color of the CheckBox
- * @param checkBox the CheckBox we want to set the background of
- * @param color the Color
- */
- public static void setBackground(CheckBox checkBox, Color color) {
- checkBox.getAsSimpleCheckBox().setBackground(color);
- }
-
- /**
- * Get the Background color of the CheckBox
- * @param checkBox the CheckBox we want to get the background of
- * @return the Color
- */
- public static Color getBackground(CheckBox checkBox) {
- return checkBox.getAsSimpleCheckBox().getBackground();
- }
-
- /**
- * To set the Foreground color of the checkBox
- * @param checkBox the CheckBox we want to set the foreground of
- * @param color the Color
- */
- public static void setForeground(CheckBox checkBox, Color color) {
- checkBox.getAsSimpleCheckBox().setForeground(color);
- }
-
- /**
- * Get the Foreground color of the CheckBox
- * @param checkBox the CheckBox we want to get the foreground of
- * @return the Color
- */
- public static Color getForeground(CheckBox checkBox) {
- return checkBox.getAsSimpleCheckBox().getForeground();
- }
-
- /**
- * Set the font of the CheckBox.
- * @param checkBox the CheckBox we want to set the font of
- * @param font the font
- */
- public static void setFont(CheckBox checkBox, Font font) {
- checkBox.getAsSimpleCheckBox().setFont(font);
- }
-
- /**
- * Get the font of the CheckBox.
- * @param checkBox the CheckBox we want to get the font of
- * @return the font
- */
- public static Font getFont(CheckBox checkBox) {
- return checkBox.getAsSimpleCheckBox().getFont();
- }
-
- /**
- * Set if the CheckBox is enabled or not
- * @param checkBox the CheckBox we want to set the status of
- * @param status true if the CheckBox is enabled
- */
- public static void setEnabled(CheckBox checkBox, boolean status) {
- checkBox.getAsSimpleCheckBox().setEnabled(status);
- }
-
- /**
- * Gets the enable status of the CheckBox
- * @param checkBox the CheckBox we want to get the status of
- * @return the enable status of the CheckBox (true if the CheckBox is enabled, false if not)
- */
- public static boolean isEnabled(CheckBox checkBox) {
- return checkBox.getAsSimpleCheckBox().isEnabled();
- }
-
- /**
- * Set the horizontal alignment for the CheckBox text
- * @param checkBox the CheckBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setHorizontalAlignment(CheckBox checkBox, String alignment) {
- checkBox.getAsSimpleCheckBox().setHorizontalAlignment(alignment);
- }
-
- /**
- * Set the vertical alignment for the CheckBox text
- * @param checkBox the CheckBox we want to set the alignment of
- * @param alignment the value for the alignment (See ScilabAlignment.java)
- */
- public static void setVerticalAlignment(CheckBox checkBox, String alignment) {
- checkBox.getAsSimpleCheckBox().setVerticalAlignment(alignment);
- }
-
- /**
- * Set if the CheckBox is checked or not
- * @param checkBox the CheckBox we want to set the status of
- * @param status true to set the CheckBox checked
- */
- public static void setChecked(CheckBox checkBox, boolean status) {
- checkBox.getAsSimpleCheckBox().setChecked(status);
- }
-
- /**
- * Get the status of the CheckBox
- * @param checkBox the CheckBox we want to get the status of
- * @return true if the CheckBox is checked
- */
- public static boolean isChecked(CheckBox checkBox) {
- return checkBox.getAsSimpleCheckBox().isChecked();
- }
-
- /**
- * Set the Relief of the CheckBox
- * @param checkBox the CheckBox which we want to set the Relief of
- * @param reliefType the type of the relief to set (See ScilabRelief.java)
- */
- public static void setRelief(CheckBox checkBox, String reliefType) {
- checkBox.getAsSimpleCheckBox().setRelief(reliefType);
- }
-
- /**
- * Delete the CheckBox
- * @param checkBox the checkBox to be destroyed
- */
- public static void destroy(CheckBox checkBox) {
- checkBox.getAsSimpleCheckBox().destroy();
- }
-
- /**
- * Give the focus to the CheckBox
- * @param checkBox the CheckBox
- */
- public static void requestFocus(CheckBox checkBox) {
- checkBox.getAsSimpleCheckBox().requestFocus();
- }
-
-}
+++ /dev/null
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA - Vincent Couvert
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
- *
- */
-
-package org.scilab.modules.gui.checkbox;
-
-import org.scilab.modules.gui.widget.Widget;
-
-/**
- * Interface for CheckBoxBridge the associated object to Scilab GUIs Checkbox
- * @author Vincent COUVERT
- */
-public interface SimpleCheckBox extends Widget {
- /**
- * Set if the CheckBox is checked or not
- * @param status true to set the CheckBox checked
- */
- void setChecked(boolean status);
-
- /**
- * Get the status of the CheckBox
- * @return true if the CheckBox is checked
- */
- boolean isChecked();
-}
import java.awt.Font;
import org.scilab.modules.gui.bridge.console.SwingScilabConsole;
-import org.scilab.modules.gui.frame.Frame;
-import org.scilab.modules.gui.tab.Tab;
import org.scilab.modules.gui.utils.Position;
import org.scilab.modules.gui.utils.Size;
}
/**
- * Add a member (dockable element) to a tab and returns the index of this member
- * @param tab the tab where we want to add the member
- * @param member the member to add
- * @return index of member in ArrayList
- */
- public static int addMember(Tab tab, Frame member) {
- return tab.addMember(member);
- }
-
- /**
* Draw a console
* @param console