001/* ---------------------------------------------------------------------------- 002 * This file was automatically generated by SWIG (http://www.swig.org). 003 * Version 3.0.12 004 * 005 * Do not make changes to this file unless you know what you are doing--modify 006 * the SWIG interface file instead. 007 * ----------------------------------------------------------------------------- */ 008 009package org.sbml.libsbml; 010 011/** 012 * TODO:Definition of the {@link DefaultValues} class. 013 */ 014 015public class DefaultValues extends SBase { 016 private long swigCPtr; 017 018 protected DefaultValues(long cPtr, boolean cMemoryOwn) 019 { 020 super(libsbmlJNI.DefaultValues_SWIGUpcast(cPtr), cMemoryOwn); 021 swigCPtr = cPtr; 022 } 023 024 protected static long getCPtr(DefaultValues obj) 025 { 026 return (obj == null) ? 0 : obj.swigCPtr; 027 } 028 029 protected static long getCPtrAndDisown (DefaultValues obj) 030 { 031 long ptr = 0; 032 033 if (obj != null) 034 { 035 ptr = obj.swigCPtr; 036 obj.swigCMemOwn = false; 037 } 038 039 return ptr; 040 } 041 042 protected void finalize() { 043 delete(); 044 } 045 046 public synchronized void delete() { 047 if (swigCPtr != 0) { 048 if (swigCMemOwn) { 049 swigCMemOwn = false; 050 libsbmlJNI.delete_DefaultValues(swigCPtr); 051 } 052 swigCPtr = 0; 053 } 054 super.delete(); 055 } 056 057 058/** 059 * Creates a new {@link DefaultValues} using the given SBML Level, Version and 060 * “render” package version. 061 <p> 062 * @param level a long integer, the SBML Level to assign to this 063 * {@link DefaultValues}. 064 <p> 065 * @param version a long integer, the SBML Version to assign to this 066 * {@link DefaultValues}. 067 <p> 068 * @param pkgVersion a long integer, the SBML Render Version to assign to 069 * this {@link DefaultValues}. 070 <p> 071 * <p> 072 * @note Attempting to add an object to an {@link SBMLDocument} having a different 073 * combination of SBML Level, Version and XML namespaces than the object 074 * itself will result in an error at the time a caller attempts to make the 075 * addition. A parent object must have compatible Level, Version and XML 076 * namespaces. (Strictly speaking, a parent may also have more XML 077 * namespaces than a child, but the reverse is not permitted.) The 078 * restriction is necessary to ensure that an SBML model has a consistent 079 * overall structure. This requires callers to manage their objects 080 * carefully, but the benefit is increased flexibility in how models can be 081 * created by permitting callers to create objects bottom-up if desired. In 082 * situations where objects are not yet attached to parents (e.g., 083 * {@link SBMLDocument}), knowledge of the intented SBML Level and Version help 084 * libSBML determine such things as whether it is valid to assign a 085 * particular value to an attribute. For packages, this means that the 086 * parent object to which this package element is being added must have 087 * been created with the package namespace, or that the package namespace 088 * was added to it, even if that parent is not a package object itself. 089 */ public 090 DefaultValues(long level, long version, long pkgVersion) { 091 this(libsbmlJNI.new_DefaultValues__SWIG_0(level, version, pkgVersion), true); 092 } 093 094 095/** 096 * Creates a new {@link DefaultValues} using the given SBML Level, Version and 097 * “render” package version. 098 <p> 099 * @param level a long integer, the SBML Level to assign to this 100 * {@link DefaultValues}. 101 <p> 102 * @param version a long integer, the SBML Version to assign to this 103 * {@link DefaultValues}. 104 <p> 105 * @param pkgVersion a long integer, the SBML Render Version to assign to 106 * this {@link DefaultValues}. 107 <p> 108 * <p> 109 * @note Attempting to add an object to an {@link SBMLDocument} having a different 110 * combination of SBML Level, Version and XML namespaces than the object 111 * itself will result in an error at the time a caller attempts to make the 112 * addition. A parent object must have compatible Level, Version and XML 113 * namespaces. (Strictly speaking, a parent may also have more XML 114 * namespaces than a child, but the reverse is not permitted.) The 115 * restriction is necessary to ensure that an SBML model has a consistent 116 * overall structure. This requires callers to manage their objects 117 * carefully, but the benefit is increased flexibility in how models can be 118 * created by permitting callers to create objects bottom-up if desired. In 119 * situations where objects are not yet attached to parents (e.g., 120 * {@link SBMLDocument}), knowledge of the intented SBML Level and Version help 121 * libSBML determine such things as whether it is valid to assign a 122 * particular value to an attribute. For packages, this means that the 123 * parent object to which this package element is being added must have 124 * been created with the package namespace, or that the package namespace 125 * was added to it, even if that parent is not a package object itself. 126 */ public 127 DefaultValues(long level, long version) { 128 this(libsbmlJNI.new_DefaultValues__SWIG_1(level, version), true); 129 } 130 131 132/** 133 * Creates a new {@link DefaultValues} using the given SBML Level, Version and 134 * “render” package version. 135 <p> 136 * @param level a long integer, the SBML Level to assign to this 137 * {@link DefaultValues}. 138 <p> 139 * @param version a long integer, the SBML Version to assign to this 140 * {@link DefaultValues}. 141 <p> 142 * @param pkgVersion a long integer, the SBML Render Version to assign to 143 * this {@link DefaultValues}. 144 <p> 145 * <p> 146 * @note Attempting to add an object to an {@link SBMLDocument} having a different 147 * combination of SBML Level, Version and XML namespaces than the object 148 * itself will result in an error at the time a caller attempts to make the 149 * addition. A parent object must have compatible Level, Version and XML 150 * namespaces. (Strictly speaking, a parent may also have more XML 151 * namespaces than a child, but the reverse is not permitted.) The 152 * restriction is necessary to ensure that an SBML model has a consistent 153 * overall structure. This requires callers to manage their objects 154 * carefully, but the benefit is increased flexibility in how models can be 155 * created by permitting callers to create objects bottom-up if desired. In 156 * situations where objects are not yet attached to parents (e.g., 157 * {@link SBMLDocument}), knowledge of the intented SBML Level and Version help 158 * libSBML determine such things as whether it is valid to assign a 159 * particular value to an attribute. For packages, this means that the 160 * parent object to which this package element is being added must have 161 * been created with the package namespace, or that the package namespace 162 * was added to it, even if that parent is not a package object itself. 163 */ public 164 DefaultValues(long level) { 165 this(libsbmlJNI.new_DefaultValues__SWIG_2(level), true); 166 } 167 168 169/** 170 * Creates a new {@link DefaultValues} using the given SBML Level, Version and 171 * “render” package version. 172 <p> 173 * @param level a long integer, the SBML Level to assign to this 174 * {@link DefaultValues}. 175 <p> 176 * @param version a long integer, the SBML Version to assign to this 177 * {@link DefaultValues}. 178 <p> 179 * @param pkgVersion a long integer, the SBML Render Version to assign to 180 * this {@link DefaultValues}. 181 <p> 182 * <p> 183 * @note Attempting to add an object to an {@link SBMLDocument} having a different 184 * combination of SBML Level, Version and XML namespaces than the object 185 * itself will result in an error at the time a caller attempts to make the 186 * addition. A parent object must have compatible Level, Version and XML 187 * namespaces. (Strictly speaking, a parent may also have more XML 188 * namespaces than a child, but the reverse is not permitted.) The 189 * restriction is necessary to ensure that an SBML model has a consistent 190 * overall structure. This requires callers to manage their objects 191 * carefully, but the benefit is increased flexibility in how models can be 192 * created by permitting callers to create objects bottom-up if desired. In 193 * situations where objects are not yet attached to parents (e.g., 194 * {@link SBMLDocument}), knowledge of the intented SBML Level and Version help 195 * libSBML determine such things as whether it is valid to assign a 196 * particular value to an attribute. For packages, this means that the 197 * parent object to which this package element is being added must have 198 * been created with the package namespace, or that the package namespace 199 * was added to it, even if that parent is not a package object itself. 200 */ public 201 DefaultValues() { 202 this(libsbmlJNI.new_DefaultValues__SWIG_3(), true); 203 } 204 205 206/** 207 * Creates a new {@link DefaultValues} using the given {@link RenderPkgNamespaces} object. 208 <p> 209 * <p> 210 * The package namespaces object used in this constructor is derived from a 211 * {@link SBMLNamespaces} object, which encapsulates SBML Level/Version/namespaces 212 * information. It is used to communicate the SBML Level, Version, and 213 * package version and name information used in addition to SBML Level 3 Core. A 214 * common approach to using libSBML's {@link SBMLNamespaces} facilities is to create an 215 * package namespace object somewhere in a program once, then hand that object 216 * as needed to object constructors of that package that accept it as and 217 * argument, such as this one. 218 <p> 219 * @param renderns the {@link RenderPkgNamespaces} object. 220 <p> 221 * <p> 222 * @note Attempting to add an object to an {@link SBMLDocument} having a different 223 * combination of SBML Level, Version and XML namespaces than the object 224 * itself will result in an error at the time a caller attempts to make the 225 * addition. A parent object must have compatible Level, Version and XML 226 * namespaces. (Strictly speaking, a parent may also have more XML 227 * namespaces than a child, but the reverse is not permitted.) The 228 * restriction is necessary to ensure that an SBML model has a consistent 229 * overall structure. This requires callers to manage their objects 230 * carefully, but the benefit is increased flexibility in how models can be 231 * created by permitting callers to create objects bottom-up if desired. In 232 * situations where objects are not yet attached to parents (e.g., 233 * {@link SBMLDocument}), knowledge of the intented SBML Level and Version help 234 * libSBML determine such things as whether it is valid to assign a 235 * particular value to an attribute. For packages, this means that the 236 * parent object to which this package element is being added must have 237 * been created with the package namespace, or that the package namespace 238 * was added to it, even if that parent is not a package object itself. 239 */ public 240 DefaultValues(RenderPkgNamespaces renderns) { 241 this(libsbmlJNI.new_DefaultValues__SWIG_4(RenderPkgNamespaces.getCPtr(renderns), renderns), true); 242 } 243 244 245/** 246 * Copy constructor for {@link DefaultValues}. 247 <p> 248 * @param orig the {@link DefaultValues} instance to copy. 249 */ public 250 DefaultValues(DefaultValues orig) { 251 this(libsbmlJNI.new_DefaultValues__SWIG_5(DefaultValues.getCPtr(orig), orig), true); 252 } 253 254 255/** 256 * Creates and returns a deep copy of this {@link DefaultValues} object. 257 <p> 258 * @return a (deep) copy of this {@link DefaultValues} object. 259 */ public 260 SBase cloneObject() { 261 long cPtr = libsbmlJNI.DefaultValues_cloneObject(swigCPtr, this); 262 return (cPtr == 0) ? null : new DefaultValues(cPtr, true); 263 } 264 265 266/** 267 * Returns the value of the 'backgroundColor' attribute of this 268 * {@link DefaultValues}. 269 <p> 270 * @return the value of the 'backgroundColor' attribute of this {@link DefaultValues} 271 * as a string. 272 */ public 273 String getBackgroundColor() { 274 return libsbmlJNI.DefaultValues_getBackgroundColor(swigCPtr, this); 275 } 276 277 278/** 279 * Returns the value of the 'spreadMethod' attribute of this {@link DefaultValues}. 280 <p> 281 * @return the value of the 'spreadMethod' attribute of this {@link DefaultValues} as 282 * a GradientBase.SPREADMETHOD. 283 */ public 284 int getSpreadMethod() { 285 return libsbmlJNI.DefaultValues_getSpreadMethod(swigCPtr, this); 286 } 287 288 289/** 290 * Returns the value of the 'spreadMethod' attribute of this {@link DefaultValues}. 291 <p> 292 * @return the value of the 'spreadMethod' attribute of this {@link DefaultValues} as 293 * a string. 294 */ public 295 String getSpreadMethodAsString() { 296 return libsbmlJNI.DefaultValues_getSpreadMethodAsString(swigCPtr, this); 297 } 298 299 300/** 301 * Returns the value of the 'linearGradient_x1' attribute of this 302 * {@link DefaultValues}. 303 <p> 304 * @return the value of the 'linearGradient_x1' attribute of this 305 * {@link DefaultValues} as a string. 306 */ public 307 RelAbsVector getLinearGradient_x1() { 308 return new RelAbsVector(libsbmlJNI.DefaultValues_getLinearGradient_x1(swigCPtr, this), false); 309 } 310 311 312/** 313 * Returns the value of the 'linearGradient_y1' attribute of this 314 * {@link DefaultValues}. 315 <p> 316 * @return the value of the 'linearGradient_y1' attribute of this 317 * {@link DefaultValues} as a string. 318 */ public 319 RelAbsVector getLinearGradient_y1() { 320 return new RelAbsVector(libsbmlJNI.DefaultValues_getLinearGradient_y1(swigCPtr, this), false); 321 } 322 323 324/** 325 * Returns the value of the 'linearGradient_z1' attribute of this 326 * {@link DefaultValues}. 327 <p> 328 * @return the value of the 'linearGradient_z1' attribute of this 329 * {@link DefaultValues} as a string. 330 */ public 331 RelAbsVector getLinearGradient_z1() { 332 return new RelAbsVector(libsbmlJNI.DefaultValues_getLinearGradient_z1(swigCPtr, this), false); 333 } 334 335 336/** 337 * Returns the value of the 'linearGradient_x2' attribute of this 338 * {@link DefaultValues}. 339 <p> 340 * @return the value of the 'linearGradient_x2' attribute of this 341 * {@link DefaultValues} as a string. 342 */ public 343 RelAbsVector getLinearGradient_x2() { 344 return new RelAbsVector(libsbmlJNI.DefaultValues_getLinearGradient_x2(swigCPtr, this), false); 345 } 346 347 348/** 349 * Returns the value of the 'linearGradient_y2' attribute of this 350 * {@link DefaultValues}. 351 <p> 352 * @return the value of the 'linearGradient_y2' attribute of this 353 * {@link DefaultValues} as a string. 354 */ public 355 RelAbsVector getLinearGradient_y2() { 356 return new RelAbsVector(libsbmlJNI.DefaultValues_getLinearGradient_y2(swigCPtr, this), false); 357 } 358 359 360/** 361 * Returns the value of the 'linearGradient_z2' attribute of this 362 * {@link DefaultValues}. 363 <p> 364 * @return the value of the 'linearGradient_z2' attribute of this 365 * {@link DefaultValues} as a string. 366 */ public 367 RelAbsVector getLinearGradient_z2() { 368 return new RelAbsVector(libsbmlJNI.DefaultValues_getLinearGradient_z2(swigCPtr, this), false); 369 } 370 371 372/** 373 * Returns the value of the 'radialGradient_cx' attribute of this 374 * {@link DefaultValues}. 375 <p> 376 * @return the value of the 'radialGradient_cx' attribute of this 377 * {@link DefaultValues} as a string. 378 */ public 379 RelAbsVector getRadialGradient_cx() { 380 return new RelAbsVector(libsbmlJNI.DefaultValues_getRadialGradient_cx(swigCPtr, this), false); 381 } 382 383 384/** 385 * Returns the value of the 'radialGradient_cy' attribute of this 386 * {@link DefaultValues}. 387 <p> 388 * @return the value of the 'radialGradient_cy' attribute of this 389 * {@link DefaultValues} as a string. 390 */ public 391 RelAbsVector getRadialGradient_cy() { 392 return new RelAbsVector(libsbmlJNI.DefaultValues_getRadialGradient_cy(swigCPtr, this), false); 393 } 394 395 396/** 397 * Returns the value of the 'radialGradient_cz' attribute of this 398 * {@link DefaultValues}. 399 <p> 400 * @return the value of the 'radialGradient_cz' attribute of this 401 * {@link DefaultValues} as a string. 402 */ public 403 RelAbsVector getRadialGradient_cz() { 404 return new RelAbsVector(libsbmlJNI.DefaultValues_getRadialGradient_cz(swigCPtr, this), false); 405 } 406 407 408/** 409 * Returns the value of the 'radialGradient_r' attribute of this 410 * {@link DefaultValues}. 411 <p> 412 * @return the value of the 'radialGradient_r' attribute of this 413 * {@link DefaultValues} as a string. 414 */ public 415 RelAbsVector getRadialGradient_r() { 416 return new RelAbsVector(libsbmlJNI.DefaultValues_getRadialGradient_r(swigCPtr, this), false); 417 } 418 419 420/** 421 * Returns the value of the 'radialGradient_fx' attribute of this 422 * {@link DefaultValues}. 423 <p> 424 * @return the value of the 'radialGradient_fx' attribute of this 425 * {@link DefaultValues} as a string. 426 */ public 427 RelAbsVector getRadialGradient_fx() { 428 return new RelAbsVector(libsbmlJNI.DefaultValues_getRadialGradient_fx(swigCPtr, this), false); 429 } 430 431 432/** 433 * Returns the value of the 'radialGradient_fy' attribute of this 434 * {@link DefaultValues}. 435 <p> 436 * @return the value of the 'radialGradient_fy' attribute of this 437 * {@link DefaultValues} as a string. 438 */ public 439 RelAbsVector getRadialGradient_fy() { 440 return new RelAbsVector(libsbmlJNI.DefaultValues_getRadialGradient_fy(swigCPtr, this), false); 441 } 442 443 444/** 445 * Returns the value of the 'radialGradient_fz' attribute of this 446 * {@link DefaultValues}. 447 <p> 448 * @return the value of the 'radialGradient_fz' attribute of this 449 * {@link DefaultValues} as a string. 450 */ public 451 RelAbsVector getRadialGradient_fz() { 452 return new RelAbsVector(libsbmlJNI.DefaultValues_getRadialGradient_fz(swigCPtr, this), false); 453 } 454 455 456/** 457 * Returns the value of the 'fill' attribute of this {@link DefaultValues}. 458 <p> 459 * @return the value of the 'fill' attribute of this {@link DefaultValues} as a 460 * string. 461 */ public 462 String getFill() { 463 return libsbmlJNI.DefaultValues_getFill(swigCPtr, this); 464 } 465 466 467/** 468 * Returns the value of the 'fillRule' attribute of this {@link DefaultValues}. 469 <p> 470 * @return the value of the 'fillRule' attribute of this {@link DefaultValues} as a 471 * GraphicalPrimitive2D.FILL_RULE. 472 */ public 473 int getFillRule() { 474 return libsbmlJNI.DefaultValues_getFillRule(swigCPtr, this); 475 } 476 477 478/** 479 * Returns the value of the 'fillRule' attribute of this {@link DefaultValues}. 480 <p> 481 * @return the value of the 'fillRule' attribute of this {@link DefaultValues} as a 482 * string. 483 */ public 484 String getFillRuleAsString() { 485 return libsbmlJNI.DefaultValues_getFillRuleAsString(swigCPtr, this); 486 } 487 488 489/** 490 * Returns the value of the 'default_z' attribute of this {@link DefaultValues}. 491 <p> 492 * @return the value of the 'default_z' attribute of this {@link DefaultValues} as a 493 * string. 494 */ public 495 RelAbsVector getDefault_z() { 496 return new RelAbsVector(libsbmlJNI.DefaultValues_getDefault_z(swigCPtr, this), false); 497 } 498 499 500/** 501 * Returns the value of the 'stroke' attribute of this {@link DefaultValues}. 502 <p> 503 * @return the value of the 'stroke' attribute of this {@link DefaultValues} as a 504 * string. 505 */ public 506 String getStroke() { 507 return libsbmlJNI.DefaultValues_getStroke(swigCPtr, this); 508 } 509 510 511/** 512 * Returns the value of the 'strokeWidth' attribute of this {@link DefaultValues}. 513 <p> 514 * @return the value of the 'strokeWidth' attribute of this {@link DefaultValues} as 515 * a string. 516 */ public 517 double getStrokeWidth() { 518 return libsbmlJNI.DefaultValues_getStrokeWidth(swigCPtr, this); 519 } 520 521 522/** 523 * Returns the value of the 'fontFamily' attribute of this {@link DefaultValues}. 524 <p> 525 * @return the value of the 'fontFamily' attribute of this {@link DefaultValues} as a 526 * string. 527 */ public 528 String getFontFamily() { 529 return libsbmlJNI.DefaultValues_getFontFamily(swigCPtr, this); 530 } 531 532 533/** 534 * Returns the value of the 'fontSize' attribute of this {@link DefaultValues}. 535 <p> 536 * @return the value of the 'fontSize' attribute of this {@link DefaultValues} as a 537 * string. 538 */ public 539 RelAbsVector getFontSize() { 540 return new RelAbsVector(libsbmlJNI.DefaultValues_getFontSize(swigCPtr, this), false); 541 } 542 543 544/** 545 * Returns the value of the 'fontWeight' attribute of this {@link DefaultValues}. 546 <p> 547 * @return the value of the 'fontWeight' attribute of this {@link DefaultValues} as a 548 * Text.FONT_WEIGHT. 549 */ public 550 int getFontWeight() { 551 return libsbmlJNI.DefaultValues_getFontWeight(swigCPtr, this); 552 } 553 554 555/** 556 * Returns the value of the 'fontWeight' attribute of this {@link DefaultValues}. 557 <p> 558 * @return the value of the 'fontWeight' attribute of this {@link DefaultValues} as a 559 * string. 560 */ public 561 String getFontWeightAsString() { 562 return libsbmlJNI.DefaultValues_getFontWeightAsString(swigCPtr, this); 563 } 564 565 566/** 567 * Returns the value of the 'fontStyle' attribute of this {@link DefaultValues}. 568 <p> 569 * @return the value of the 'fontStyle' attribute of this {@link DefaultValues} as a 570 * Text.FONT_STYLE. 571 */ public 572 int getFontStyle() { 573 return libsbmlJNI.DefaultValues_getFontStyle(swigCPtr, this); 574 } 575 576 577/** 578 * Returns the value of the 'fontStyle' attribute of this {@link DefaultValues}. 579 <p> 580 * @return the value of the 'fontStyle' attribute of this {@link DefaultValues} as a 581 * string. 582 */ public 583 String getFontStyleAsString() { 584 return libsbmlJNI.DefaultValues_getFontStyleAsString(swigCPtr, this); 585 } 586 587 588/** 589 * Returns the value of the 'textAnchor' attribute of this {@link DefaultValues}. 590 <p> 591 * @return the value of the 'textAnchor' attribute of this {@link DefaultValues} as a 592 * Text.TEXT_ANCHOR. 593 */ public 594 int getTextAnchor() { 595 return libsbmlJNI.DefaultValues_getTextAnchor(swigCPtr, this); 596 } 597 598 599/** 600 * Returns the value of the 'textAnchor' attribute of this {@link DefaultValues}. 601 <p> 602 * @return the value of the 'textAnchor' attribute of this {@link DefaultValues} as a 603 * string. 604 */ public 605 String getTextAnchorAsString() { 606 return libsbmlJNI.DefaultValues_getTextAnchorAsString(swigCPtr, this); 607 } 608 609 610/** 611 * Returns the value of the 'vtextAnchor' attribute of this {@link DefaultValues}. 612 <p> 613 * @return the value of the 'vtextAnchor' attribute of this {@link DefaultValues} as 614 * a Text.TEXT_ANCHOR. 615 */ public 616 int getVTextAnchor() { 617 return libsbmlJNI.DefaultValues_getVTextAnchor(swigCPtr, this); 618 } 619 620 621/** 622 * Returns the value of the 'vtextAnchor' attribute of this {@link DefaultValues}. 623 <p> 624 * @return the value of the 'vtextAnchor' attribute of this {@link DefaultValues} as 625 * a string. 626 */ public 627 String getVTextAnchorAsString() { 628 return libsbmlJNI.DefaultValues_getVTextAnchorAsString(swigCPtr, this); 629 } 630 631 632/** 633 * Returns the value of the 'startHead' attribute of this {@link DefaultValues}. 634 <p> 635 * @return the value of the 'startHead' attribute of this {@link DefaultValues} as a 636 * string. 637 */ public 638 String getStartHead() { 639 return libsbmlJNI.DefaultValues_getStartHead(swigCPtr, this); 640 } 641 642 643/** 644 * Returns the value of the 'endHead' attribute of this {@link DefaultValues}. 645 <p> 646 * @return the value of the 'endHead' attribute of this {@link DefaultValues} as a 647 * string. 648 */ public 649 String getEndHead() { 650 return libsbmlJNI.DefaultValues_getEndHead(swigCPtr, this); 651 } 652 653 654/** 655 * Returns the value of the 'enableRotationalMapping' attribute of this 656 * {@link DefaultValues}. 657 <p> 658 * @return the value of the 'enableRotationalMapping' attribute of this 659 * {@link DefaultValues} as a boolean. 660 */ public 661 boolean getEnableRotationalMapping() { 662 return libsbmlJNI.DefaultValues_getEnableRotationalMapping(swigCPtr, this); 663 } 664 665 666/** 667 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'backgroundColor' 668 * attribute is set. 669 <p> 670 * @return <code>true</code> if this {@link DefaultValues}'s 'backgroundColor' attribute has 671 * been set, otherwise <code>false</code> is returned. 672 */ public 673 boolean isSetBackgroundColor() { 674 return libsbmlJNI.DefaultValues_isSetBackgroundColor(swigCPtr, this); 675 } 676 677 678/** 679 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'spreadMethod' 680 * attribute is set. 681 <p> 682 * @return <code>true</code> if this {@link DefaultValues}'s 'spreadMethod' attribute has been 683 * set, otherwise <code>false</code> is returned. 684 */ public 685 boolean isSetSpreadMethod() { 686 return libsbmlJNI.DefaultValues_isSetSpreadMethod(swigCPtr, this); 687 } 688 689 690/** 691 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'linearGradient_x1' 692 * attribute is set. 693 <p> 694 * @return <code>true</code> if this {@link DefaultValues}'s 'linearGradient_x1' attribute has 695 * been set, otherwise <code>false</code> is returned. 696 */ public 697 boolean isSetLinearGradient_x1() { 698 return libsbmlJNI.DefaultValues_isSetLinearGradient_x1(swigCPtr, this); 699 } 700 701 702/** 703 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'linearGradient_y1' 704 * attribute is set. 705 <p> 706 * @return <code>true</code> if this {@link DefaultValues}'s 'linearGradient_y1' attribute has 707 * been set, otherwise <code>false</code> is returned. 708 */ public 709 boolean isSetLinearGradient_y1() { 710 return libsbmlJNI.DefaultValues_isSetLinearGradient_y1(swigCPtr, this); 711 } 712 713 714/** 715 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'linearGradient_z1' 716 * attribute is set. 717 <p> 718 * @return <code>true</code> if this {@link DefaultValues}'s 'linearGradient_z1' attribute has 719 * been set, otherwise <code>false</code> is returned. 720 */ public 721 boolean isSetLinearGradient_z1() { 722 return libsbmlJNI.DefaultValues_isSetLinearGradient_z1(swigCPtr, this); 723 } 724 725 726/** 727 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'linearGradient_x2' 728 * attribute is set. 729 <p> 730 * @return <code>true</code> if this {@link DefaultValues}'s 'linearGradient_x2' attribute has 731 * been set, otherwise <code>false</code> is returned. 732 */ public 733 boolean isSetLinearGradient_x2() { 734 return libsbmlJNI.DefaultValues_isSetLinearGradient_x2(swigCPtr, this); 735 } 736 737 738/** 739 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'linearGradient_y2' 740 * attribute is set. 741 <p> 742 * @return <code>true</code> if this {@link DefaultValues}'s 'linearGradient_y2' attribute has 743 * been set, otherwise <code>false</code> is returned. 744 */ public 745 boolean isSetLinearGradient_y2() { 746 return libsbmlJNI.DefaultValues_isSetLinearGradient_y2(swigCPtr, this); 747 } 748 749 750/** 751 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'linearGradient_z2' 752 * attribute is set. 753 <p> 754 * @return <code>true</code> if this {@link DefaultValues}'s 'linearGradient_z2' attribute has 755 * been set, otherwise <code>false</code> is returned. 756 */ public 757 boolean isSetLinearGradient_z2() { 758 return libsbmlJNI.DefaultValues_isSetLinearGradient_z2(swigCPtr, this); 759 } 760 761 762/** 763 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'radialGradient_cx' 764 * attribute is set. 765 <p> 766 * @return <code>true</code> if this {@link DefaultValues}'s 'radialGradient_cx' attribute has 767 * been set, otherwise <code>false</code> is returned. 768 */ public 769 boolean isSetRadialGradient_cx() { 770 return libsbmlJNI.DefaultValues_isSetRadialGradient_cx(swigCPtr, this); 771 } 772 773 774/** 775 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'radialGradient_cy' 776 * attribute is set. 777 <p> 778 * @return <code>true</code> if this {@link DefaultValues}'s 'radialGradient_cy' attribute has 779 * been set, otherwise <code>false</code> is returned. 780 */ public 781 boolean isSetRadialGradient_cy() { 782 return libsbmlJNI.DefaultValues_isSetRadialGradient_cy(swigCPtr, this); 783 } 784 785 786/** 787 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'radialGradient_cz' 788 * attribute is set. 789 <p> 790 * @return <code>true</code> if this {@link DefaultValues}'s 'radialGradient_cz' attribute has 791 * been set, otherwise <code>false</code> is returned. 792 */ public 793 boolean isSetRadialGradient_cz() { 794 return libsbmlJNI.DefaultValues_isSetRadialGradient_cz(swigCPtr, this); 795 } 796 797 798/** 799 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'radialGradient_r' 800 * attribute is set. 801 <p> 802 * @return <code>true</code> if this {@link DefaultValues}'s 'radialGradient_r' attribute has 803 * been set, otherwise <code>false</code> is returned. 804 */ public 805 boolean isSetRadialGradient_r() { 806 return libsbmlJNI.DefaultValues_isSetRadialGradient_r(swigCPtr, this); 807 } 808 809 810/** 811 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'radialGradient_fx' 812 * attribute is set. 813 <p> 814 * @return <code>true</code> if this {@link DefaultValues}'s 'radialGradient_fx' attribute has 815 * been set, otherwise <code>false</code> is returned. 816 */ public 817 boolean isSetRadialGradient_fx() { 818 return libsbmlJNI.DefaultValues_isSetRadialGradient_fx(swigCPtr, this); 819 } 820 821 822/** 823 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'radialGradient_fy' 824 * attribute is set. 825 <p> 826 * @return <code>true</code> if this {@link DefaultValues}'s 'radialGradient_fy' attribute has 827 * been set, otherwise <code>false</code> is returned. 828 */ public 829 boolean isSetRadialGradient_fy() { 830 return libsbmlJNI.DefaultValues_isSetRadialGradient_fy(swigCPtr, this); 831 } 832 833 834/** 835 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'radialGradient_fz' 836 * attribute is set. 837 <p> 838 * @return <code>true</code> if this {@link DefaultValues}'s 'radialGradient_fz' attribute has 839 * been set, otherwise <code>false</code> is returned. 840 */ public 841 boolean isSetRadialGradient_fz() { 842 return libsbmlJNI.DefaultValues_isSetRadialGradient_fz(swigCPtr, this); 843 } 844 845 846/** 847 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'fill' attribute is 848 * set. 849 <p> 850 * @return <code>true</code> if this {@link DefaultValues}'s 'fill' attribute has been set, 851 * otherwise <code>false</code> is returned. 852 */ public 853 boolean isSetFill() { 854 return libsbmlJNI.DefaultValues_isSetFill(swigCPtr, this); 855 } 856 857 858/** 859 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'fillRule' attribute 860 * is set. 861 <p> 862 * @return <code>true</code> if this {@link DefaultValues}'s 'fillRule' attribute has been set, 863 * otherwise <code>false</code> is returned. 864 */ public 865 boolean isSetFillRule() { 866 return libsbmlJNI.DefaultValues_isSetFillRule(swigCPtr, this); 867 } 868 869 870/** 871 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'default_z' attribute 872 * is set. 873 <p> 874 * @return <code>true</code> if this {@link DefaultValues}'s 'default_z' attribute has been 875 * set, otherwise <code>false</code> is returned. 876 */ public 877 boolean isSetDefault_z() { 878 return libsbmlJNI.DefaultValues_isSetDefault_z(swigCPtr, this); 879 } 880 881 882/** 883 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'stroke' attribute is 884 * set. 885 <p> 886 * @return <code>true</code> if this {@link DefaultValues}'s 'stroke' attribute has been set, 887 * otherwise <code>false</code> is returned. 888 */ public 889 boolean isSetStroke() { 890 return libsbmlJNI.DefaultValues_isSetStroke(swigCPtr, this); 891 } 892 893 894/** 895 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'strokeWidth' 896 * attribute is set. 897 <p> 898 * @return <code>true</code> if this {@link DefaultValues}'s 'strokeWidth' attribute has been 899 * set, otherwise <code>false</code> is returned. 900 */ public 901 boolean isSetStrokeWidth() { 902 return libsbmlJNI.DefaultValues_isSetStrokeWidth(swigCPtr, this); 903 } 904 905 906/** 907 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'fontFamily' attribute 908 * is set. 909 <p> 910 * @return <code>true</code> if this {@link DefaultValues}'s 'fontFamily' attribute has been 911 * set, otherwise <code>false</code> is returned. 912 */ public 913 boolean isSetFontFamily() { 914 return libsbmlJNI.DefaultValues_isSetFontFamily(swigCPtr, this); 915 } 916 917 918/** 919 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'fontSize' attribute 920 * is set. 921 <p> 922 * @return <code>true</code> if this {@link DefaultValues}'s 'fontSize' attribute has been set, 923 * otherwise <code>false</code> is returned. 924 */ public 925 boolean isSetFontSize() { 926 return libsbmlJNI.DefaultValues_isSetFontSize(swigCPtr, this); 927 } 928 929 930/** 931 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'fontWeight' attribute 932 * is set. 933 <p> 934 * @return <code>true</code> if this {@link DefaultValues}'s 'fontWeight' attribute has been 935 * set, otherwise <code>false</code> is returned. 936 <p> 937 * @copydetails doc_defaultvalues_fontWeight 938 */ public 939 boolean isSetFontWeight() { 940 return libsbmlJNI.DefaultValues_isSetFontWeight(swigCPtr, this); 941 } 942 943 944/** 945 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'fontStyle' attribute 946 * is set. 947 <p> 948 * @return <code>true</code> if this {@link DefaultValues}'s 'fontStyle' attribute has been 949 * set, otherwise <code>false</code> is returned. 950 */ public 951 boolean isSetFontStyle() { 952 return libsbmlJNI.DefaultValues_isSetFontStyle(swigCPtr, this); 953 } 954 955 956/** 957 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'textAnchor' attribute 958 * is set. 959 <p> 960 * @return <code>true</code> if this {@link DefaultValues}'s 'textAnchor' attribute has been 961 * set, otherwise <code>false</code> is returned. 962 */ public 963 boolean isSetTextAnchor() { 964 return libsbmlJNI.DefaultValues_isSetTextAnchor(swigCPtr, this); 965 } 966 967 968/** 969 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'vtextAnchor' 970 * attribute is set. 971 <p> 972 * @return <code>true</code> if this {@link DefaultValues}'s 'vtextAnchor' attribute has been 973 * set, otherwise <code>false</code> is returned. 974 */ public 975 boolean isSetVTextAnchor() { 976 return libsbmlJNI.DefaultValues_isSetVTextAnchor(swigCPtr, this); 977 } 978 979 980/** 981 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'startHead' attribute 982 * is set. 983 <p> 984 * @return <code>true</code> if this {@link DefaultValues}'s 'startHead' attribute has been 985 * set, otherwise <code>false</code> is returned. 986 */ public 987 boolean isSetStartHead() { 988 return libsbmlJNI.DefaultValues_isSetStartHead(swigCPtr, this); 989 } 990 991 992/** 993 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 'endHead' attribute is 994 * set. 995 <p> 996 * @return <code>true</code> if this {@link DefaultValues}'s 'endHead' attribute has been set, 997 * otherwise <code>false</code> is returned. 998 */ public 999 boolean isSetEndHead() { 1000 return libsbmlJNI.DefaultValues_isSetEndHead(swigCPtr, this); 1001 } 1002 1003 1004/** 1005 * Predicate returning <code>true</code> if this {@link DefaultValues}'s 1006 * 'enableRotationalMapping' attribute is set. 1007 <p> 1008 * @return <code>true</code> if this {@link DefaultValues}'s 'enableRotationalMapping' 1009 * attribute has been set, otherwise <code>false</code> is returned. 1010 */ public 1011 boolean isSetEnableRotationalMapping() { 1012 return libsbmlJNI.DefaultValues_isSetEnableRotationalMapping(swigCPtr, this); 1013 } 1014 1015 1016/** 1017 * Sets the value of the 'backgroundColor' attribute of this {@link DefaultValues}. 1018 <p> 1019 * @param backgroundColor String& value of the 'backgroundColor' 1020 * attribute to be set. 1021 <p> 1022 * <p> 1023 * @return integer value indicating success/failure of the 1024 * function. This particular 1025 * function only does one thing irrespective of user input or 1026 * object state, and thus will only return a single value: 1027 * <ul> 1028 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1029 * 1030 * </ul> <p> 1031 * Calling this function with <code>backgroundColor</code> = <code>null</code> or an empty string 1032 * is equivalent to calling unsetBackgroundColor(). 1033 */ public 1034 int setBackgroundColor(String backgroundColor) { 1035 return libsbmlJNI.DefaultValues_setBackgroundColor(swigCPtr, this, backgroundColor); 1036 } 1037 1038 1039/** 1040 * Sets the value of the 'spreadMethod' attribute of this {@link DefaultValues}. 1041 <p> 1042 * @param spreadMethod int value 1043 * of the 'spreadMethod' attribute to be set. 1044 <p> 1045 * <p> 1046 * @return integer value indicating success/failure of the 1047 * function. The possible values 1048 * returned by this function are: 1049 * <ul> 1050 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1051 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1052 <p> 1053 * </ul> 1054 */ public 1055 int setSpreadMethod(int spreadMethod) { 1056 return libsbmlJNI.DefaultValues_setSpreadMethod__SWIG_0(swigCPtr, this, spreadMethod); 1057 } 1058 1059 1060/** 1061 * Sets the value of the 'spreadMethod' attribute of this {@link DefaultValues}. 1062 <p> 1063 * @param spreadMethod String& of the 'spreadMethod' attribute to be 1064 * set. 1065 <p> 1066 * <p> 1067 * @return integer value indicating success/failure of the 1068 * function. The possible values 1069 * returned by this function are: 1070 * <ul> 1071 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1072 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1073 <p> 1074 * </ul> 1075 */ public 1076 int setSpreadMethod(String spreadMethod) { 1077 return libsbmlJNI.DefaultValues_setSpreadMethod__SWIG_1(swigCPtr, this, spreadMethod); 1078 } 1079 1080 1081/** 1082 * Sets the value of the 'linearGradient_x1' attribute of this {@link DefaultValues}. 1083 <p> 1084 * @param linearGradient_x1 String& value of the 'linearGradient_x1' 1085 * attribute to be set. 1086 <p> 1087 * <p> 1088 * @return integer value indicating success/failure of the 1089 * function. This particular 1090 * function only does one thing irrespective of user input or 1091 * object state, and thus will only return a single value: 1092 * <ul> 1093 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1094 * 1095 * </ul> <p> 1096 * Calling this function with <code>linearGradient_x1</code> = <code>null</code> or an empty 1097 * string is equivalent to calling unsetLinearGradient_x1(). 1098 */ public 1099 int setLinearGradient_x1(String linearGradient_x1) { 1100 return libsbmlJNI.DefaultValues_setLinearGradient_x1(swigCPtr, this, linearGradient_x1); 1101 } 1102 1103 1104/** 1105 * Sets the value of the 'linearGradient_y1' attribute of this {@link DefaultValues}. 1106 <p> 1107 * @param linearGradient_y1 String& value of the 'linearGradient_y1' 1108 * attribute to be set. 1109 <p> 1110 * <p> 1111 * @return integer value indicating success/failure of the 1112 * function. This particular 1113 * function only does one thing irrespective of user input or 1114 * object state, and thus will only return a single value: 1115 * <ul> 1116 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1117 * 1118 * </ul> <p> 1119 * Calling this function with <code>linearGradient_y1</code> = <code>null</code> or an empty 1120 * string is equivalent to calling unsetLinearGradient_y1(). 1121 */ public 1122 int setLinearGradient_y1(String linearGradient_y1) { 1123 return libsbmlJNI.DefaultValues_setLinearGradient_y1(swigCPtr, this, linearGradient_y1); 1124 } 1125 1126 1127/** 1128 * Sets the value of the 'linearGradient_z1' attribute of this {@link DefaultValues}. 1129 <p> 1130 * @param linearGradient_z1 String& value of the 'linearGradient_z1' 1131 * attribute to be set. 1132 <p> 1133 * <p> 1134 * @return integer value indicating success/failure of the 1135 * function. This particular 1136 * function only does one thing irrespective of user input or 1137 * object state, and thus will only return a single value: 1138 * <ul> 1139 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1140 * 1141 * </ul> <p> 1142 * Calling this function with <code>linearGradient_z1</code> = <code>null</code> or an empty 1143 * string is equivalent to calling unsetLinearGradient_z1(). 1144 */ public 1145 int setLinearGradient_z1(String linearGradient_z1) { 1146 return libsbmlJNI.DefaultValues_setLinearGradient_z1(swigCPtr, this, linearGradient_z1); 1147 } 1148 1149 1150/** 1151 * Sets the value of the 'linearGradient_x2' attribute of this {@link DefaultValues}. 1152 <p> 1153 * @param linearGradient_x2 String& value of the 'linearGradient_x2' 1154 * attribute to be set. 1155 <p> 1156 * <p> 1157 * @return integer value indicating success/failure of the 1158 * function. This particular 1159 * function only does one thing irrespective of user input or 1160 * object state, and thus will only return a single value: 1161 * <ul> 1162 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1163 * 1164 * </ul> <p> 1165 * Calling this function with <code>linearGradient_x2</code> = <code>null</code> or an empty 1166 * string is equivalent to calling unsetLinearGradient_x2(). 1167 */ public 1168 int setLinearGradient_x2(String linearGradient_x2) { 1169 return libsbmlJNI.DefaultValues_setLinearGradient_x2(swigCPtr, this, linearGradient_x2); 1170 } 1171 1172 1173/** 1174 * Sets the value of the 'linearGradient_y2' attribute of this {@link DefaultValues}. 1175 <p> 1176 * @param linearGradient_y2 String& value of the 'linearGradient_y2' 1177 * attribute to be set. 1178 <p> 1179 * <p> 1180 * @return integer value indicating success/failure of the 1181 * function. This particular 1182 * function only does one thing irrespective of user input or 1183 * object state, and thus will only return a single value: 1184 * <ul> 1185 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1186 * 1187 * </ul> <p> 1188 * Calling this function with <code>linearGradient_y2</code> = <code>null</code> or an empty 1189 * string is equivalent to calling unsetLinearGradient_y2(). 1190 */ public 1191 int setLinearGradient_y2(String linearGradient_y2) { 1192 return libsbmlJNI.DefaultValues_setLinearGradient_y2(swigCPtr, this, linearGradient_y2); 1193 } 1194 1195 1196/** 1197 * Sets the value of the 'linearGradient_z2' attribute of this {@link DefaultValues}. 1198 <p> 1199 * @param linearGradient_z2 String& value of the 'linearGradient_z2' 1200 * attribute to be set. 1201 <p> 1202 * <p> 1203 * @return integer value indicating success/failure of the 1204 * function. This particular 1205 * function only does one thing irrespective of user input or 1206 * object state, and thus will only return a single value: 1207 * <ul> 1208 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1209 * 1210 * </ul> <p> 1211 * Calling this function with <code>linearGradient_z2</code> = <code>null</code> or an empty 1212 * string is equivalent to calling unsetLinearGradient_z2(). 1213 */ public 1214 int setLinearGradient_z2(String linearGradient_z2) { 1215 return libsbmlJNI.DefaultValues_setLinearGradient_z2(swigCPtr, this, linearGradient_z2); 1216 } 1217 1218 1219/** 1220 * Sets the value of the 'radialGradient_cx' attribute of this {@link DefaultValues}. 1221 <p> 1222 * @param radialGradient_cx String& value of the 'radialGradient_cx' 1223 * attribute to be set. 1224 <p> 1225 * <p> 1226 * @return integer value indicating success/failure of the 1227 * function. This particular 1228 * function only does one thing irrespective of user input or 1229 * object state, and thus will only return a single value: 1230 * <ul> 1231 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1232 * 1233 * </ul> <p> 1234 * Calling this function with <code>radialGradient_cx</code> = <code>null</code> or an empty 1235 * string is equivalent to calling unsetRadialGradient_cx(). 1236 */ public 1237 int setRadialGradient_cx(String radialGradient_cx) { 1238 return libsbmlJNI.DefaultValues_setRadialGradient_cx(swigCPtr, this, radialGradient_cx); 1239 } 1240 1241 1242/** 1243 * Sets the value of the 'radialGradient_cy' attribute of this {@link DefaultValues}. 1244 <p> 1245 * @param radialGradient_cy String& value of the 'radialGradient_cy' 1246 * attribute to be set. 1247 <p> 1248 * <p> 1249 * @return integer value indicating success/failure of the 1250 * function. This particular 1251 * function only does one thing irrespective of user input or 1252 * object state, and thus will only return a single value: 1253 * <ul> 1254 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1255 * 1256 * </ul> <p> 1257 * Calling this function with <code>radialGradient_cy</code> = <code>null</code> or an empty 1258 * string is equivalent to calling unsetRadialGradient_cy(). 1259 */ public 1260 int setRadialGradient_cy(String radialGradient_cy) { 1261 return libsbmlJNI.DefaultValues_setRadialGradient_cy(swigCPtr, this, radialGradient_cy); 1262 } 1263 1264 1265/** 1266 * Sets the value of the 'radialGradient_cz' attribute of this {@link DefaultValues}. 1267 <p> 1268 * @param radialGradient_cz String& value of the 'radialGradient_cz' 1269 * attribute to be set. 1270 <p> 1271 * <p> 1272 * @return integer value indicating success/failure of the 1273 * function. This particular 1274 * function only does one thing irrespective of user input or 1275 * object state, and thus will only return a single value: 1276 * <ul> 1277 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1278 * 1279 * </ul> <p> 1280 * Calling this function with <code>radialGradient_cz</code> = <code>null</code> or an empty 1281 * string is equivalent to calling unsetRadialGradient_cz(). 1282 */ public 1283 int setRadialGradient_cz(String radialGradient_cz) { 1284 return libsbmlJNI.DefaultValues_setRadialGradient_cz(swigCPtr, this, radialGradient_cz); 1285 } 1286 1287 1288/** 1289 * Sets the value of the 'radialGradient_r' attribute of this {@link DefaultValues}. 1290 <p> 1291 * @param radialGradient_r String& value of the 'radialGradient_r' 1292 * attribute to be set. 1293 <p> 1294 * <p> 1295 * @return integer value indicating success/failure of the 1296 * function. This particular 1297 * function only does one thing irrespective of user input or 1298 * object state, and thus will only return a single value: 1299 * <ul> 1300 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1301 * 1302 * </ul> <p> 1303 * Calling this function with <code>radialGradient_r</code> = <code>null</code> or an empty 1304 * string is equivalent to calling unsetRadialGradient_r(). 1305 */ public 1306 int setRadialGradient_r(String radialGradient_r) { 1307 return libsbmlJNI.DefaultValues_setRadialGradient_r(swigCPtr, this, radialGradient_r); 1308 } 1309 1310 1311/** 1312 * Sets the value of the 'radialGradient_fx' attribute of this {@link DefaultValues}. 1313 <p> 1314 * @param radialGradient_fx String& value of the 'radialGradient_fx' 1315 * attribute to be set. 1316 <p> 1317 * <p> 1318 * @return integer value indicating success/failure of the 1319 * function. This particular 1320 * function only does one thing irrespective of user input or 1321 * object state, and thus will only return a single value: 1322 * <ul> 1323 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1324 * 1325 * </ul> <p> 1326 * Calling this function with <code>radialGradient_fx</code> = <code>null</code> or an empty 1327 * string is equivalent to calling unsetRadialGradient_fx(). 1328 */ public 1329 int setRadialGradient_fx(String radialGradient_fx) { 1330 return libsbmlJNI.DefaultValues_setRadialGradient_fx(swigCPtr, this, radialGradient_fx); 1331 } 1332 1333 1334/** 1335 * Sets the value of the 'radialGradient_fy' attribute of this {@link DefaultValues}. 1336 <p> 1337 * @param radialGradient_fy String& value of the 'radialGradient_fy' 1338 * attribute to be set. 1339 <p> 1340 * <p> 1341 * @return integer value indicating success/failure of the 1342 * function. This particular 1343 * function only does one thing irrespective of user input or 1344 * object state, and thus will only return a single value: 1345 * <ul> 1346 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1347 * 1348 * </ul> <p> 1349 * Calling this function with <code>radialGradient_fy</code> = <code>null</code> or an empty 1350 * string is equivalent to calling unsetRadialGradient_fy(). 1351 */ public 1352 int setRadialGradient_fy(String radialGradient_fy) { 1353 return libsbmlJNI.DefaultValues_setRadialGradient_fy(swigCPtr, this, radialGradient_fy); 1354 } 1355 1356 1357/** 1358 * Sets the value of the 'radialGradient_fz' attribute of this {@link DefaultValues}. 1359 <p> 1360 * @param radialGradient_fz String& value of the 'radialGradient_fz' 1361 * attribute to be set. 1362 <p> 1363 * <p> 1364 * @return integer value indicating success/failure of the 1365 * function. This particular 1366 * function only does one thing irrespective of user input or 1367 * object state, and thus will only return a single value: 1368 * <ul> 1369 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1370 * 1371 * </ul> <p> 1372 * Calling this function with <code>radialGradient_fz</code> = <code>null</code> or an empty 1373 * string is equivalent to calling unsetRadialGradient_fz(). 1374 */ public 1375 int setRadialGradient_fz(String radialGradient_fz) { 1376 return libsbmlJNI.DefaultValues_setRadialGradient_fz(swigCPtr, this, radialGradient_fz); 1377 } 1378 1379 1380/** 1381 * Sets the value of the 'fill' attribute of this {@link DefaultValues}. 1382 <p> 1383 * @param fill String& value of the 'fill' attribute to be set. 1384 <p> 1385 * <p> 1386 * @return integer value indicating success/failure of the 1387 * function. This particular 1388 * function only does one thing irrespective of user input or 1389 * object state, and thus will only return a single value: 1390 * <ul> 1391 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1392 * 1393 * </ul> <p> 1394 * Calling this function with <code>fill</code> = <code>null</code> or an empty string is 1395 * equivalent to calling unsetFill(). 1396 */ public 1397 int setFill(String fill) { 1398 return libsbmlJNI.DefaultValues_setFill(swigCPtr, this, fill); 1399 } 1400 1401 1402/** 1403 * Sets the value of the 'fillRule' attribute of this {@link DefaultValues}. 1404 <p> 1405 * @param fillRule int value of the 1406 * 'fillRule' attribute to be set. 1407 <p> 1408 * <p> 1409 * @return integer value indicating success/failure of the 1410 * function. The possible values 1411 * returned by this function are: 1412 * <ul> 1413 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1414 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1415 * 1416 * </ul> <p> 1417 * @copydetails doc_defaultvalues_fillRule 1418 */ public 1419 int setFillRule(int fillRule) { 1420 return libsbmlJNI.DefaultValues_setFillRule__SWIG_0(swigCPtr, this, fillRule); 1421 } 1422 1423 1424/** 1425 * Sets the value of the 'fillRule' attribute of this {@link DefaultValues}. 1426 <p> 1427 * @param fillRule String& of the 'fillRule' attribute to be set. 1428 <p> 1429 * <p> 1430 * @return integer value indicating success/failure of the 1431 * function. The possible values 1432 * returned by this function are: 1433 * <ul> 1434 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1435 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1436 * 1437 * </ul> <p> 1438 * @copydetails doc_defaultvalues_fillRule 1439 */ public 1440 int setFillRule(String fillRule) { 1441 return libsbmlJNI.DefaultValues_setFillRule__SWIG_1(swigCPtr, this, fillRule); 1442 } 1443 1444 1445/** 1446 * Sets the value of the 'default_z' attribute of this {@link DefaultValues}. 1447 <p> 1448 * @param default_z String& value of the 'default_z' attribute to be 1449 * set. 1450 <p> 1451 * <p> 1452 * @return integer value indicating success/failure of the 1453 * function. This particular 1454 * function only does one thing irrespective of user input or 1455 * object state, and thus will only return a single value: 1456 * <ul> 1457 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1458 * 1459 * </ul> <p> 1460 * Calling this function with <code>default_z</code> = <code>null</code> or an empty string is 1461 * equivalent to calling unsetDefault_z(). 1462 */ public 1463 int setDefault_z(String default_z) { 1464 return libsbmlJNI.DefaultValues_setDefault_z(swigCPtr, this, default_z); 1465 } 1466 1467 1468/** 1469 * Sets the value of the 'stroke' attribute of this {@link DefaultValues}. 1470 <p> 1471 * @param stroke String& value of the 'stroke' attribute to be set. 1472 <p> 1473 * <p> 1474 * @return integer value indicating success/failure of the 1475 * function. This particular 1476 * function only does one thing irrespective of user input or 1477 * object state, and thus will only return a single value: 1478 * <ul> 1479 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1480 * 1481 * </ul> <p> 1482 * Calling this function with <code>stroke</code> = <code>null</code> or an empty string is 1483 * equivalent to calling unsetStroke(). 1484 */ public 1485 int setStroke(String stroke) { 1486 return libsbmlJNI.DefaultValues_setStroke(swigCPtr, this, stroke); 1487 } 1488 1489 1490/** 1491 * Sets the value of the 'strokeWidth' attribute of this {@link DefaultValues}. 1492 <p> 1493 * @param strokeWidth String& value of the 'strokeWidth' attribute to be 1494 * set. 1495 <p> 1496 * <p> 1497 * @return integer value indicating success/failure of the 1498 * function. This particular 1499 * function only does one thing irrespective of user input or 1500 * object state, and thus will only return a single value: 1501 * <ul> 1502 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1503 * 1504 * </ul> <p> 1505 * Calling this function with <code>strokeWidth</code> = <code>null</code> or an empty string is 1506 * equivalent to calling unsetStrokeWidth(). 1507 */ public 1508 int setStrokeWidth(double strokeWidth) { 1509 return libsbmlJNI.DefaultValues_setStrokeWidth(swigCPtr, this, strokeWidth); 1510 } 1511 1512 1513/** 1514 * Sets the value of the 'fontFamily' attribute of this {@link DefaultValues}. 1515 <p> 1516 * @param fontFamily String& value of the 'fontFamily' attribute to be 1517 * set. 1518 <p> 1519 * <p> 1520 * @return integer value indicating success/failure of the 1521 * function. This particular 1522 * function only does one thing irrespective of user input or 1523 * object state, and thus will only return a single value: 1524 * <ul> 1525 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1526 * 1527 * </ul> <p> 1528 * Calling this function with <code>fontFamily</code> = <code>null</code> or an empty string is 1529 * equivalent to calling unsetFontFamily(). 1530 */ public 1531 int setFontFamily(String fontFamily) { 1532 return libsbmlJNI.DefaultValues_setFontFamily(swigCPtr, this, fontFamily); 1533 } 1534 1535 1536/** 1537 * Sets the value of the 'fontSize' attribute of this {@link DefaultValues}. 1538 <p> 1539 * @param fontSize String& value of the 'fontSize' attribute to be set. 1540 <p> 1541 * <p> 1542 * @return integer value indicating success/failure of the 1543 * function. This particular 1544 * function only does one thing irrespective of user input or 1545 * object state, and thus will only return a single value: 1546 * <ul> 1547 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1548 * 1549 * </ul> <p> 1550 * Calling this function with <code>fontSize</code> = <code>null</code> or an empty string is 1551 * equivalent to calling unsetFontSize(). 1552 */ public 1553 int setFontSize(String fontSize) { 1554 return libsbmlJNI.DefaultValues_setFontSize(swigCPtr, this, fontSize); 1555 } 1556 1557 1558/** 1559 * Sets the value of the 'fontWeight' attribute of this {@link DefaultValues}. 1560 <p> 1561 * @param fontWeight int value of the 1562 * 'fontWeight' attribute to be set. 1563 <p> 1564 * <p> 1565 * @return integer value indicating success/failure of the 1566 * function. The possible values 1567 * returned by this function are: 1568 * <ul> 1569 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1570 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1571 * 1572 * </ul> <p> 1573 * @copydetails doc_defaultvalues_fontWeight 1574 */ public 1575 int setFontWeight(int fontWeight) { 1576 return libsbmlJNI.DefaultValues_setFontWeight__SWIG_0(swigCPtr, this, fontWeight); 1577 } 1578 1579 1580/** 1581 * Sets the value of the 'fontWeight' attribute of this {@link DefaultValues}. 1582 <p> 1583 * @param fontWeight String& of the 'fontWeight' attribute to be set. 1584 <p> 1585 * <p> 1586 * @return integer value indicating success/failure of the 1587 * function. The possible values 1588 * returned by this function are: 1589 * <ul> 1590 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1591 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1592 * 1593 * </ul> <p> 1594 * @copydetails doc_defaultvalues_fontWeight 1595 */ public 1596 int setFontWeight(String fontWeight) { 1597 return libsbmlJNI.DefaultValues_setFontWeight__SWIG_1(swigCPtr, this, fontWeight); 1598 } 1599 1600 1601/** 1602 * Sets the value of the 'fontStyle' attribute of this {@link DefaultValues}. 1603 <p> 1604 * @param fontStyle int value of the 1605 * 'fontStyle' attribute to be set. 1606 <p> 1607 * <p> 1608 * @return integer value indicating success/failure of the 1609 * function. The possible values 1610 * returned by this function are: 1611 * <ul> 1612 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1613 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1614 * 1615 * </ul> <p> 1616 * @copydetails doc_defaultvalues_fontStyle 1617 */ public 1618 int setFontStyle(int fontStyle) { 1619 return libsbmlJNI.DefaultValues_setFontStyle__SWIG_0(swigCPtr, this, fontStyle); 1620 } 1621 1622 1623/** 1624 * Sets the value of the 'fontStyle' attribute of this {@link DefaultValues}. 1625 <p> 1626 * @param fontStyle String& of the 'fontStyle' attribute to be set. 1627 <p> 1628 * <p> 1629 * @return integer value indicating success/failure of the 1630 * function. The possible values 1631 * returned by this function are: 1632 * <ul> 1633 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1634 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1635 * 1636 * </ul> <p> 1637 * @copydetails doc_defaultvalues_fontStyle 1638 */ public 1639 int setFontStyle(String fontStyle) { 1640 return libsbmlJNI.DefaultValues_setFontStyle__SWIG_1(swigCPtr, this, fontStyle); 1641 } 1642 1643 1644/** 1645 * Sets the value of the 'textAnchor' attribute of this {@link DefaultValues}. 1646 <p> 1647 * @param textAnchor int value of the 1648 * 'textAnchor' attribute to be set. 1649 <p> 1650 * <p> 1651 * @return integer value indicating success/failure of the 1652 * function. The possible values 1653 * returned by this function are: 1654 * <ul> 1655 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1656 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1657 * 1658 * </ul> <p> 1659 * @copydetails doc_defaultvalues_textAnchor 1660 */ public 1661 int setTextAnchor(int textAnchor) { 1662 return libsbmlJNI.DefaultValues_setTextAnchor__SWIG_0(swigCPtr, this, textAnchor); 1663 } 1664 1665 1666/** 1667 * Sets the value of the 'textAnchor' attribute of this {@link DefaultValues}. 1668 <p> 1669 * @param textAnchor String& of the 'textAnchor' attribute to be set. 1670 <p> 1671 * <p> 1672 * @return integer value indicating success/failure of the 1673 * function. The possible values 1674 * returned by this function are: 1675 * <ul> 1676 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1677 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1678 * 1679 * </ul> <p> 1680 * @copydetails doc_defaultvalues_textAnchor 1681 */ public 1682 int setTextAnchor(String textAnchor) { 1683 return libsbmlJNI.DefaultValues_setTextAnchor__SWIG_1(swigCPtr, this, textAnchor); 1684 } 1685 1686 1687/** 1688 * Sets the value of the 'vtextAnchor' attribute of this {@link DefaultValues}. 1689 <p> 1690 * @param vtextAnchor int value of the 1691 * 'vtextAnchor' attribute to be set. 1692 <p> 1693 * <p> 1694 * @return integer value indicating success/failure of the 1695 * function. The possible values 1696 * returned by this function are: 1697 * <ul> 1698 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1699 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1700 * 1701 * </ul> <p> 1702 * @copydetails doc_defaultvalues_vtextAnchor 1703 */ public 1704 int setVTextAnchor(int vtextAnchor) { 1705 return libsbmlJNI.DefaultValues_setVTextAnchor__SWIG_0(swigCPtr, this, vtextAnchor); 1706 } 1707 1708 1709/** 1710 * Sets the value of the 'vtextAnchor' attribute of this {@link DefaultValues}. 1711 <p> 1712 * @param vtextAnchor String& of the 'vtextAnchor' attribute to be set. 1713 <p> 1714 * <p> 1715 * @return integer value indicating success/failure of the 1716 * function. The possible values 1717 * returned by this function are: 1718 * <ul> 1719 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1720 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1721 * 1722 * </ul> <p> 1723 * @copydetails doc_defaultvalues_vtextAnchor 1724 */ public 1725 int setVTextAnchor(String vtextAnchor) { 1726 return libsbmlJNI.DefaultValues_setVTextAnchor__SWIG_1(swigCPtr, this, vtextAnchor); 1727 } 1728 1729 1730/** 1731 * Sets the value of the 'startHead' attribute of this {@link DefaultValues}. 1732 <p> 1733 * @param startHead String& value of the 'startHead' attribute to be 1734 * set. 1735 <p> 1736 * <p> 1737 * @return integer value indicating success/failure of the 1738 * function. The possible values 1739 * returned by this function are: 1740 * <ul> 1741 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1742 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1743 * </ul> 1744 */ public 1745 int setStartHead(String startHead) { 1746 return libsbmlJNI.DefaultValues_setStartHead(swigCPtr, this, startHead); 1747 } 1748 1749 1750/** 1751 * Sets the value of the 'endHead' attribute of this {@link DefaultValues}. 1752 <p> 1753 * @param endHead String& value of the 'endHead' attribute to be set. 1754 <p> 1755 * <p> 1756 * @return integer value indicating success/failure of the 1757 * function. The possible values 1758 * returned by this function are: 1759 * <ul> 1760 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1761 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1762 * </ul> 1763 */ public 1764 int setEndHead(String endHead) { 1765 return libsbmlJNI.DefaultValues_setEndHead(swigCPtr, this, endHead); 1766 } 1767 1768 1769/** 1770 * Sets the value of the 'enableRotationalMapping' attribute of this 1771 * {@link DefaultValues}. 1772 <p> 1773 * @param enableRotationalMapping boolean value of the 'enableRotationalMapping' 1774 * attribute to be set. 1775 <p> 1776 * <p> 1777 * @return integer value indicating success/failure of the 1778 * function. The possible values 1779 * returned by this function are: 1780 * <ul> 1781 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1782 * <li> {@link libsbmlConstants#LIBSBML_INVALID_ATTRIBUTE_VALUE LIBSBML_INVALID_ATTRIBUTE_VALUE} 1783 * </ul> 1784 */ public 1785 int setEnableRotationalMapping(boolean enableRotationalMapping) { 1786 return libsbmlJNI.DefaultValues_setEnableRotationalMapping(swigCPtr, this, enableRotationalMapping); 1787 } 1788 1789 1790/** 1791 * Unsets the value of the 'backgroundColor' attribute of this {@link DefaultValues}. 1792 <p> 1793 * <p> 1794 * @return integer value indicating success/failure of the 1795 * function. The possible values 1796 * returned by this function are: 1797 * <ul> 1798 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1799 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1800 * </ul> 1801 */ public 1802 int unsetBackgroundColor() { 1803 return libsbmlJNI.DefaultValues_unsetBackgroundColor(swigCPtr, this); 1804 } 1805 1806 1807/** 1808 * Unsets the value of the 'spreadMethod' attribute of this {@link DefaultValues}. 1809 <p> 1810 * <p> 1811 * @return integer value indicating success/failure of the 1812 * function. This particular 1813 * function only does one thing irrespective of user input or 1814 * object state, and thus will only return a single value: 1815 * <ul> 1816 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1817 * 1818 * </ul> <p> 1819 * @copydetails doc_defaultvalues_spreadMethod 1820 */ public 1821 int unsetSpreadMethod() { 1822 return libsbmlJNI.DefaultValues_unsetSpreadMethod(swigCPtr, this); 1823 } 1824 1825 1826/** 1827 * Unsets the value of the 'linearGradient_x1' attribute of this 1828 * {@link DefaultValues}. 1829 <p> 1830 * <p> 1831 * @return integer value indicating success/failure of the 1832 * function. The possible values 1833 * returned by this function are: 1834 * <ul> 1835 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1836 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1837 * </ul> 1838 */ public 1839 int unsetLinearGradient_x1() { 1840 return libsbmlJNI.DefaultValues_unsetLinearGradient_x1(swigCPtr, this); 1841 } 1842 1843 1844/** 1845 * Unsets the value of the 'linearGradient_y1' attribute of this 1846 * {@link DefaultValues}. 1847 <p> 1848 * <p> 1849 * @return integer value indicating success/failure of the 1850 * function. The possible values 1851 * returned by this function are: 1852 * <ul> 1853 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1854 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1855 * </ul> 1856 */ public 1857 int unsetLinearGradient_y1() { 1858 return libsbmlJNI.DefaultValues_unsetLinearGradient_y1(swigCPtr, this); 1859 } 1860 1861 1862/** 1863 * Unsets the value of the 'linearGradient_z1' attribute of this 1864 * {@link DefaultValues}. 1865 <p> 1866 * <p> 1867 * @return integer value indicating success/failure of the 1868 * function. The possible values 1869 * returned by this function are: 1870 * <ul> 1871 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1872 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1873 * </ul> 1874 */ public 1875 int unsetLinearGradient_z1() { 1876 return libsbmlJNI.DefaultValues_unsetLinearGradient_z1(swigCPtr, this); 1877 } 1878 1879 1880/** 1881 * Unsets the value of the 'linearGradient_x2' attribute of this 1882 * {@link DefaultValues}. 1883 <p> 1884 * <p> 1885 * @return integer value indicating success/failure of the 1886 * function. The possible values 1887 * returned by this function are: 1888 * <ul> 1889 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1890 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1891 * </ul> 1892 */ public 1893 int unsetLinearGradient_x2() { 1894 return libsbmlJNI.DefaultValues_unsetLinearGradient_x2(swigCPtr, this); 1895 } 1896 1897 1898/** 1899 * Unsets the value of the 'linearGradient_y2' attribute of this 1900 * {@link DefaultValues}. 1901 <p> 1902 * <p> 1903 * @return integer value indicating success/failure of the 1904 * function. The possible values 1905 * returned by this function are: 1906 * <ul> 1907 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1908 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1909 * </ul> 1910 */ public 1911 int unsetLinearGradient_y2() { 1912 return libsbmlJNI.DefaultValues_unsetLinearGradient_y2(swigCPtr, this); 1913 } 1914 1915 1916/** 1917 * Unsets the value of the 'linearGradient_z2' attribute of this 1918 * {@link DefaultValues}. 1919 <p> 1920 * <p> 1921 * @return integer value indicating success/failure of the 1922 * function. The possible values 1923 * returned by this function are: 1924 * <ul> 1925 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1926 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1927 * </ul> 1928 */ public 1929 int unsetLinearGradient_z2() { 1930 return libsbmlJNI.DefaultValues_unsetLinearGradient_z2(swigCPtr, this); 1931 } 1932 1933 1934/** 1935 * Unsets the value of the 'radialGradient_cx' attribute of this 1936 * {@link DefaultValues}. 1937 <p> 1938 * <p> 1939 * @return integer value indicating success/failure of the 1940 * function. The possible values 1941 * returned by this function are: 1942 * <ul> 1943 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1944 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1945 * </ul> 1946 */ public 1947 int unsetRadialGradient_cx() { 1948 return libsbmlJNI.DefaultValues_unsetRadialGradient_cx(swigCPtr, this); 1949 } 1950 1951 1952/** 1953 * Unsets the value of the 'radialGradient_cy' attribute of this 1954 * {@link DefaultValues}. 1955 <p> 1956 * <p> 1957 * @return integer value indicating success/failure of the 1958 * function. The possible values 1959 * returned by this function are: 1960 * <ul> 1961 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1962 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1963 * </ul> 1964 */ public 1965 int unsetRadialGradient_cy() { 1966 return libsbmlJNI.DefaultValues_unsetRadialGradient_cy(swigCPtr, this); 1967 } 1968 1969 1970/** 1971 * Unsets the value of the 'radialGradient_cz' attribute of this 1972 * {@link DefaultValues}. 1973 <p> 1974 * <p> 1975 * @return integer value indicating success/failure of the 1976 * function. The possible values 1977 * returned by this function are: 1978 * <ul> 1979 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1980 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1981 * </ul> 1982 */ public 1983 int unsetRadialGradient_cz() { 1984 return libsbmlJNI.DefaultValues_unsetRadialGradient_cz(swigCPtr, this); 1985 } 1986 1987 1988/** 1989 * Unsets the value of the 'radialGradient_r' attribute of this 1990 * {@link DefaultValues}. 1991 <p> 1992 * <p> 1993 * @return integer value indicating success/failure of the 1994 * function. The possible values 1995 * returned by this function are: 1996 * <ul> 1997 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 1998 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 1999 * </ul> 2000 */ public 2001 int unsetRadialGradient_r() { 2002 return libsbmlJNI.DefaultValues_unsetRadialGradient_r(swigCPtr, this); 2003 } 2004 2005 2006/** 2007 * Unsets the value of the 'radialGradient_fx' attribute of this 2008 * {@link DefaultValues}. 2009 <p> 2010 * <p> 2011 * @return integer value indicating success/failure of the 2012 * function. The possible values 2013 * returned by this function are: 2014 * <ul> 2015 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2016 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2017 * </ul> 2018 */ public 2019 int unsetRadialGradient_fx() { 2020 return libsbmlJNI.DefaultValues_unsetRadialGradient_fx(swigCPtr, this); 2021 } 2022 2023 2024/** 2025 * Unsets the value of the 'radialGradient_fy' attribute of this 2026 * {@link DefaultValues}. 2027 <p> 2028 * <p> 2029 * @return integer value indicating success/failure of the 2030 * function. The possible values 2031 * returned by this function are: 2032 * <ul> 2033 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2034 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2035 * </ul> 2036 */ public 2037 int unsetRadialGradient_fy() { 2038 return libsbmlJNI.DefaultValues_unsetRadialGradient_fy(swigCPtr, this); 2039 } 2040 2041 2042/** 2043 * Unsets the value of the 'radialGradient_fz' attribute of this 2044 * {@link DefaultValues}. 2045 <p> 2046 * <p> 2047 * @return integer value indicating success/failure of the 2048 * function. The possible values 2049 * returned by this function are: 2050 * <ul> 2051 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2052 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2053 * </ul> 2054 */ public 2055 int unsetRadialGradient_fz() { 2056 return libsbmlJNI.DefaultValues_unsetRadialGradient_fz(swigCPtr, this); 2057 } 2058 2059 2060/** 2061 * Unsets the value of the 'fill' attribute of this {@link DefaultValues}. 2062 <p> 2063 * <p> 2064 * @return integer value indicating success/failure of the 2065 * function. The possible values 2066 * returned by this function are: 2067 * <ul> 2068 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2069 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2070 * </ul> 2071 */ public 2072 int unsetFill() { 2073 return libsbmlJNI.DefaultValues_unsetFill(swigCPtr, this); 2074 } 2075 2076 2077/** 2078 * Unsets the value of the 'fillRule' attribute of this {@link DefaultValues}. 2079 <p> 2080 * <p> 2081 * @return integer value indicating success/failure of the 2082 * function. This particular 2083 * function only does one thing irrespective of user input or 2084 * object state, and thus will only return a single value: 2085 * <ul> 2086 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2087 * 2088 * </ul> <p> 2089 * @copydetails doc_defaultvalues_fillRule 2090 */ public 2091 int unsetFillRule() { 2092 return libsbmlJNI.DefaultValues_unsetFillRule(swigCPtr, this); 2093 } 2094 2095 2096/** 2097 * Unsets the value of the 'default_z' attribute of this {@link DefaultValues}. 2098 <p> 2099 * <p> 2100 * @return integer value indicating success/failure of the 2101 * function. The possible values 2102 * returned by this function are: 2103 * <ul> 2104 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2105 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2106 * </ul> 2107 */ public 2108 int unsetDefault_z() { 2109 return libsbmlJNI.DefaultValues_unsetDefault_z(swigCPtr, this); 2110 } 2111 2112 2113/** 2114 * Unsets the value of the 'stroke' attribute of this {@link DefaultValues}. 2115 <p> 2116 * <p> 2117 * @return integer value indicating success/failure of the 2118 * function. The possible values 2119 * returned by this function are: 2120 * <ul> 2121 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2122 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2123 * </ul> 2124 */ public 2125 int unsetStroke() { 2126 return libsbmlJNI.DefaultValues_unsetStroke(swigCPtr, this); 2127 } 2128 2129 2130/** 2131 * Unsets the value of the 'strokeWidth' attribute of this {@link DefaultValues}. 2132 <p> 2133 * <p> 2134 * @return integer value indicating success/failure of the 2135 * function. The possible values 2136 * returned by this function are: 2137 * <ul> 2138 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2139 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2140 * </ul> 2141 */ public 2142 int unsetStrokeWidth() { 2143 return libsbmlJNI.DefaultValues_unsetStrokeWidth(swigCPtr, this); 2144 } 2145 2146 2147/** 2148 * Unsets the value of the 'fontFamily' attribute of this {@link DefaultValues}. 2149 <p> 2150 * <p> 2151 * @return integer value indicating success/failure of the 2152 * function. The possible values 2153 * returned by this function are: 2154 * <ul> 2155 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2156 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2157 * </ul> 2158 */ public 2159 int unsetFontFamily() { 2160 return libsbmlJNI.DefaultValues_unsetFontFamily(swigCPtr, this); 2161 } 2162 2163 2164/** 2165 * Unsets the value of the 'fontSize' attribute of this {@link DefaultValues}. 2166 <p> 2167 * <p> 2168 * @return integer value indicating success/failure of the 2169 * function. The possible values 2170 * returned by this function are: 2171 * <ul> 2172 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2173 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2174 * </ul> 2175 */ public 2176 int unsetFontSize() { 2177 return libsbmlJNI.DefaultValues_unsetFontSize(swigCPtr, this); 2178 } 2179 2180 2181/** 2182 * Unsets the value of the 'fontWeight' attribute of this {@link DefaultValues}. 2183 <p> 2184 * <p> 2185 * @return integer value indicating success/failure of the 2186 * function. This particular 2187 * function only does one thing irrespective of user input or 2188 * object state, and thus will only return a single value: 2189 * <ul> 2190 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2191 * 2192 * </ul> <p> 2193 * @copydetails doc_defaultvalues_fontWeight 2194 */ public 2195 int unsetFontWeight() { 2196 return libsbmlJNI.DefaultValues_unsetFontWeight(swigCPtr, this); 2197 } 2198 2199 2200/** 2201 * Unsets the value of the 'fontStyle' attribute of this {@link DefaultValues}. 2202 <p> 2203 * <p> 2204 * @return integer value indicating success/failure of the 2205 * function. This particular 2206 * function only does one thing irrespective of user input or 2207 * object state, and thus will only return a single value: 2208 * <ul> 2209 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2210 * 2211 * </ul> <p> 2212 * @copydetails doc_defaultvalues_fontStyle 2213 */ public 2214 int unsetFontStyle() { 2215 return libsbmlJNI.DefaultValues_unsetFontStyle(swigCPtr, this); 2216 } 2217 2218 2219/** 2220 * Unsets the value of the 'textAnchor' attribute of this {@link DefaultValues}. 2221 <p> 2222 * <p> 2223 * @return integer value indicating success/failure of the 2224 * function. This particular 2225 * function only does one thing irrespective of user input or 2226 * object state, and thus will only return a single value: 2227 * <ul> 2228 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2229 * 2230 * </ul> <p> 2231 * @copydetails doc_defaultvalues_textAnchor 2232 */ public 2233 int unsetTextAnchor() { 2234 return libsbmlJNI.DefaultValues_unsetTextAnchor(swigCPtr, this); 2235 } 2236 2237 2238/** 2239 * Unsets the value of the 'vtextAnchor' attribute of this {@link DefaultValues}. 2240 <p> 2241 * <p> 2242 * @return integer value indicating success/failure of the 2243 * function. This particular 2244 * function only does one thing irrespective of user input or 2245 * object state, and thus will only return a single value: 2246 * <ul> 2247 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2248 * 2249 * </ul> <p> 2250 * @copydetails doc_defaultvalues_vtextAnchor 2251 */ public 2252 int unsetVTextAnchor() { 2253 return libsbmlJNI.DefaultValues_unsetVTextAnchor(swigCPtr, this); 2254 } 2255 2256 2257/** 2258 * Unsets the value of the 'startHead' attribute of this {@link DefaultValues}. 2259 <p> 2260 * <p> 2261 * @return integer value indicating success/failure of the 2262 * function. The possible values 2263 * returned by this function are: 2264 * <ul> 2265 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2266 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2267 * </ul> 2268 */ public 2269 int unsetStartHead() { 2270 return libsbmlJNI.DefaultValues_unsetStartHead(swigCPtr, this); 2271 } 2272 2273 2274/** 2275 * Unsets the value of the 'endHead' attribute of this {@link DefaultValues}. 2276 <p> 2277 * <p> 2278 * @return integer value indicating success/failure of the 2279 * function. The possible values 2280 * returned by this function are: 2281 * <ul> 2282 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2283 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2284 * </ul> 2285 */ public 2286 int unsetEndHead() { 2287 return libsbmlJNI.DefaultValues_unsetEndHead(swigCPtr, this); 2288 } 2289 2290 2291/** 2292 * Unsets the value of the 'enableRotationalMapping' attribute of this 2293 * {@link DefaultValues}. 2294 <p> 2295 * <p> 2296 * @return integer value indicating success/failure of the 2297 * function. The possible values 2298 * returned by this function are: 2299 * <ul> 2300 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_SUCCESS LIBSBML_OPERATION_SUCCESS} 2301 * <li> {@link libsbmlConstants#LIBSBML_OPERATION_FAILED LIBSBML_OPERATION_FAILED} 2302 * </ul> 2303 */ public 2304 int unsetEnableRotationalMapping() { 2305 return libsbmlJNI.DefaultValues_unsetEnableRotationalMapping(swigCPtr, this); 2306 } 2307 2308 2309/** 2310 * <p> 2311 * Replaces all uses of a given <code>SIdRef</code> type attribute value with another 2312 * value. 2313 <p> 2314 * <p> 2315 * In SBML, object identifiers are of a data type called <code>SId</code>. 2316 * In SBML Level 3, an explicit data type called <code>SIdRef</code> was 2317 * introduced for attribute values that refer to <code>SId</code> values; in 2318 * previous Levels of SBML, this data type did not exist and attributes were 2319 * simply described to as 'referring to an identifier', but the effective 2320 * data type was the same as <code>SIdRef</code> in Level 3. These and 2321 * other methods of libSBML refer to the type <code>SIdRef</code> for all 2322 * Levels of SBML, even if the corresponding SBML specification did not 2323 * explicitly name the data type. 2324 <p> 2325 * This method works by looking at all attributes and (if appropriate) 2326 * mathematical formulas in MathML content, comparing the referenced 2327 * identifiers to the value of <code>oldid</code>. If any matches are found, the 2328 * matching values are replaced with <code>newid</code>. The method does <em>not</em> 2329 * descend into child elements. 2330 <p> 2331 * @param oldid the old identifier. 2332 * @param newid the new identifier. 2333 */ public 2334 void renameSIdRefs(String oldid, String newid) { 2335 libsbmlJNI.DefaultValues_renameSIdRefs(swigCPtr, this, oldid, newid); 2336 } 2337 2338 2339/** 2340 * Returns the XML element name of this {@link DefaultValues} object. 2341 <p> 2342 * For {@link DefaultValues}, the XML element name is always <code>'defaultValues'.</code> 2343 <p> 2344 * @return the name of this element, i.e. <code>'defaultValues'.</code> 2345 */ public 2346 String getElementName() { 2347 return libsbmlJNI.DefaultValues_getElementName(swigCPtr, this); 2348 } 2349 2350 2351/** 2352 * Returns the libSBML type code for this {@link DefaultValues} object. 2353 <p> 2354 * <p> 2355 * LibSBML attaches an identifying code to every kind of SBML object. These 2356 * are integer constants known as <em>SBML type codes</em>. The names of all 2357 * the codes begin with the characters <code>SBML_</code>. 2358 * In the Java language interface for libSBML, the 2359 * type codes are defined as static integer constants in the interface class 2360 * {@link libsbmlConstants}. Note that different Level 3 2361 * package plug-ins may use overlapping type codes; to identify the package 2362 * to which a given object belongs, call the 2363 * <code>{@link SBase#getPackageName()} 2364 * </code> 2365 * method on the object. 2366 <p> 2367 * @return the SBML type code for this object: 2368 * {@link libsbmlConstants#SBML_RENDER_DEFAULTS SBML_RENDER_DEFAULTS}. 2369 <p> 2370 * <p> 2371 * @warning <span class='warning'>The specific integer values of the possible 2372 * type codes may be reused by different libSBML plug-ins for SBML Level 3. 2373 * packages, To fully identify the correct code, <strong>it is necessary to 2374 * invoke both getTypeCode() and getPackageName()</strong>.</span> 2375 <p> 2376 * @see #getElementName() 2377 * @see #getPackageName() 2378 */ public 2379 int getTypeCode() { 2380 return libsbmlJNI.DefaultValues_getTypeCode(swigCPtr, this); 2381 } 2382 2383 2384/** 2385 * Predicate returning <code>true</code> if all the required attributes for this 2386 * {@link DefaultValues} object have been set. 2387 <p> 2388 * @return <code>true</code> to indicate that all the required attributes of this 2389 * {@link DefaultValues} have been set, otherwise <code>false</code> is returned. 2390 */ public 2391 boolean hasRequiredAttributes() { 2392 return libsbmlJNI.DefaultValues_hasRequiredAttributes(swigCPtr, this); 2393 } 2394 2395 2396/** * @internal */ public 2397 void enablePackageInternal(String pkgURI, String pkgPrefix, boolean flag) { 2398 libsbmlJNI.DefaultValues_enablePackageInternal(swigCPtr, this, pkgURI, pkgPrefix, flag); 2399 } 2400 2401}