GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — processing4/java/src/processing/mode/java/TabLine.java at main · prithq/processing4

Expand file tree

/

TabLine.java

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
55 lines (47 loc) · 1.32 KB
/

TabLine.java

Copy path

File metadata and controls

55 lines (47 loc) · 1.32 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package processing.mode.java;
/**
* Identifier of a line within a tab.
*/
public class TabLine {
private final int tab;
private final int globalLine;
private final int lineInTab;
/**
* Create a new tab line identifier.
*
* @param newTab The zero indexed tab number in which the line of code appears.
* @param newGlobalLine The line of that code within the concatenated "global" java file version
* of the sketch.
* @param newLineIntTab The line of the code within the tab.
*/
public TabLine(int newTab, int newGlobalLine, int newLineIntTab) {
tab = newTab;
globalLine = newGlobalLine;
lineInTab = newLineIntTab;
}
/**
* The tab number within the sketch in which the line of code appears.
*
* @return The tab number on which the code appears.
*/
public int getTab() {
return tab;
}
/**
* Get the location of the source as a line within the "global" concatenated java file.
*
* @return Line within the concatenated java file version of this sketch.
*/
public int getGlobalLine() {
return globalLine;
}
/**
* Get the location of the source within the tab.
*
* @return The "local" line for the source or, in other words, the line number within the tab
* housing the code.
*/
public int getLineInTab() {
return lineInTab;
}
}
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.