MCPcopy Create free account

hub / github.com/FidoCadJ/FidoCadJ / functions

Functions2,295 in github.com/FidoCadJ/FidoCadJ

↓ 367 callersMethodgetString
Get the string associated to the given key in the resource bundle. @param s the key to retrieve the string resource. @return the messa
src/fidocadj/globals/AccessResources.java:57
↓ 291 callersMethodequals
Inherit the behavior of compareTo.
src/fidocadj/macropicker/model/MacroTreeModel.java:720
↓ 278 callersMethodget
Gets a setting from the manager. If the setting is not found, returns null. @param key the key identifying the setting. @return the v
src/fidocadj/globals/SettingsManager.java:94
↓ 149 callersMethodput
Stores a setting in the manager and Preferences store as a String. This method overloads the set method to allow storing settings as strings.
src/fidocadj/globals/SettingsManager.java:126
↓ 123 callersMethodcreateConst
Set up the constraints for the GridLayout manager @param gridx the x position in the grid @param gridy the y position in the grid
src/fidocadj/dialogs/controls/DialogUtil.java:170
↓ 121 callersMethodaddActionListener
Adds an ActionListener to the editor. @param l the ActionListener to be added.
src/fidocadj/dialogs/controls/LayerComboBoxEditor.java:232
↓ 84 callersMethodroundTo
Round the specified number to the specified number of decimal digits. @param n the number to be represented. @param ch the number of decimal digits t
src/fidocadj/globals/Globals.java:462
↓ 84 callersMethodtoString
Return string for label. @return the text label.
src/fidocadj/macropicker/model/MacroTreeNode.java:45
↓ 82 callersMethodsetEnabled
Enables or disables the three radio buttons, so the selector as a whole can be greyed out when its value is not going to be used (e.g. when
src/fidocadj/dialogs/controls/PadSelector.java:121
↓ 78 callersMethodgc
(int code, String value)
src/fidocadj/export/ExportDXF.java:801
↓ 78 callersMethodgetText
Get the FidoCadJ text file. @param extensions specify if FCJ extensions should be used @return the sketch in the text FidoCadJ format
src/fidocadj/circuit/controllers/ParserActions.java:162
↓ 76 callersMethodcoordToPCB
(int coord)
src/fidocadj/export/ExportPCBRND.java:1331
↓ 72 callersMethodisSelected
Get the selection state of the primitive. @return true if the primitive is selected, false otherwise.
src/fidocadj/primitives/GraphicPrimitive.java:714
↓ 68 callersMethodgetWidth
Get the natural width of the image, in pixels. @return the width in pixels.
src/fidocadj/graphic/ImageInterface.java:35
↓ 65 callersMethodgetHeight
Get the natural height of the image, in pixels. @return the height in pixels.
src/fidocadj/graphic/ImageInterface.java:40
↓ 65 callersMethodsetVisible
This method allows to set the layer visibility. @param v the layer visibility.
src/fidocadj/layers/LayerDesc.java:153
↓ 64 callersMethodmapX
Map the xc,yc coordinate given in the X pixel coordinate. The tracking is active. @param xc the horizontal coordinate in the drawing c
src/fidocadj/geom/MapCoordinates.java:406
↓ 64 callersMethodmapY
Map the xc,yc coordinate given in the Y pixel coordinate. The tracking is active. @param xc the horizontal coordinate in the drawing c
src/fidocadj/geom/MapCoordinates.java:500
↓ 63 callersMethodgetCircuitPanel
Get the current CircuitPanel object. @return the current CircuitPanel object.
src/fidocadj/FidoFrame.java:988
↓ 62 callersMethodgetPrimitiveVector
Obtains a vector containing all elements. @return the vector containing all graphical objects.
src/fidocadj/circuit/model/DrawingModel.java:364
↓ 62 callersMethodsetSelected
Set the primitive as selected. @param s the new state.
src/fidocadj/primitives/GraphicPrimitive.java:706
↓ 61 callersMethodcLe
(double l)
src/fidocadj/export/ExportSVG.java:112
↓ 61 callersMethodsetColor
Set the current color. @param c the current color.
src/fidocadj/graphic/GraphicsInterface.java:53
↓ 58 callersMethodcLe
double to integer conversion. In some cases, some processing might be applied. @param double l the value to convert.
src/fidocadj/export/ExportFidoCad.java:105
↓ 58 callersMethodcontains
Check if a given point is contained inside the polygon. @param x the x coordinate of the point to be checked. @param y the y coordinat
src/fidocadj/graphic/PolygonInterface.java:57
↓ 57 callersMethodgetXMagnitude
Get the X magnification factor @return the X magnification factor
src/fidocadj/geom/MapCoordinates.java:242
↓ 53 callersMethodunmapXsnap
Un Map the X screen coordinate given in the drawing coordinate. If the snapping is active, it is applied here. @param x the horizontal
src/fidocadj/geom/MapCoordinates.java:613
↓ 51 callersMethodgetDrawingModel
Get the current drawing model. @return the drawing model.
src/fidocadj/circuit/CircuitPanel.java:852
↓ 51 callersMethodgetMapCoordinates
Get the current coordinate mapping. @return the current coordinate mapping.
src/fidocadj/circuit/CircuitPanel.java:1245
↓ 46 callersMethodroundIntelligently
Check wether we are very close to an integer value. In this case, the output will be done as an integer. This improves backward compat
src/fidocadj/primitives/GraphicPrimitive.java:1187
↓ 45 callersMethodconvertToHex2
Just be sure that the HEX values are given with two digits... NOT a speed sensitive context.
src/fidocadj/export/ExportSVG.java:767
↓ 45 callersMethodeen
Export a number: truncate it to four decimals
src/fidocadj/export/ExportEagle.java:532
↓ 45 callersMethodunmapYsnap
Un Map the Y screen coordinate given in the drawing coordinate. If the snapping is active, it is applied here. @param y the horizontal
src/fidocadj/geom/MapCoordinates.java:630
↓ 44 callersMethodclose
Close the current polygon.
OSes/android/fidocadj/src/net/sourceforge/fidocadj/graphic/nil/PolygonNull.java:52
↓ 44 callersMethodgetColor
Get the current color. @return the current color.
src/fidocadj/graphic/GraphicsInterface.java:36
↓ 44 callersMethodsToInt
(String val)
src/fidocadj/export/ExportPCBRND.java:687
↓ 41 callersMethodgetLayer
Get the layer of the current primitive. @return the layer number.
src/fidocadj/primitives/GraphicPrimitive.java:722
↓ 36 callersMethodbuild
Build the menu item with all specified properties. @return the constructed JMenuItem
src/fidocadj/MenuTools.java:1482
↓ 36 callersMethodcreateMenuItem
Factory method to create a menu item builder. @param textKey the resource key for the menu item text @param iconName the icon filename (without path)
src/fidocadj/MenuTools.java:1505
↓ 36 callersMethodgetUndoActions
Get the current instance of UndoActions controller class @return the class
src/fidocadj/circuit/CircuitPanel.java:922
↓ 35 callersMethodaddPopupToText
Adds the TextPopupMenu to a specified JTextComponent. @param textComponent the JTextComponent to which the popup menu will be added
src/fidocadj/dialogs/controls/TextPopupMenu.java:109
↓ 34 callersMethodgetColor
This method allows to obtain the color in which this layer should be drawn. @return the color to be used
src/fidocadj/layers/LayerDesc.java:88
↓ 34 callersMethodsaveUndoState
Save the current undo state.
src/fidocadj/undo/UndoActorListener.java:32
↓ 33 callersMethodgetLayers
Get the layer description vector @return a vector of LayerDesc describing layers.
src/fidocadj/circuit/model/DrawingModel.java:111
↓ 33 callersMethodloadIcon
Load an icon from resources and colorize it with the menu text color from the current FlatLaf theme. @param resourcePath the path to the icon resourc
src/fidocadj/globals/Globals.java:137
↓ 32 callersMethoddrawLine
Draw a segment between two points @param x1 first coordinate x value @param y1 first coordinate y value @param x2 second coord
src/fidocadj/graphic/GraphicsInterface.java:120
↓ 30 callersMethodgetName
Get the name of the library. @return the library name.
src/fidocadj/librarymodel/Library.java:49
↓ 30 callersMethodmapXi
Map the xc,yc coordinate given in the X pixel coordinate. @param xc the horizontal coordinate in the drawing coordinate system. @param
src/fidocadj/geom/MapCoordinates.java:417
↓ 29 callersMethodgetX
Returns the x-coordinate of the upper-left corner of the rectangle. @return the x-coordinate of the rectangle
src/fidocadj/graphic/RectangleG.java:63
↓ 29 callersMethodgetY
Returns the y-coordinate of the upper-left corner of the rectangle. @return the y-coordinate of the rectangle
src/fidocadj/graphic/RectangleG.java:73
↓ 28 callersMethodgetParserActions
Get the current instance of ParserActions controller class @return the class
src/fidocadj/circuit/CircuitPanel.java:913
↓ 28 callersMethodisVisible
This method returns true if this layer should be traced @return a boolean value indicating if the layer should be drawn
src/fidocadj/layers/LayerDesc.java:106
↓ 28 callersMethodtrackPoint
Add a point in the min/max tracking system. The point should be specified in the SCREEN coordinates. @param xp the X coordinate of the
src/fidocadj/geom/MapCoordinates.java:571
↓ 26 callersMethodeval
evaluate cubic
src/fidocadj/primitives/PrimitiveComplexCurve.java:1287
↓ 25 callersMethodfillRect
Fill a rectangle on the current graphic context. @param x the x coordinate of the uppermost left corner @param y the y coordinate of t
src/fidocadj/graphic/GraphicsInterface.java:81
↓ 24 callersMethodgetTextFont
Get the font of all macros. @return the font name
src/fidocadj/circuit/model/DrawingModel.java:216
↓ 24 callersMethodmapXr
Map the txc,tyc coordinate given in the X pixel coordinate. The results are given as double precision. Tracking is not active. @param
src/fidocadj/geom/MapCoordinates.java:440
↓ 23 callersMethodgetBlue
Get the blue component of the color. @return the component.
src/fidocadj/graphic/ColorInterface.java:72
↓ 23 callersMethodgetGreen
Get the green component of the color. @return the component.
src/fidocadj/graphic/ColorInterface.java:62
↓ 23 callersMethodgetRed
Get the red component of the color. @return the component.
src/fidocadj/graphic/ColorInterface.java:67
↓ 23 callersMethodgetTextFontSize
Get the size of the font used for all macros. @return the font name
src/fidocadj/circuit/model/DrawingModel.java:224
↓ 22 callersMethodaddPrimitive
Add a graphic primitive. @param p the primitive to be added. @param sort if true, sort the primitive layers @param ua if diffe
src/fidocadj/circuit/model/DrawingModel.java:166
↓ 22 callersMethodgetPosition
Get the minimum x and y values of all control points of the element. @return the minimum x and y coordinates.
src/fidocadj/primitives/GraphicPrimitive.java:1155
↓ 22 callersMethodinitPrimitive
Prepare the array of points for storing the different virtual points needed by the primitive. This method also prepares the name and value
src/fidocadj/primitives/GraphicPrimitive.java:179
↓ 22 callersMethodmapYi
Map the xc,yc coordinate given in the Y pixel coordinate. @param xc the horizontal coordinate in the drawing coordinate system. @param
src/fidocadj/geom/MapCoordinates.java:511
↓ 22 callersMethodwithShortcut
Set a keyboard shortcut for this menu item. @param key the key code @param modifiers the modifier keys @return this builder for method chaining
src/fidocadj/MenuTools.java:1459
↓ 21 callersMethodgetFirstSelectedPrimitive
Get the first selected primitive @return the selected primitive, null if none.
src/fidocadj/circuit/controllers/SelectionActions.java:52
↓ 21 callersMethodgetParserActions
Get the ParserActions controller for the drawing. @return the ParserActions object.
OSes/android/fidocadj/src/net/sourceforge/fidocadj/FidoEditor.java:274
↓ 21 callersMethodsetSelectedIndex
Sets the selected radio button based on the given index. @param index The index of the button to select (0 for the first, 1 for the second,
src/fidocadj/dialogs/controls/PadSelector.java:103
↓ 20 callersMethodgetString
Get the message associated to the provided key. @param s the key to be retrieved. @return the message associated to the key.
OSes/android/fidocadj/src/net/sourceforge/fidocadj/globals/AccessResources.java:52
↓ 20 callersMethodsetSelectionState
The callback method which is called when the current selection state has changed. @param s the actual selection state (see the Circuit
src/fidocadj/toolbars/ChangeSelectionListener.java:39
↓ 19 callersMethodloadLibraryInJar
Read all librairies contained in the given URL at the given prefix. This is particularly useful to read librairies shipped in a jar fi
src/fidocadj/circuit/controllers/ParserActions.java:862
↓ 19 callersMethodsetChanged
Set the change state of the class. Changed just means that we want to recalculate everything in deep during the following redraw. Thi
src/fidocadj/circuit/model/DrawingModel.java:356
↓ 19 callersMethodwriteElements
(List<String> elements)
src/fidocadj/export/ExportPCBRND.java:1420
↓ 18 callersMethodgetArrowLength
Get the current arrow length. @return the arrow length.
src/fidocadj/primitives/Arrow.java:169
↓ 18 callersMethodgetSelectedIndex
Returns the index of the currently selected radio button. @return The index of the selected button (0 for the first, 1 for the second, 2 fo
src/fidocadj/dialogs/controls/PadSelector.java:135
↓ 18 callersMethodgetYMagnitude
Get the Y magnification factor @return the Y magnification factor
src/fidocadj/geom/MapCoordinates.java:250
↓ 17 callersMethodgetBoolean
Gets a boolean setting from the manager or Preferences store. @param key the key identifying the setting. @param defaultValue default value
src/fidocadj/globals/SettingsManager.java:177
↓ 17 callersMethodgetDouble
Gets a double setting from the manager or Preferences store. @param key the key identifying the setting. @param defaultValue default value
src/fidocadj/globals/SettingsManager.java:159
↓ 17 callersMethodgetSize
Get the size of the current element. @return the size.
src/fidocadj/primitives/GraphicPrimitive.java:1128
↓ 17 callersMethodgetText
Convert the current drawing to a string description (FidoCadJ code). @return the code describing the circuit.
OSes/android/fidocadj/src/net/sourceforge/fidocadj/FidoEditor.java:234
↓ 17 callersMethodparseString
Parse the circuit contained in the StringBuffer specified. This function resets the primitive database and then parses the circuit. @
src/fidocadj/circuit/controllers/ParserActions.java:83
↓ 17 callersMethodpointToSegment
Calculate the euclidean distance between a point and a segment. Adapted from http://www.vb-helper.com/howto_distance_point_to_line.html
src/fidocadj/geom/GeometricDistances.java:128
↓ 17 callersMethodsetFont
Set the current font for drawing text. @param name the name of the typeface to be used. @param size the size in pixels
src/fidocadj/graphic/GraphicsInterface.java:129
↓ 17 callersMethodsetSelectionAll
Select/deselect all primitives. When selecting, primitives lying on a locked layer are skipped (deselecting always applies to everythi
src/fidocadj/circuit/controllers/SelectionActions.java:93
↓ 17 callersMethodunmapXnosnap
Un Map the X screen coordinate given in the drawing coordinate. If the snapping is active, it is NOT applied here. @param x the horizo
src/fidocadj/geom/MapCoordinates.java:593
↓ 16 callersMethodaddLeadZeros
(long n)
src/fidocadj/export/ExportPDF.java:1419
↓ 16 callersMethodgetAlpha
This method allows to obtain the alpha channel of the current layer. @return the alpha blend
src/fidocadj/layers/LayerDesc.java:97
↓ 16 callersMethodgetNameVirtualPointNumber
Get the number of the virtual point associated to the Name property @return the number of the virtual point associated to the Name property
src/fidocadj/primitives/GraphicPrimitive.java:1117
↓ 16 callersMethodgetNpoints
Get the current number of points in the polygon. @return the number of points.
src/fidocadj/graphic/PolygonInterface.java:36
↓ 16 callersMethodgetValueVirtualPointNumber
Get the number of the virtual point associated to the Value property. @return the number of the virtual point associated to the Value
src/fidocadj/primitives/GraphicPrimitive.java:1123
↓ 16 callersMethodhitClip
Check whether the rectangle specified falls in a region which need to be updated because it is "dirty" on the screen. Implementing cor
src/fidocadj/graphic/GraphicsInterface.java:109
↓ 16 callersMethodmapYr
Map the xc,yc coordinate given in the Y pixel coordinate. The results are given as double precision. Tracking is not active. @param tx
src/fidocadj/geom/MapCoordinates.java:534
↓ 15 callersMethodgetColorSwing
Get the Swing color. @return the Swing color.
src/fidocadj/graphic/swing/ColorSwing.java:55
↓ 15 callersMethodgetEditorActions
Get the current instance of EditorActions controller class @return the class
src/fidocadj/circuit/CircuitPanel.java:895
↓ 15 callersMethodgetXGridStep
Get the X grid step @return the X grid step used
src/fidocadj/geom/MapCoordinates.java:226
↓ 15 callersMethodisEmpty
Returns true if there is no drawing in memory @return true if the drawing is empty.
src/fidocadj/circuit/model/DrawingModel.java:334
↓ 14 callersMethodgetFileTools
Get the FileTools object (containing the code related to interface for loading and saving drawings). @return the FileTools object.
src/fidocadj/FidoFrame.java:362
↓ 14 callersMethodgetFirstPoint
Get the first control point of the primitive @return the coordinates of the first control point of the object.
src/fidocadj/primitives/GraphicPrimitive.java:592
↓ 14 callersMethodgetLayer
()
src/fidocadj/dialogs/controls/LayerInfo.java:37
next →1–100 of 2,295, ranked by callers