JGraph X 1.4.1.0


com.mxgraph.io.vdx
Class mxVdxShapeForm

java.lang.Object
  extended by com.mxgraph.io.vdx.mxVdxShapeForm

public class mxVdxShapeForm
extends Object

This class determines the form of a shape to be applied in the property style-shape.


Constructor Summary
mxVdxShapeForm(mxVdxShape shape, mxMasterShape masterShape, mxMasterElement masterElement, double parentHeight)
          Create a new instance of mxVdxShapeForm.
 
Method Summary
 String getAproxForm()
          Returns the constant that represents the Shape using the lines of the Shape.
 String getDirection(String form)
          Returns the direction of the shape.
 String getForm()
          Returns the constant that represents the Shape.
 String getPerimeter(String form)
          Returns the name of the function for calculate the perimeter.
 boolean isActor()
           
 boolean isAND()
          Checks if a shape may to be imported like an AND.
 boolean isBuff()
          Checks if a shape may to be imported like a Buff.
 boolean isCard()
          Checks if a shape may to be imported like a Card.
 boolean isCeiling_fan()
           
 boolean isCloud()
          Checks if a shape may to be imported like a cloud.
 boolean isCollate()
          Checks if a shape may to be imported like a Collate.
 boolean isComponent()
           
 boolean isConcentricity()
           
 boolean isCylinder()
          Checks if a shape may to be imported like a cylinder.
 boolean isData()
          Checks if a shape may to be imported like a Data.
 boolean isDivided_process()
          Checks if a shape may to be imported like a Divided process.
 boolean isDocument_file()
           
 boolean isDocument()
          Checks if a shape may to be imported like a Document.
 boolean isDouble_Delta()
           
 boolean isDoubleEllipse()
          Checks if a shape may to be imported like a double ellipse.
 boolean isEastDirection()
          Checks if a shape has east direction by default.
 boolean isEllipse()
          Checks if a shape may to be imported like a ellipse.
 boolean isExternal_organization()
          Checks if a shape may to be imported like an External organization.
 boolean isExternal_process()
          Checks if a shape may to be imported like an External process.
 boolean isHexagon()
          Checks if a shape may to be imported like an Hexagon.
 boolean isInternalstorage()
          Checks if a shape may to be imported like a Internalstorage.
 boolean isInverter()
          Checks if a shape may to be imported like an Inverter.
 boolean isLined_document()
          Checks if a shape may to be imported like a Lined document.
 boolean isLined_Shaded_process()
          Checks if a shape may to be imported like a Lined shaded process.
 boolean isMagnetictape()
          Checks if a shape may to be imported like a Magnetictape.
 boolean isMain_control()
           
 boolean isManualinput()
          Checks if a shape may to be imported like a Manualinput.
 boolean isMicroform()
          Checks if a shape may to be imported like a Microform.
 boolean isMUX()
          Checks if a shape may to be imported like a MUX.
 boolean isNode()
           
 boolean isNote()
           
 boolean isOff_line_storage()
          Checks if a shape may to be imported like an Off line storage .
 boolean isOff_page_reference()
          Checks if a shape may to be imported like an Off page reference.
 boolean isOperation_inspection()
          Checks if a shape may to be imported like an Operation inspection.
 boolean isOr()
          Checks if a shape may to be imported like an OR.
 boolean isOR()
          Checks if a shape may to be imported like a OR.
 boolean isPapertape()
          Checks if a shape may to be imported like a Papertape.
 boolean isParallel_mode()
          Checks if a shape may to be imported like a Parallel mode.
 boolean isPLC()
           
 boolean isPredefinedprocess()
          Checks if a shape may to be imported like a Predefined process.
 boolean isPump()
           
 boolean isRectangle()
          Checks if a shape may to be imported like a rectangle.
 boolean isResistance_seam()
           
 boolean isReturn()
          Checks if a shape may to be imported like a Return.
 boolean isRhombus()
          Checks if a shape may to be imported like a Rhombus.
 boolean isRhombusAprox()
          Checks if a shape may to be imported like a Rhombus.
This method is approximated.
 boolean isRounded()
          Checks if a shape may to be imported like a Rounded.
 boolean isScreening_device()
           
 boolean isSecurity_booth()
           
 boolean isSemicircle()
           
 boolean isSimpleComplex()
          Checks if a shape is Complex but may to be imported like a simple shape.
 boolean isSort()
          Checks if a shape may to be imported like a Sort.
 boolean isSouthDirection()
          Checks if a shape has south direction by default.
 boolean isStoreddata()
          Checks if a shape may to be imported like a Storeddata.
 boolean isSubproces()
          Checks if a shape may to be imported like a Subproces.
 boolean isSwimlane()
          Checks if a shape may to be imported like a Swimlane.
 boolean isSystem_database()
          Checks if a shape may to be imported like a System database.
 boolean isSystem_function()
          Checks if a shape may to be imported like a System function.
 boolean isTransportation()
          Checks if a shape may to be imported like a Transportation.
 boolean isTriangle()
          Checks if a shape may to be imported like a Triangle.
 boolean isWeight_device()
           
 boolean isXOR()
          Checks if a shape may to be imported like a XOR.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

mxVdxShapeForm

public mxVdxShapeForm(mxVdxShape shape,
                      mxMasterShape masterShape,
                      mxMasterElement masterElement,
                      double parentHeight)
Create a new instance of mxVdxShapeForm.

Parameters:
shape - Shape wrapped, to which the shape will be determinate.
masterShape - Master shape of the shape.
masterElement - Master element of the shape.
parentHeight - Height of the parent cell of the shape.
Method Detail

getForm

public String getForm()
Returns the constant that represents the Shape.

Returns:
String that represent the form.

isRectangle

public boolean isRectangle()
Checks if a shape may to be imported like a rectangle.

Returns:
Returns true if a shape may to be imported like a rectangle.

isEastDirection

public boolean isEastDirection()
Checks if a shape has east direction by default.

Returns:
Returns true if a shape has east direction by default.

isDoubleEllipse

public boolean isDoubleEllipse()
Checks if a shape may to be imported like a double ellipse.

Returns:
Returns true if a shape may to be imported like a double ellipse.

isEllipse

public boolean isEllipse()
Checks if a shape may to be imported like a ellipse.

Returns:
Returns true if a shape may to be imported like a ellipse.

isCloud

public boolean isCloud()
Checks if a shape may to be imported like a cloud.

Returns:
Returns true if a shape may to be imported like a cloud.

isCylinder

public boolean isCylinder()
Checks if a shape may to be imported like a cylinder.

Returns:
Returns true if a shape may to be imported like a cylinder.

isAND

public boolean isAND()
Checks if a shape may to be imported like an AND.

Returns:
Returns true if a shape may to be imported like an AND.

isOR

public boolean isOR()
Checks if a shape may to be imported like a OR.

Returns:
Returns true if a shape may to be imported like a OR.

isMUX

public boolean isMUX()
Checks if a shape may to be imported like a MUX.

Returns:
Returns true if a shape may to be imported like a MUX.

isInverter

public boolean isInverter()
Checks if a shape may to be imported like an Inverter.

Returns:
Returns true if a shape may to be imported like an Inverter.

isCeiling_fan

public boolean isCeiling_fan()

isWeight_device

public boolean isWeight_device()

isPLC

public boolean isPLC()

isDouble_Delta

public boolean isDouble_Delta()

isPump

public boolean isPump()

isComponent

public boolean isComponent()

isScreening_device

public boolean isScreening_device()

isMain_control

public boolean isMain_control()

isConcentricity

public boolean isConcentricity()

isSecurity_booth

public boolean isSecurity_booth()

isSemicircle

public boolean isSemicircle()

isResistance_seam

public boolean isResistance_seam()

isNote

public boolean isNote()

isActor

public boolean isActor()

isNode

public boolean isNode()

isOff_page_reference

public boolean isOff_page_reference()
Checks if a shape may to be imported like an Off page reference.

Returns:
Returns true if a shape may to be imported like an Off page reference.

isDivided_process

public boolean isDivided_process()
Checks if a shape may to be imported like a Divided process.

Returns:
Returns true if a shape may to be imported like a Divided process.

isExternal_organization

public boolean isExternal_organization()
Checks if a shape may to be imported like an External organization.

Returns:
Returns true if a shape may to be imported like an External organization .

isExternal_process

public boolean isExternal_process()
Checks if a shape may to be imported like an External process.

Returns:
Returns true if a shape may to be imported like an External process.

isCollate

public boolean isCollate()
Checks if a shape may to be imported like a Collate.

Returns:
Returns true if a shape may to be imported like a Collate.

isSystem_function

public boolean isSystem_function()
Checks if a shape may to be imported like a System function.

Returns:
Returns true if a shape may to be imported like a System function.

isOr

public boolean isOr()
Checks if a shape may to be imported like an OR.

Returns:
Returns true if a shape may to be imported like an OR.

isOperation_inspection

public boolean isOperation_inspection()
Checks if a shape may to be imported like an Operation inspection.

Returns:
Returns true if a shape may to be imported like an Operation inspection.

isReturn

public boolean isReturn()
Checks if a shape may to be imported like a Return.

Returns:
Returns true if a shape may to be imported like a Return.

isPredefinedprocess

public boolean isPredefinedprocess()
Checks if a shape may to be imported like a Predefined process.

Returns:
Returns true if a shape may to be imported like a Predefined process.

isDocument

public boolean isDocument()
Checks if a shape may to be imported like a Document.

Returns:
Returns true if a shape may to be imported like a Document.

isDocument_file

public boolean isDocument_file()

isSystem_database

public boolean isSystem_database()
Checks if a shape may to be imported like a System database.

Returns:
Returns true if a shape may to be imported like a System database.

isOff_line_storage

public boolean isOff_line_storage()
Checks if a shape may to be imported like an Off line storage .

Returns:
Returns true if a shape may to be imported like an Off line storage.

isManualinput

public boolean isManualinput()
Checks if a shape may to be imported like a Manualinput.

Returns:
Returns true if a shape may to be imported like a Manualinput.

isCard

public boolean isCard()
Checks if a shape may to be imported like a Card.

Returns:
Returns true if a shape may to be imported like a Card.

isMicroform

public boolean isMicroform()
Checks if a shape may to be imported like a Microform.

Returns:
Returns true if a shape may to be imported like a Microform.

isMagnetictape

public boolean isMagnetictape()
Checks if a shape may to be imported like a Magnetictape.

Returns:
Returns true if a shape may to be imported like a Magnetictape.

isData

public boolean isData()
Checks if a shape may to be imported like a Data.

Returns:
Returns true if a shape may to be imported like a Data.

isLined_document

public boolean isLined_document()
Checks if a shape may to be imported like a Lined document.

Returns:
Returns true if a shape may to be imported like a Lined document.

isTransportation

public boolean isTransportation()
Checks if a shape may to be imported like a Transportation.

Returns:
Returns true if a shape may to be imported like a Transportation.

isParallel_mode

public boolean isParallel_mode()
Checks if a shape may to be imported like a Parallel mode.

Returns:
Returns true if a shape may to be imported like a Parallel mode.

isLined_Shaded_process

public boolean isLined_Shaded_process()
Checks if a shape may to be imported like a Lined shaded process.

Returns:
Returns true if a shape may to be imported like a Lined shaded process.

isXOR

public boolean isXOR()
Checks if a shape may to be imported like a XOR.

Returns:
Returns true if a shape may to be imported like a XOR.

isBuff

public boolean isBuff()
Checks if a shape may to be imported like a Buff.

Returns:
Returns true if a shape may to be imported like a Buff.

isSort

public boolean isSort()
Checks if a shape may to be imported like a Sort.

Returns:
Returns true if a shape may to be imported like a Sort.

isPapertape

public boolean isPapertape()
Checks if a shape may to be imported like a Papertape.

Returns:
Returns true if a shape may to be imported like a Papertape.

isInternalstorage

public boolean isInternalstorage()
Checks if a shape may to be imported like a Internalstorage.

Returns:
Returns true if a shape may to be imported like a Internalstorage.

isStoreddata

public boolean isStoreddata()
Checks if a shape may to be imported like a Storeddata.

Returns:
Returns true if a shape may to be imported like a Storeddata.

isSouthDirection

public boolean isSouthDirection()
Checks if a shape has south direction by default.

Returns:
Returns true if a shape has south direction by default.

isRounded

public boolean isRounded()
Checks if a shape may to be imported like a Rounded.

Returns:
Returns true if a shape may to be imported like a Rounded.

isTriangle

public boolean isTriangle()
Checks if a shape may to be imported like a Triangle.

Returns:
Returns true if a shape may to be imported like a Triangle.

isHexagon

public boolean isHexagon()
Checks if a shape may to be imported like an Hexagon.

Returns:
Returns true if a shape may to be imported like an Hexagon.

isRhombus

public boolean isRhombus()
Checks if a shape may to be imported like a Rhombus.

Returns:
Returns true if a shape may to be imported like a Rhombus.

isSimpleComplex

public boolean isSimpleComplex()
Checks if a shape is Complex but may to be imported like a simple shape.

Returns:
Returns true if a shape is Complex but may to be imported like a simple shape.

getAproxForm

public String getAproxForm()
Returns the constant that represents the Shape using the lines of the Shape.

Returns:
String representation of the shape.

getPerimeter

public String getPerimeter(String form)
Returns the name of the function for calculate the perimeter.

Parameters:
form - Form of the shape.
Returns:
Perimeter function.

getDirection

public String getDirection(String form)
Returns the direction of the shape.

Parameters:
form - Form of the shape.
Returns:
Direction(south, north, east and south)

isRhombusAprox

public boolean isRhombusAprox()
Checks if a shape may to be imported like a Rhombus.
This method is approximated.

Returns:
Returns true if a shape may to be imported like a Rhombus.

isSwimlane

public boolean isSwimlane()
Checks if a shape may to be imported like a Swimlane. This method is approximated.

Returns:
Returns true if a shape may to be imported like a Swimlane.

isSubproces

public boolean isSubproces()
Checks if a shape may to be imported like a Subproces. This method is approximated.

Returns:
Returns true if a shape may to be imported like a Subproces.

JGraph X 1.4.1.0


Copyright (c) 2010 Gaudenz Alder. All rights reserved.