Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FidoCadJ/FidoCadJ
/ functions
Functions
2,295 in github.com/FidoCadJ/FidoCadJ
⨍
Functions
2,295
◇
Types & classes
239
↓ 367 callers
Method
getString
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 callers
Method
equals
Inherit the behavior of compareTo.
src/fidocadj/macropicker/model/MacroTreeModel.java:720
↓ 278 callers
Method
get
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 callers
Method
put
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 callers
Method
createConst
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 callers
Method
addActionListener
Adds an ActionListener to the editor. @param l the ActionListener to be added.
src/fidocadj/dialogs/controls/LayerComboBoxEditor.java:232
↓ 84 callers
Method
roundTo
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 callers
Method
toString
Return string for label. @return the text label.
src/fidocadj/macropicker/model/MacroTreeNode.java:45
↓ 82 callers
Method
setEnabled
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 callers
Method
gc
(int code, String value)
src/fidocadj/export/ExportDXF.java:801
↓ 78 callers
Method
getText
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 callers
Method
coordToPCB
(int coord)
src/fidocadj/export/ExportPCBRND.java:1331
↓ 72 callers
Method
isSelected
Get the selection state of the primitive. @return true if the primitive is selected, false otherwise.
src/fidocadj/primitives/GraphicPrimitive.java:714
↓ 68 callers
Method
getWidth
Get the natural width of the image, in pixels. @return the width in pixels.
src/fidocadj/graphic/ImageInterface.java:35
↓ 65 callers
Method
getHeight
Get the natural height of the image, in pixels. @return the height in pixels.
src/fidocadj/graphic/ImageInterface.java:40
↓ 65 callers
Method
setVisible
This method allows to set the layer visibility. @param v the layer visibility.
src/fidocadj/layers/LayerDesc.java:153
↓ 64 callers
Method
mapX
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 callers
Method
mapY
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 callers
Method
getCircuitPanel
Get the current CircuitPanel object. @return the current CircuitPanel object.
src/fidocadj/FidoFrame.java:988
↓ 62 callers
Method
getPrimitiveVector
Obtains a vector containing all elements. @return the vector containing all graphical objects.
src/fidocadj/circuit/model/DrawingModel.java:364
↓ 62 callers
Method
setSelected
Set the primitive as selected. @param s the new state.
src/fidocadj/primitives/GraphicPrimitive.java:706
↓ 61 callers
Method
cLe
(double l)
src/fidocadj/export/ExportSVG.java:112
↓ 61 callers
Method
setColor
Set the current color. @param c the current color.
src/fidocadj/graphic/GraphicsInterface.java:53
↓ 58 callers
Method
cLe
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 callers
Method
contains
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 callers
Method
getXMagnitude
Get the X magnification factor @return the X magnification factor
src/fidocadj/geom/MapCoordinates.java:242
↓ 53 callers
Method
unmapXsnap
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 callers
Method
getDrawingModel
Get the current drawing model. @return the drawing model.
src/fidocadj/circuit/CircuitPanel.java:852
↓ 51 callers
Method
getMapCoordinates
Get the current coordinate mapping. @return the current coordinate mapping.
src/fidocadj/circuit/CircuitPanel.java:1245
↓ 46 callers
Method
roundIntelligently
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 callers
Method
convertToHex2
Just be sure that the HEX values are given with two digits... NOT a speed sensitive context.
src/fidocadj/export/ExportSVG.java:767
↓ 45 callers
Method
een
Export a number: truncate it to four decimals
src/fidocadj/export/ExportEagle.java:532
↓ 45 callers
Method
unmapYsnap
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 callers
Method
close
Close the current polygon.
OSes/android/fidocadj/src/net/sourceforge/fidocadj/graphic/nil/PolygonNull.java:52
↓ 44 callers
Method
getColor
Get the current color. @return the current color.
src/fidocadj/graphic/GraphicsInterface.java:36
↓ 44 callers
Method
sToInt
(String val)
src/fidocadj/export/ExportPCBRND.java:687
↓ 41 callers
Method
getLayer
Get the layer of the current primitive. @return the layer number.
src/fidocadj/primitives/GraphicPrimitive.java:722
↓ 36 callers
Method
build
Build the menu item with all specified properties. @return the constructed JMenuItem
src/fidocadj/MenuTools.java:1482
↓ 36 callers
Method
createMenuItem
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 callers
Method
getUndoActions
Get the current instance of UndoActions controller class @return the class
src/fidocadj/circuit/CircuitPanel.java:922
↓ 35 callers
Method
addPopupToText
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 callers
Method
getColor
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 callers
Method
saveUndoState
Save the current undo state.
src/fidocadj/undo/UndoActorListener.java:32
↓ 33 callers
Method
getLayers
Get the layer description vector @return a vector of LayerDesc describing layers.
src/fidocadj/circuit/model/DrawingModel.java:111
↓ 33 callers
Method
loadIcon
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 callers
Method
drawLine
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 callers
Method
getName
Get the name of the library. @return the library name.
src/fidocadj/librarymodel/Library.java:49
↓ 30 callers
Method
mapXi
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 callers
Method
getX
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 callers
Method
getY
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 callers
Method
getParserActions
Get the current instance of ParserActions controller class @return the class
src/fidocadj/circuit/CircuitPanel.java:913
↓ 28 callers
Method
isVisible
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 callers
Method
trackPoint
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 callers
Method
eval
evaluate cubic
src/fidocadj/primitives/PrimitiveComplexCurve.java:1287
↓ 25 callers
Method
fillRect
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 callers
Method
getTextFont
Get the font of all macros. @return the font name
src/fidocadj/circuit/model/DrawingModel.java:216
↓ 24 callers
Method
mapXr
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 callers
Method
getBlue
Get the blue component of the color. @return the component.
src/fidocadj/graphic/ColorInterface.java:72
↓ 23 callers
Method
getGreen
Get the green component of the color. @return the component.
src/fidocadj/graphic/ColorInterface.java:62
↓ 23 callers
Method
getRed
Get the red component of the color. @return the component.
src/fidocadj/graphic/ColorInterface.java:67
↓ 23 callers
Method
getTextFontSize
Get the size of the font used for all macros. @return the font name
src/fidocadj/circuit/model/DrawingModel.java:224
↓ 22 callers
Method
addPrimitive
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 callers
Method
getPosition
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 callers
Method
initPrimitive
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 callers
Method
mapYi
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 callers
Method
withShortcut
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 callers
Method
getFirstSelectedPrimitive
Get the first selected primitive @return the selected primitive, null if none.
src/fidocadj/circuit/controllers/SelectionActions.java:52
↓ 21 callers
Method
getParserActions
Get the ParserActions controller for the drawing. @return the ParserActions object.
OSes/android/fidocadj/src/net/sourceforge/fidocadj/FidoEditor.java:274
↓ 21 callers
Method
setSelectedIndex
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 callers
Method
getString
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 callers
Method
setSelectionState
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 callers
Method
loadLibraryInJar
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 callers
Method
setChanged
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 callers
Method
writeElements
(List<String> elements)
src/fidocadj/export/ExportPCBRND.java:1420
↓ 18 callers
Method
getArrowLength
Get the current arrow length. @return the arrow length.
src/fidocadj/primitives/Arrow.java:169
↓ 18 callers
Method
getSelectedIndex
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 callers
Method
getYMagnitude
Get the Y magnification factor @return the Y magnification factor
src/fidocadj/geom/MapCoordinates.java:250
↓ 17 callers
Method
getBoolean
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 callers
Method
getDouble
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 callers
Method
getSize
Get the size of the current element. @return the size.
src/fidocadj/primitives/GraphicPrimitive.java:1128
↓ 17 callers
Method
getText
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 callers
Method
parseString
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 callers
Method
pointToSegment
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 callers
Method
setFont
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 callers
Method
setSelectionAll
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 callers
Method
unmapXnosnap
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 callers
Method
addLeadZeros
(long n)
src/fidocadj/export/ExportPDF.java:1419
↓ 16 callers
Method
getAlpha
This method allows to obtain the alpha channel of the current layer. @return the alpha blend
src/fidocadj/layers/LayerDesc.java:97
↓ 16 callers
Method
getNameVirtualPointNumber
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 callers
Method
getNpoints
Get the current number of points in the polygon. @return the number of points.
src/fidocadj/graphic/PolygonInterface.java:36
↓ 16 callers
Method
getValueVirtualPointNumber
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 callers
Method
hitClip
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 callers
Method
mapYr
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 callers
Method
getColorSwing
Get the Swing color. @return the Swing color.
src/fidocadj/graphic/swing/ColorSwing.java:55
↓ 15 callers
Method
getEditorActions
Get the current instance of EditorActions controller class @return the class
src/fidocadj/circuit/CircuitPanel.java:895
↓ 15 callers
Method
getXGridStep
Get the X grid step @return the X grid step used
src/fidocadj/geom/MapCoordinates.java:226
↓ 15 callers
Method
isEmpty
Returns true if there is no drawing in memory @return true if the drawing is empty.
src/fidocadj/circuit/model/DrawingModel.java:334
↓ 14 callers
Method
getFileTools
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 callers
Method
getFirstPoint
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 callers
Method
getLayer
()
src/fidocadj/dialogs/controls/LayerInfo.java:37
next →
1–100 of 2,295, ranked by callers