Arkistointi
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
|||||||
|
target/
|
||||||
|
!.mvn/wrapper/maven-wrapper.jar
|
||||||
|
!**/src/main/**/target/
|
||||||
|
!**/src/test/**/target/
|
||||||
|
|
||||||
|
### IntelliJ IDEA ###
|
||||||
|
.idea/modules.xml
|
||||||
|
.idea/jarRepositories.xml
|
||||||
|
.idea/compiler.xml
|
||||||
|
.idea/libraries/
|
||||||
|
*.iws
|
||||||
|
*.iml
|
||||||
|
*.ipr
|
||||||
|
|
||||||
|
### Eclipse ###
|
||||||
|
.apt_generated
|
||||||
|
.classpath
|
||||||
|
.factorypath
|
||||||
|
.project
|
||||||
|
.settings
|
||||||
|
.springBeans
|
||||||
|
.sts4-cache
|
||||||
|
|
||||||
|
### NetBeans ###
|
||||||
|
/nbproject/private/
|
||||||
|
/nbbuild/
|
||||||
|
/dist/
|
||||||
|
/nbdist/
|
||||||
|
/.nb-gradle/
|
||||||
|
build/
|
||||||
|
!**/src/main/**/build/
|
||||||
|
!**/src/test/**/build/
|
||||||
|
|
||||||
|
### VS Code ###
|
||||||
|
.vscode/
|
||||||
|
|
||||||
|
### Mac OS ###
|
||||||
|
.DS_Store
|
||||||
Vendored
BIN
Binary file not shown.
+2
@@ -0,0 +1,2 @@
|
|||||||
|
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.5/apache-maven-3.8.5-bin.zip
|
||||||
|
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>All Classes and Interfaces</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="class index">
|
||||||
|
<meta name="generator" content="javadoc/AllClassesIndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="all-classes-index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "./";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="overview-tree.html">Tree</a></li>
|
||||||
|
<li><a href="index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="search.html">Search</a></li>
|
||||||
|
<li><a href="help-doc.html#all-classes">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1 title="All Classes and Interfaces" class="title">All Classes and Interfaces</h1>
|
||||||
|
</div>
|
||||||
|
<div id="all-classes-table">
|
||||||
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="all-classes-table-tab0" role="tab" aria-selected="true" aria-controls="all-classes-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table', 2)" class="active-table-tab">All Classes and Interfaces</button><button id="all-classes-table-tab2" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab2', 2)" class="table-tab">Classes</button><button id="all-classes-table-tab3" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab3', 2)" class="table-tab">Enum Classes</button></div>
|
||||||
|
<div id="all-classes-table.tabpanel" role="tabpanel" aria-labelledby="all-classes-table-tab0">
|
||||||
|
<div class="summary-table two-column-summary">
|
||||||
|
<div class="table-header col-first">Class</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></div>
|
||||||
|
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
|
||||||
|
<div class="block">Ohjelman käyttöliittymä
|
||||||
|
Luokasta ei tarkoitus tehdä olioita</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com.example.harjoitustyo/com/example/harjoitustyo/PaivamaaraTableCell.html" title="class in com.example.harjoitustyo">PaivamaaraTableCell</a></div>
|
||||||
|
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
|
||||||
|
<div class="block">Kustomoitu TableCell, joka muokkaa sen sisältämän LocalDaten muotoon dd.MM.yyyy</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></div>
|
||||||
|
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
|
||||||
|
<div class="block">Ohjelman perustietoluokka</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color all-classes-table all-classes-table-tab3"><a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></div>
|
||||||
|
<div class="col-last odd-row-color all-classes-table all-classes-table-tab3">
|
||||||
|
<div class="block">Enum tehtävän tilan seuraamiseen</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></div>
|
||||||
|
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
|
||||||
|
<div class="block">Luokka, joka hoitaa tehtävien lukemisen ja kirjoittamisen tiedostoon</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>All Packages</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="package index">
|
||||||
|
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="all-packages-index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "./";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="overview-tree.html">Tree</a></li>
|
||||||
|
<li><a href="index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="search.html">Search</a></li>
|
||||||
|
<li><a href="help-doc.html#all-packages">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1 title="All&nbsp;Packages" class="title">All Packages</h1>
|
||||||
|
</div>
|
||||||
|
<div class="caption"><span>Package Summary</span></div>
|
||||||
|
<div class="summary-table two-column-summary">
|
||||||
|
<div class="table-header col-first">Package</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-first even-row-color"><a href="com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></div>
|
||||||
|
<div class="col-last even-row-color"> </div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,333 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>Paaikkuna</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="declaration: module: com.example.harjoitustyo, package: com.example.harjoitustyo, class: Paaikkuna">
|
||||||
|
<meta name="generator" content="javadoc/ClassWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../../../../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="class-declaration-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../../../../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../../../module-summary.html">Module</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Class</li>
|
||||||
|
<li><a href="package-tree.html">Tree</a></li>
|
||||||
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="../../../../search.html">Search</a></li>
|
||||||
|
<li><a href="../../../../help-doc.html#class">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list">
|
||||||
|
<li><a href="../../../module-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="package-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="Paaikkuna.html" class="current-selection">Paaikkuna</a></li>
|
||||||
|
</ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<nav role="navigation" class="toc" aria-label="Table of contents">
|
||||||
|
<div class="toc-header">Contents
|
||||||
|
<input type="text" class="filter-input" disabled placeholder="Filter" aria-label="Filter table of contents" autocomplete="off">
|
||||||
|
<input type="reset" class="reset-filter" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
<button class="hide-sidebar"><span>Hide sidebar </span>❮</button><button class="show-sidebar">❯<span> Show sidebar</span></button>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#" tabindex="0">Description</a></li>
|
||||||
|
<li><a href="#nested-class-summary" tabindex="0">Nested Class Summary</a></li>
|
||||||
|
<li><a href="#field-summary" tabindex="0">Field Summary</a></li>
|
||||||
|
<li><a href="#constructor-summary" tabindex="0">Constructor Summary</a></li>
|
||||||
|
<li><a href="#method-summary" tabindex="0">Method Summary</a></li>
|
||||||
|
<li><a href="#constructor-detail" tabindex="0">Constructor Details</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#%3Cinit%3E()" tabindex="0">Paaikkuna()</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
<li><a href="#method-detail" tabindex="0">Method Details</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#main(java.lang.String%5B%5D)" tabindex="0">main(String[])</a></li>
|
||||||
|
<li><a href="#paivitaTehtavanakyma()" tabindex="0">paivitaTehtavanakyma()</a></li>
|
||||||
|
<li><a href="#nollaaKentat()" tabindex="0">nollaaKentat()</a></li>
|
||||||
|
<li><a href="#nollaaHakukentat()" tabindex="0">nollaaHakukentat()</a></li>
|
||||||
|
<li><a href="#naytaTehtava()" tabindex="0">naytaTehtava()</a></li>
|
||||||
|
<li><a href="#tallennaTehtava()" tabindex="0">tallennaTehtava()</a></li>
|
||||||
|
<li><a href="#poistaTehtava()" tabindex="0">poistaTehtava()</a></li>
|
||||||
|
<li><a href="#lisaaTehtava()" tabindex="0">lisaaTehtava()</a></li>
|
||||||
|
<li><a href="#start(javafx.stage.Stage)" tabindex="0">start(Stage)</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
<main role="main">
|
||||||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||||||
|
<div class="header">
|
||||||
|
<h1 title="Class Paaikkuna" class="title">Class Paaikkuna</h1>
|
||||||
|
</div>
|
||||||
|
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
|
||||||
|
<div class="inheritance">javafx.application.Application
|
||||||
|
<div class="inheritance">com.example.harjoitustyo.Paaikkuna</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<section class="class-description" id="class-description">
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<hr>
|
||||||
|
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">Paaikkuna</span>
|
||||||
|
<span class="extends-implements">extends javafx.application.Application</span></div>
|
||||||
|
<div class="block">Ohjelman käyttöliittymä
|
||||||
|
Luokasta ei tarkoitus tehdä olioita</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="summary">
|
||||||
|
<ul class="summary-list">
|
||||||
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||||
|
<li>
|
||||||
|
<section class="nested-class-summary" id="nested-class-summary">
|
||||||
|
<h2>Nested Class Summary</h2>
|
||||||
|
<div class="inherited-list">
|
||||||
|
<h3 id="nested-classes-inherited-from-class-javafx.application.Application">Nested classes/interfaces inherited from class javafx.application.Application</h3>
|
||||||
|
<code>javafx.application.Application.Parameters</code></div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- =========== FIELD SUMMARY =========== -->
|
||||||
|
<li>
|
||||||
|
<section class="field-summary" id="field-summary">
|
||||||
|
<h2>Field Summary</h2>
|
||||||
|
<div class="inherited-list">
|
||||||
|
<h3 id="fields-inherited-from-class-javafx.application.Application">Fields inherited from class javafx.application.Application</h3>
|
||||||
|
<code>STYLESHEET_CASPIAN, STYLESHEET_MODENA</code></div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||||
|
<li>
|
||||||
|
<section class="constructor-summary" id="constructor-summary">
|
||||||
|
<h2>Constructor Summary</h2>
|
||||||
|
<div class="caption"><span>Constructors</span></div>
|
||||||
|
<div class="summary-table two-column-summary">
|
||||||
|
<div class="table-header col-first">Constructor</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">Paaikkuna</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color"> </div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||||||
|
<li>
|
||||||
|
<section class="method-summary" id="method-summary">
|
||||||
|
<h2>Method Summary</h2>
|
||||||
|
<div id="method-summary-table">
|
||||||
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
|
||||||
|
<div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0">
|
||||||
|
<div class="summary-table three-column-summary">
|
||||||
|
<div class="table-header col-first">Modifier and Type</div>
|
||||||
|
<div class="table-header col-second">Method</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#lisaaTehtava()" class="member-name-link">lisaaTehtava</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Luo ikkunan, jossa käyttäjä voi luoda uuden tehtävän</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#main(java.lang.String%5B%5D)" class="member-name-link">main</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>[] args)</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
|
||||||
|
<div class="block">Ohjelman entrypoint</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#naytaTehtava()" class="member-name-link">naytaTehtava</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Asettaa valitun tehtävän tiedot kenttiin</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#nollaaHakukentat()" class="member-name-link">nollaaHakukentat</a>()</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Nollaa yläpalkin hakukentät</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#nollaaKentat()" class="member-name-link">nollaaKentat</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Asettaa oletusarvot GUI:n tietokenttiin</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#paivitaTehtavanakyma()" class="member-name-link">paivitaTehtavanakyma</a>()</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Päivittää tvTehtavat valittujen suodatusvalintojen mukaisesti</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#poistaTehtava()" class="member-name-link">poistaTehtava</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Poistaa valitun tehtävän</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#start(javafx.stage.Stage)" class="member-name-link">start</a><wbr>(javafx.stage.Stage primaryStage)</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Piirtää ohjelman pääikkunan</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#tallennaTehtava()" class="member-name-link">tallennaTehtava</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Tallentaa kenttien tiedot valittuun tehtävään, käytetään tehtävän muutoksien tallentamiseen</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="inherited-list">
|
||||||
|
<h3 id="methods-inherited-from-class-javafx.application.Application">Methods inherited from class javafx.application.Application</h3>
|
||||||
|
<code>getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop</code></div>
|
||||||
|
<div class="inherited-list">
|
||||||
|
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
|
||||||
|
<code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="details">
|
||||||
|
<ul class="details-list">
|
||||||
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||||
|
<li>
|
||||||
|
<section class="constructor-details" id="constructor-detail">
|
||||||
|
<h2>Constructor Details</h2>
|
||||||
|
<ul class="member-list">
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="<init>()">
|
||||||
|
<h3>Paaikkuna</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="element-name">Paaikkuna</span>()</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ============ METHOD DETAIL ========== -->
|
||||||
|
<li>
|
||||||
|
<section class="method-details" id="method-detail">
|
||||||
|
<h2>Method Details</h2>
|
||||||
|
<ul class="member-list">
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="main(java.lang.String[])">
|
||||||
|
<h3>main</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name">main</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>[] args)</span></div>
|
||||||
|
<div class="block">Ohjelman entrypoint</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Parameters:</dt>
|
||||||
|
<dd><code>args</code> - komentoriviargumentit, ei käytössä</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="paivitaTehtavanakyma()">
|
||||||
|
<h3>paivitaTehtavanakyma</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">paivitaTehtavanakyma</span>()</div>
|
||||||
|
<div class="block">Päivittää tvTehtavat valittujen suodatusvalintojen mukaisesti</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="nollaaKentat()">
|
||||||
|
<h3>nollaaKentat</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">nollaaKentat</span>()</div>
|
||||||
|
<div class="block">Asettaa oletusarvot GUI:n tietokenttiin</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="nollaaHakukentat()">
|
||||||
|
<h3>nollaaHakukentat</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">nollaaHakukentat</span>()</div>
|
||||||
|
<div class="block">Nollaa yläpalkin hakukentät</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="naytaTehtava()">
|
||||||
|
<h3>naytaTehtava</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">naytaTehtava</span>()</div>
|
||||||
|
<div class="block">Asettaa valitun tehtävän tiedot kenttiin</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="tallennaTehtava()">
|
||||||
|
<h3>tallennaTehtava</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">tallennaTehtava</span>()</div>
|
||||||
|
<div class="block">Tallentaa kenttien tiedot valittuun tehtävään, käytetään tehtävän muutoksien tallentamiseen</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="poistaTehtava()">
|
||||||
|
<h3>poistaTehtava</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">poistaTehtava</span>()</div>
|
||||||
|
<div class="block">Poistaa valitun tehtävän</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="lisaaTehtava()">
|
||||||
|
<h3>lisaaTehtava</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">lisaaTehtava</span>()</div>
|
||||||
|
<div class="block">Luo ikkunan, jossa käyttäjä voi luoda uuden tehtävän</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="start(javafx.stage.Stage)">
|
||||||
|
<h3>start</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">start</span><wbr><span class="parameters">(javafx.stage.Stage primaryStage)</span></div>
|
||||||
|
<div class="block">Piirtää ohjelman pääikkunan</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Specified by:</dt>
|
||||||
|
<dd><code>start</code> in class <code>javafx.application.Application</code></dd>
|
||||||
|
<dt>Parameters:</dt>
|
||||||
|
<dd><code>primaryStage</code> - ohjelman päästage</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<!-- ========= END OF CLASS DATA ========= -->
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+271
File diff suppressed because one or more lines are too long
@@ -0,0 +1,256 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>Tehtava.Status</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="declaration: module: com.example.harjoitustyo, package: com.example.harjoitustyo, class: Tehtava, enum: Status">
|
||||||
|
<meta name="generator" content="javadoc/ClassWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../../../../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="class-declaration-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../../../../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../../../module-summary.html">Module</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Class</li>
|
||||||
|
<li><a href="package-tree.html">Tree</a></li>
|
||||||
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="../../../../search.html">Search</a></li>
|
||||||
|
<li><a href="../../../../help-doc.html#class">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list">
|
||||||
|
<li><a href="../../../module-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="package-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="Tehtava.html">Tehtava</a></li>
|
||||||
|
<li><a href="Tehtava.Status.html" class="current-selection">Status</a></li>
|
||||||
|
</ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<nav role="navigation" class="toc" aria-label="Table of contents">
|
||||||
|
<div class="toc-header">Contents
|
||||||
|
<input type="text" class="filter-input" disabled placeholder="Filter" aria-label="Filter table of contents" autocomplete="off">
|
||||||
|
<input type="reset" class="reset-filter" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
<button class="hide-sidebar"><span>Hide sidebar </span>❮</button><button class="show-sidebar">❯<span> Show sidebar</span></button>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#" tabindex="0">Description</a></li>
|
||||||
|
<li><a href="#nested-class-summary" tabindex="0">Nested Class Summary</a></li>
|
||||||
|
<li><a href="#enum-constant-summary" tabindex="0">Enum Constant Summary</a></li>
|
||||||
|
<li><a href="#method-summary" tabindex="0">Method Summary</a></li>
|
||||||
|
<li><a href="#enum-constant-detail" tabindex="0">Enum Constant Details</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#Luotu" tabindex="0">Luotu</a></li>
|
||||||
|
<li><a href="#Vaiheessa" tabindex="0">Vaiheessa</a></li>
|
||||||
|
<li><a href="#Valmis" tabindex="0">Valmis</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
<li><a href="#method-detail" tabindex="0">Method Details</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#values()" tabindex="0">values()</a></li>
|
||||||
|
<li><a href="#valueOf(java.lang.String)" tabindex="0">valueOf(String)</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
<main role="main">
|
||||||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||||||
|
<div class="header">
|
||||||
|
<h1 title="Enum Class Tehtava.Status" class="title">Enum Class Tehtava.Status</h1>
|
||||||
|
</div>
|
||||||
|
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
|
||||||
|
<div class="inheritance"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">java.lang.Enum</a><<a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a>>
|
||||||
|
<div class="inheritance">com.example.harjoitustyo.Tehtava.Status</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<section class="class-description" id="class-description">
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>All Implemented Interfaces:</dt>
|
||||||
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></code>, <code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a><<a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a>></code>, <code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/constant/Constable.html" title="class or interface in java.lang.constant" class="external-link">Constable</a></code></dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Enclosing class:</dt>
|
||||||
|
<dd><code><a href="Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></code></dd>
|
||||||
|
</dl>
|
||||||
|
<hr>
|
||||||
|
<div class="type-signature"><span class="modifiers">public static enum </span><span class="element-name type-name-label">Tehtava.Status</span>
|
||||||
|
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">Enum</a><<a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a>></span></div>
|
||||||
|
<div class="block">Enum tehtävän tilan seuraamiseen</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="summary">
|
||||||
|
<ul class="summary-list">
|
||||||
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||||
|
<li>
|
||||||
|
<section class="nested-class-summary" id="nested-class-summary">
|
||||||
|
<h2>Nested Class Summary</h2>
|
||||||
|
<div class="inherited-list">
|
||||||
|
<h3 id="nested-classes-inherited-from-class-java.lang.Enum">Nested classes/interfaces inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">Enum</a></h3>
|
||||||
|
<code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.EnumDesc.html" title="class or interface in java.lang" class="external-link">Enum.EnumDesc</a><<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.EnumDesc.html" title="class or interface in java.lang" class="external-link">E</a> extends <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">Enum</a><<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.EnumDesc.html" title="class or interface in java.lang" class="external-link">E</a>>></code></div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||||
|
<li>
|
||||||
|
<section class="constants-summary" id="enum-constant-summary">
|
||||||
|
<h2>Enum Constant Summary</h2>
|
||||||
|
<div class="caption"><span>Enum Constants</span></div>
|
||||||
|
<div class="summary-table two-column-summary">
|
||||||
|
<div class="table-header col-first">Enum Constant</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-first even-row-color"><code><a href="#Luotu" class="member-name-link">Luotu</a></code></div>
|
||||||
|
<div class="col-last even-row-color"> </div>
|
||||||
|
<div class="col-first odd-row-color"><code><a href="#Vaiheessa" class="member-name-link">Vaiheessa</a></code></div>
|
||||||
|
<div class="col-last odd-row-color"> </div>
|
||||||
|
<div class="col-first even-row-color"><code><a href="#Valmis" class="member-name-link">Valmis</a></code></div>
|
||||||
|
<div class="col-last even-row-color"> </div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||||||
|
<li>
|
||||||
|
<section class="method-summary" id="method-summary">
|
||||||
|
<h2>Method Summary</h2>
|
||||||
|
<div id="method-summary-table">
|
||||||
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
|
||||||
|
<div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0">
|
||||||
|
<div class="summary-table three-column-summary">
|
||||||
|
<div class="table-header col-first">Modifier and Type</div>
|
||||||
|
<div class="table-header col-second">Method</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#valueOf(java.lang.String)" class="member-name-link">valueOf</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> name)</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
|
||||||
|
<div class="block">Returns the enum constant of this class with the specified name.</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a>[]</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#values()" class="member-name-link">values</a>()</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
|
||||||
|
<div class="block">Returns an array containing the constants of this enum class, in
|
||||||
|
the order they are declared.</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="inherited-list">
|
||||||
|
<h3 id="methods-inherited-from-class-java.lang.Enum">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">Enum</a></h3>
|
||||||
|
<code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#compareTo(E)" title="class or interface in java.lang" class="external-link">compareTo</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#describeConstable()" title="class or interface in java.lang" class="external-link">describeConstable</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#getDeclaringClass()" title="class or interface in java.lang" class="external-link">getDeclaringClass</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#name()" title="class or interface in java.lang" class="external-link">name</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#ordinal()" title="class or interface in java.lang" class="external-link">ordinal</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html#valueOf(java.lang.Class,java.lang.String)" title="class or interface in java.lang" class="external-link">valueOf</a></code></div>
|
||||||
|
<div class="inherited-list">
|
||||||
|
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
|
||||||
|
<code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="details">
|
||||||
|
<ul class="details-list">
|
||||||
|
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||||
|
<li>
|
||||||
|
<section class="constant-details" id="enum-constant-detail">
|
||||||
|
<h2>Enum Constant Details</h2>
|
||||||
|
<ul class="member-list">
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="Luotu">
|
||||||
|
<h3>Luotu</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></span> <span class="element-name">Luotu</span></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="Vaiheessa">
|
||||||
|
<h3>Vaiheessa</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></span> <span class="element-name">Vaiheessa</span></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="Valmis">
|
||||||
|
<h3>Valmis</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></span> <span class="element-name">Valmis</span></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ============ METHOD DETAIL ========== -->
|
||||||
|
<li>
|
||||||
|
<section class="method-details" id="method-detail">
|
||||||
|
<h2>Method Details</h2>
|
||||||
|
<ul class="member-list">
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="values()">
|
||||||
|
<h3>values</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a>[]</span> <span class="element-name">values</span>()</div>
|
||||||
|
<div class="block">Returns an array containing the constants of this enum class, in
|
||||||
|
the order they are declared.</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Returns:</dt>
|
||||||
|
<dd>an array containing the constants of this enum class, in the order they are declared</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="valueOf(java.lang.String)">
|
||||||
|
<h3>valueOf</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></span> <span class="element-name">valueOf</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> name)</span></div>
|
||||||
|
<div class="block">Returns the enum constant of this class with the specified name.
|
||||||
|
The string must match <i>exactly</i> an identifier used to declare an
|
||||||
|
enum constant in this class. (Extraneous whitespace characters are
|
||||||
|
not permitted.)</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Parameters:</dt>
|
||||||
|
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||||
|
<dt>Returns:</dt>
|
||||||
|
<dd>the enum constant with the specified name</dd>
|
||||||
|
<dt>Throws:</dt>
|
||||||
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - if this enum class has no constant with the specified name</dd>
|
||||||
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/NullPointerException.html" title="class or interface in java.lang" class="external-link">NullPointerException</a></code> - if the argument is null</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<!-- ========= END OF CLASS DATA ========= -->
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,364 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>Tehtava</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="declaration: module: com.example.harjoitustyo, package: com.example.harjoitustyo, class: Tehtava">
|
||||||
|
<meta name="generator" content="javadoc/ClassWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../../../../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="class-declaration-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../../../../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../../../module-summary.html">Module</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Class</li>
|
||||||
|
<li><a href="package-tree.html">Tree</a></li>
|
||||||
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="../../../../search.html">Search</a></li>
|
||||||
|
<li><a href="../../../../help-doc.html#class">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list">
|
||||||
|
<li><a href="../../../module-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="package-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="Tehtava.html" class="current-selection">Tehtava</a></li>
|
||||||
|
</ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<nav role="navigation" class="toc" aria-label="Table of contents">
|
||||||
|
<div class="toc-header">Contents
|
||||||
|
<input type="text" class="filter-input" disabled placeholder="Filter" aria-label="Filter table of contents" autocomplete="off">
|
||||||
|
<input type="reset" class="reset-filter" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
<button class="hide-sidebar"><span>Hide sidebar </span>❮</button><button class="show-sidebar">❯<span> Show sidebar</span></button>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#" tabindex="0">Description</a></li>
|
||||||
|
<li><a href="#nested-class-summary" tabindex="0">Nested Class Summary</a></li>
|
||||||
|
<li><a href="#constructor-summary" tabindex="0">Constructor Summary</a></li>
|
||||||
|
<li><a href="#method-summary" tabindex="0">Method Summary</a></li>
|
||||||
|
<li><a href="#constructor-detail" tabindex="0">Constructor Details</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#%3Cinit%3E(java.lang.String,java.lang.String,java.time.LocalDate)" tabindex="0">Tehtava(String, String, LocalDate)</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
<li><a href="#method-detail" tabindex="0">Method Details</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#setIdCounter(int)" tabindex="0">setIdCounter(int)</a></li>
|
||||||
|
<li><a href="#setTila(com.example.harjoitustyo.Tehtava.Status)" tabindex="0">setTila(Tehtava.Status)</a></li>
|
||||||
|
<li><a href="#setOtsikko(java.lang.String)" tabindex="0">setOtsikko(String)</a></li>
|
||||||
|
<li><a href="#setKuvaus(java.lang.String)" tabindex="0">setKuvaus(String)</a></li>
|
||||||
|
<li><a href="#setDeadline(java.time.LocalDate)" tabindex="0">setDeadline(LocalDate)</a></li>
|
||||||
|
<li><a href="#getId()" tabindex="0">getId()</a></li>
|
||||||
|
<li><a href="#getOtsikko()" tabindex="0">getOtsikko()</a></li>
|
||||||
|
<li><a href="#getKuvaus()" tabindex="0">getKuvaus()</a></li>
|
||||||
|
<li><a href="#getLuontiPaiva()" tabindex="0">getLuontiPaiva()</a></li>
|
||||||
|
<li><a href="#getDeadline()" tabindex="0">getDeadline()</a></li>
|
||||||
|
<li><a href="#getValmistumisPaiva()" tabindex="0">getValmistumisPaiva()</a></li>
|
||||||
|
<li><a href="#getTila()" tabindex="0">getTila()</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
<main role="main">
|
||||||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||||||
|
<div class="header">
|
||||||
|
<h1 title="Class Tehtava" class="title">Class Tehtava</h1>
|
||||||
|
</div>
|
||||||
|
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
|
||||||
|
<div class="inheritance">com.example.harjoitustyo.Tehtava</div>
|
||||||
|
</div>
|
||||||
|
<section class="class-description" id="class-description">
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>All Implemented Interfaces:</dt>
|
||||||
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></code></dd>
|
||||||
|
</dl>
|
||||||
|
<hr>
|
||||||
|
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">Tehtava</span>
|
||||||
|
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>
|
||||||
|
implements <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></span></div>
|
||||||
|
<div class="block">Ohjelman perustietoluokka</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>See Also:</dt>
|
||||||
|
<dd>
|
||||||
|
<ul class="tag-list">
|
||||||
|
<li><a href="../../../../serialized-form.html#com.example.harjoitustyo.Tehtava">Serialized Form</a></li>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="summary">
|
||||||
|
<ul class="summary-list">
|
||||||
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||||
|
<li>
|
||||||
|
<section class="nested-class-summary" id="nested-class-summary">
|
||||||
|
<h2>Nested Class Summary</h2>
|
||||||
|
<div class="caption"><span>Nested Classes</span></div>
|
||||||
|
<div class="summary-table three-column-summary">
|
||||||
|
<div class="table-header col-first">Modifier and Type</div>
|
||||||
|
<div class="table-header col-second">Class</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-first even-row-color"><code>static enum </code></div>
|
||||||
|
<div class="col-second even-row-color"><code><a href="Tehtava.Status.html" class="type-name-link" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></code></div>
|
||||||
|
<div class="col-last even-row-color">
|
||||||
|
<div class="block">Enum tehtävän tilan seuraamiseen</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||||
|
<li>
|
||||||
|
<section class="constructor-summary" id="constructor-summary">
|
||||||
|
<h2>Constructor Summary</h2>
|
||||||
|
<div class="caption"><span>Constructors</span></div>
|
||||||
|
<div class="summary-table two-column-summary">
|
||||||
|
<div class="table-header col-first">Constructor</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String,java.lang.String,java.time.LocalDate)" class="member-name-link">Tehtava</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> otsikko,
|
||||||
|
<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> kuvaus,
|
||||||
|
<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a> deadline)</code></div>
|
||||||
|
<div class="col-last even-row-color">
|
||||||
|
<div class="block">Luo uuden tehtävän</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||||||
|
<li>
|
||||||
|
<section class="method-summary" id="method-summary">
|
||||||
|
<h2>Method Summary</h2>
|
||||||
|
<div id="method-summary-table">
|
||||||
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
|
||||||
|
<div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0">
|
||||||
|
<div class="summary-table three-column-summary">
|
||||||
|
<div class="table-header col-first">Modifier and Type</div>
|
||||||
|
<div class="table-header col-second">Method</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a></code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDeadline()" class="member-name-link">getDeadline</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getId()" class="member-name-link">getId</a>()</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getKuvaus()" class="member-name-link">getKuvaus</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a></code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLuontiPaiva()" class="member-name-link">getLuontiPaiva</a>()</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOtsikko()" class="member-name-link">getOtsikko</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTila()" class="member-name-link">getTila</a>()</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a></code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getValmistumisPaiva()" class="member-name-link">getValmistumisPaiva</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDeadline(java.time.LocalDate)" class="member-name-link">setDeadline</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a> deadline)</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static void</code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setIdCounter(int)" class="member-name-link">setIdCounter</a><wbr>(int idCounter)</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
|
||||||
|
<div class="block">Asettaa luokan staattisen muuttujan tiettyyn arvoon</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setKuvaus(java.lang.String)" class="member-name-link">setKuvaus</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> kuvaus)</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOtsikko(java.lang.String)" class="member-name-link">setOtsikko</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> otsikko)</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTila(com.example.harjoitustyo.Tehtava.Status)" class="member-name-link">setTila</a><wbr>(<a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a> tila)</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Asettaa tehtävän tilan ja valmistumisPaiva kentän valmistumispäivään</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="inherited-list">
|
||||||
|
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
|
||||||
|
<code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="details">
|
||||||
|
<ul class="details-list">
|
||||||
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||||
|
<li>
|
||||||
|
<section class="constructor-details" id="constructor-detail">
|
||||||
|
<h2>Constructor Details</h2>
|
||||||
|
<ul class="member-list">
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="<init>(java.lang.String,java.lang.String,java.time.LocalDate)">
|
||||||
|
<h3>Tehtava</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="element-name">Tehtava</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> otsikko,
|
||||||
|
<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> kuvaus,
|
||||||
|
<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a> deadline)</span></div>
|
||||||
|
<div class="block">Luo uuden tehtävän</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Parameters:</dt>
|
||||||
|
<dd><code>otsikko</code> - Tehtävän otsikko</dd>
|
||||||
|
<dd><code>kuvaus</code> - Tehtävän kuvaus</dd>
|
||||||
|
<dd><code>deadline</code> - Tehtävän deadline</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ============ METHOD DETAIL ========== -->
|
||||||
|
<li>
|
||||||
|
<section class="method-details" id="method-detail">
|
||||||
|
<h2>Method Details</h2>
|
||||||
|
<ul class="member-list">
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="setIdCounter(int)">
|
||||||
|
<h3>setIdCounter</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">protected static</span> <span class="return-type">void</span> <span class="element-name">setIdCounter</span><wbr><span class="parameters">(int idCounter)</span></div>
|
||||||
|
<div class="block">Asettaa luokan staattisen muuttujan tiettyyn arvoon</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Parameters:</dt>
|
||||||
|
<dd><code>idCounter</code> - kentän uusi arvo</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="setTila(com.example.harjoitustyo.Tehtava.Status)">
|
||||||
|
<h3>setTila</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setTila</span><wbr><span class="parameters">(<a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a> tila)</span></div>
|
||||||
|
<div class="block">Asettaa tehtävän tilan ja valmistumisPaiva kentän valmistumispäivään</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Parameters:</dt>
|
||||||
|
<dd><code>tila</code> - tehtävän uusi tila</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="setOtsikko(java.lang.String)">
|
||||||
|
<h3>setOtsikko</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setOtsikko</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> otsikko)</span></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="setKuvaus(java.lang.String)">
|
||||||
|
<h3>setKuvaus</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setKuvaus</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> kuvaus)</span></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="setDeadline(java.time.LocalDate)">
|
||||||
|
<h3>setDeadline</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setDeadline</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a> deadline)</span></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="getId()">
|
||||||
|
<h3>getId</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getId</span>()</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="getOtsikko()">
|
||||||
|
<h3>getOtsikko</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getOtsikko</span>()</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="getKuvaus()">
|
||||||
|
<h3>getKuvaus</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getKuvaus</span>()</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="getLuontiPaiva()">
|
||||||
|
<h3>getLuontiPaiva</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a></span> <span class="element-name">getLuontiPaiva</span>()</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="getDeadline()">
|
||||||
|
<h3>getDeadline</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a></span> <span class="element-name">getDeadline</span>()</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="getValmistumisPaiva()">
|
||||||
|
<h3>getValmistumisPaiva</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a></span> <span class="element-name">getValmistumisPaiva</span>()</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="getTila()">
|
||||||
|
<h3>getTila</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></span> <span class="element-name">getTila</span>()</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<!-- ========= END OF CLASS DATA ========= -->
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,239 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>Tehtavat</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="declaration: module: com.example.harjoitustyo, package: com.example.harjoitustyo, class: Tehtavat">
|
||||||
|
<meta name="generator" content="javadoc/ClassWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../../../../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="class-declaration-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../../../../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../../../module-summary.html">Module</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Class</li>
|
||||||
|
<li><a href="package-tree.html">Tree</a></li>
|
||||||
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="../../../../search.html">Search</a></li>
|
||||||
|
<li><a href="../../../../help-doc.html#class">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list">
|
||||||
|
<li><a href="../../../module-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="package-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="Tehtavat.html" class="current-selection">Tehtavat</a></li>
|
||||||
|
</ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<nav role="navigation" class="toc" aria-label="Table of contents">
|
||||||
|
<div class="toc-header">Contents
|
||||||
|
<input type="text" class="filter-input" disabled placeholder="Filter" aria-label="Filter table of contents" autocomplete="off">
|
||||||
|
<input type="reset" class="reset-filter" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
<button class="hide-sidebar"><span>Hide sidebar </span>❮</button><button class="show-sidebar">❯<span> Show sidebar</span></button>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#" tabindex="0">Description</a></li>
|
||||||
|
<li><a href="#constructor-summary" tabindex="0">Constructor Summary</a></li>
|
||||||
|
<li><a href="#method-summary" tabindex="0">Method Summary</a></li>
|
||||||
|
<li><a href="#constructor-detail" tabindex="0">Constructor Details</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#%3Cinit%3E()" tabindex="0">Tehtavat()</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
<li><a href="#method-detail" tabindex="0">Method Details</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#get()" tabindex="0">get()</a></li>
|
||||||
|
<li><a href="#lisaa(com.example.harjoitustyo.Tehtava)" tabindex="0">lisaa(Tehtava)</a></li>
|
||||||
|
<li><a href="#poista(com.example.harjoitustyo.Tehtava)" tabindex="0">poista(Tehtava)</a></li>
|
||||||
|
<li><a href="#tallenna()" tabindex="0">tallenna()</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
<main role="main">
|
||||||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||||||
|
<div class="header">
|
||||||
|
<h1 title="Class Tehtavat" class="title">Class Tehtavat</h1>
|
||||||
|
</div>
|
||||||
|
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
|
||||||
|
<div class="inheritance">com.example.harjoitustyo.Tehtavat</div>
|
||||||
|
</div>
|
||||||
|
<section class="class-description" id="class-description">
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<hr>
|
||||||
|
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">Tehtavat</span>
|
||||||
|
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
|
||||||
|
<div class="block">Luokka, joka hoitaa tehtävien lukemisen ja kirjoittamisen tiedostoon</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="summary">
|
||||||
|
<ul class="summary-list">
|
||||||
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||||
|
<li>
|
||||||
|
<section class="constructor-summary" id="constructor-summary">
|
||||||
|
<h2>Constructor Summary</h2>
|
||||||
|
<div class="caption"><span>Constructors</span></div>
|
||||||
|
<div class="summary-table two-column-summary">
|
||||||
|
<div class="table-header col-first">Constructor</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">Tehtavat</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color">
|
||||||
|
<div class="block">Luo Tehtavat olion, joka sisältää ohjelmassa käsiteltävät tehtävät
|
||||||
|
Hakee automaattisesti tiedostosta tehtävät, mikäli niitä on.</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||||||
|
<li>
|
||||||
|
<section class="method-summary" id="method-summary">
|
||||||
|
<h2>Method Summary</h2>
|
||||||
|
<div id="method-summary-table">
|
||||||
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
|
||||||
|
<div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0">
|
||||||
|
<div class="summary-table three-column-summary">
|
||||||
|
<div class="table-header col-first">Modifier and Type</div>
|
||||||
|
<div class="table-header col-second">Method</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/ArrayList.html" title="class or interface in java.util" class="external-link">ArrayList</a><wbr><<a href="Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a>></code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#get()" class="member-name-link">get</a>()</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Palauttaa tehtävälistan</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#lisaa(com.example.harjoitustyo.Tehtava)" class="member-name-link">lisaa</a><wbr>(<a href="Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a> tehtava)</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Lisää tehtävän listaan</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
|
||||||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#poista(com.example.harjoitustyo.Tehtava)" class="member-name-link">poista</a><wbr>(<a href="Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a> tehtava)</code></div>
|
||||||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Poistaa tehtävän</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
|
||||||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#tallenna()" class="member-name-link">tallenna</a>()</code></div>
|
||||||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||||
|
<div class="block">Tallentaa tehtävälistan luokkaan määriteltyyn tiedostoon</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="inherited-list">
|
||||||
|
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
|
||||||
|
<code><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="details">
|
||||||
|
<ul class="details-list">
|
||||||
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||||
|
<li>
|
||||||
|
<section class="constructor-details" id="constructor-detail">
|
||||||
|
<h2>Constructor Details</h2>
|
||||||
|
<ul class="member-list">
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="<init>()">
|
||||||
|
<h3>Tehtavat</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="element-name">Tehtavat</span>()</div>
|
||||||
|
<div class="block">Luo Tehtavat olion, joka sisältää ohjelmassa käsiteltävät tehtävät
|
||||||
|
Hakee automaattisesti tiedostosta tehtävät, mikäli niitä on.</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<!-- ============ METHOD DETAIL ========== -->
|
||||||
|
<li>
|
||||||
|
<section class="method-details" id="method-detail">
|
||||||
|
<h2>Method Details</h2>
|
||||||
|
<ul class="member-list">
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="get()">
|
||||||
|
<h3>get</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/ArrayList.html" title="class or interface in java.util" class="external-link">ArrayList</a><<a href="Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a>></span> <span class="element-name">get</span>()</div>
|
||||||
|
<div class="block">Palauttaa tehtävälistan</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Returns:</dt>
|
||||||
|
<dd>tehtävälistan</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="lisaa(com.example.harjoitustyo.Tehtava)">
|
||||||
|
<h3>lisaa</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">lisaa</span><wbr><span class="parameters">(<a href="Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a> tehtava)</span></div>
|
||||||
|
<div class="block">Lisää tehtävän listaan</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Parameters:</dt>
|
||||||
|
<dd><code>tehtava</code> - lisättävä tehtävä</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="poista(com.example.harjoitustyo.Tehtava)">
|
||||||
|
<h3>poista</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">poista</span><wbr><span class="parameters">(<a href="Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a> tehtava)</span></div>
|
||||||
|
<div class="block">Poistaa tehtävän</div>
|
||||||
|
<dl class="notes">
|
||||||
|
<dt>Parameters:</dt>
|
||||||
|
<dd><code>tehtava</code> - poistettava tehtava</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<section class="detail" id="tallenna()">
|
||||||
|
<h3>tallenna</h3>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">tallenna</span>()</div>
|
||||||
|
<div class="block">Tallentaa tehtävälistan luokkaan määriteltyyn tiedostoon</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<!-- ========= END OF CLASS DATA ========= -->
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>com.example.harjoitustyo</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="declaration: module: com.example.harjoitustyo, package: com.example.harjoitustyo">
|
||||||
|
<meta name="generator" content="javadoc/PackageWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../../../../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="package-declaration-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../../../../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../../../module-summary.html">Module</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Package</li>
|
||||||
|
<li><a href="package-tree.html">Tree</a></li>
|
||||||
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="../../../../search.html">Search</a></li>
|
||||||
|
<li><a href="../../../../help-doc.html#package">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list">
|
||||||
|
<li><a href="../../../module-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="package-summary.html" class="current-selection">com.example.harjoitustyo</a></li>
|
||||||
|
</ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<nav role="navigation" class="toc" aria-label="Table of contents">
|
||||||
|
<div class="toc-header">Contents</div>
|
||||||
|
<button class="hide-sidebar"><span>Hide sidebar </span>❮</button><button class="show-sidebar">❯<span> Show sidebar</span></button>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#" tabindex="0">Description</a></li>
|
||||||
|
<li><a href="#class-summary" tabindex="0">Classes and Interfaces</a></li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1 title="Package com.example.harjoitustyo" class="title">Package com.example.harjoitustyo</h1>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<div class="horizontal-scroll">
|
||||||
|
<div class="package-signature">package <span class="element-name">com.example.harjoitustyo</span></div>
|
||||||
|
</div>
|
||||||
|
<section class="summary">
|
||||||
|
<ul class="summary-list">
|
||||||
|
<li>
|
||||||
|
<div id="class-summary">
|
||||||
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="class-summary-tab0" role="tab" aria-selected="true" aria-controls="class-summary.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('class-summary', 'class-summary', 2)" class="active-table-tab">All Classes and Interfaces</button><button id="class-summary-tab2" role="tab" aria-selected="false" aria-controls="class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('class-summary', 'class-summary-tab2', 2)" class="table-tab">Classes</button><button id="class-summary-tab3" role="tab" aria-selected="false" aria-controls="class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('class-summary', 'class-summary-tab3', 2)" class="table-tab">Enum Classes</button></div>
|
||||||
|
<div id="class-summary.tabpanel" role="tabpanel" aria-labelledby="class-summary-tab0">
|
||||||
|
<div class="summary-table two-column-summary">
|
||||||
|
<div class="table-header col-first">Class</div>
|
||||||
|
<div class="table-header col-last">Description</div>
|
||||||
|
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></div>
|
||||||
|
<div class="col-last even-row-color class-summary class-summary-tab2">
|
||||||
|
<div class="block">Ohjelman käyttöliittymä
|
||||||
|
Luokasta ei tarkoitus tehdä olioita</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="PaivamaaraTableCell.html" title="class in com.example.harjoitustyo">PaivamaaraTableCell</a></div>
|
||||||
|
<div class="col-last odd-row-color class-summary class-summary-tab2">
|
||||||
|
<div class="block">Kustomoitu TableCell, joka muokkaa sen sisältämän LocalDaten muotoon dd.MM.yyyy</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></div>
|
||||||
|
<div class="col-last even-row-color class-summary class-summary-tab2">
|
||||||
|
<div class="block">Ohjelman perustietoluokka</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first odd-row-color class-summary class-summary-tab3"><a href="Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></div>
|
||||||
|
<div class="col-last odd-row-color class-summary class-summary-tab3">
|
||||||
|
<div class="block">Enum tehtävän tilan seuraamiseen</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></div>
|
||||||
|
<div class="col-last even-row-color class-summary class-summary-tab2">
|
||||||
|
<div class="block">Luokka, joka hoitaa tehtävien lukemisen ja kirjoittamisen tiedostoon</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,126 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>com.example.harjoitustyo Class Hierarchy</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="tree: module: com.example.harjoitustyo, package: com.example.harjoitustyo">
|
||||||
|
<meta name="generator" content="javadoc/PackageTreeWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../../../../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="package-tree-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../../../../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../../../module-summary.html">Module</a></li>
|
||||||
|
<li><a href="package-summary.html">Package</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Tree</li>
|
||||||
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="../../../../search.html">Search</a></li>
|
||||||
|
<li><a href="../../../../help-doc.html#tree">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list">
|
||||||
|
<li><a href="../../../module-summary.html">com.example.harjoitustyo</a></li>
|
||||||
|
<li><a href="package-summary.html" class="current-selection">com.example.harjoitustyo</a></li>
|
||||||
|
</ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1 class="title">Hierarchy For Package com.example.harjoitustyo</h1>
|
||||||
|
</div>
|
||||||
|
<section class="hierarchy">
|
||||||
|
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" class="type-name-link external-link" title="class or interface in java.lang">Object</a>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.application.Application
|
||||||
|
<ul>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="Paaikkuna.html" class="type-name-link" title="class in com.example.harjoitustyo">Paaikkuna</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="circle">javafx.scene.Node (implements javafx.event.EventTarget, javafx.css.Styleable)
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.Parent
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.layout.Region
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.Control (implements javafx.scene.control.Skinnable)
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.Labeled
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.Cell<T>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.IndexedCell<T>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.TableCell<S,<wbr>T>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="PaivamaaraTableCell.html" class="type-name-link" title="class in com.example.harjoitustyo">PaivamaaraTableCell</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="Tehtava.html" class="type-name-link" title="class in com.example.harjoitustyo">Tehtava</a> (implements java.io.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a>)</li>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="Tehtavat.html" class="type-name-link" title="class in com.example.harjoitustyo">Tehtavat</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="hierarchy">
|
||||||
|
<h2 title="Enum Class Hierarchy">Enum Class Hierarchy</h2>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" class="type-name-link external-link" title="class or interface in java.lang">Object</a>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html" class="type-name-link external-link" title="class or interface in java.lang">Enum</a><E> (implements java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a><T>, java.lang.constant.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/constant/Constable.html" title="class or interface in java.lang.constant" class="external-link">Constable</a>, java.io.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a>)
|
||||||
|
<ul>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="Tehtava.Status.html" class="type-name-link" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,89 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Fri Mar 28 11:13:18 EET 2025 -->
|
||||||
|
<title>Constant Field Values</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-28">
|
||||||
|
<meta name="description" content="summary of constants">
|
||||||
|
<meta name="generator" content="javadoc/ConstantsSummaryWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="constants-summary-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "./";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="overview-tree.html">Tree</a></li>
|
||||||
|
<li><a href="index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="search.html">Search</a></li>
|
||||||
|
<li><a href="help-doc.html#constant-values">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<nav role="navigation" class="toc" aria-label="Table of contents">
|
||||||
|
<div class="toc-header">Contents
|
||||||
|
<input type="text" class="filter-input" disabled placeholder="Filter" aria-label="Filter table of contents" autocomplete="off">
|
||||||
|
<input type="reset" class="reset-filter" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
<button class="hide-sidebar"><span>Hide sidebar </span>❮</button><button class="show-sidebar">❯<span> Show sidebar</span></button>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#" tabindex="0">Constant Field Values</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#com.example" tabindex="0">com.example.*</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||||
|
</div>
|
||||||
|
<section class="constants-summary" id="com.example">
|
||||||
|
<h2 title="com.example.*">com.example.*</h2>
|
||||||
|
<ul class="block-list">
|
||||||
|
<li>
|
||||||
|
<div class="caption"><span>com.example.harjoitustyo.<a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></span></div>
|
||||||
|
<div class="summary-table three-column-summary">
|
||||||
|
<div class="table-header col-first">Modifier and Type</div>
|
||||||
|
<div class="table-header col-second">Constant Field</div>
|
||||||
|
<div class="table-header col-last">Value</div>
|
||||||
|
<div class="col-first even-row-color"><code id="com.example.harjoitustyo.Tehtavat.tiedostoPolku">private final <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
||||||
|
<div class="col-second even-row-color"><code><a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#tiedostoPolku">tiedostoPolku</a></code></div>
|
||||||
|
<div class="col-last even-row-color"><code>"tehtavat.dat"</code></div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
module:com.example.harjoitustyo
|
||||||
|
com.example.harjoitustyo
|
||||||
@@ -0,0 +1,188 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>API Help</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="help">
|
||||||
|
<meta name="generator" content="javadoc/HelpWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="help-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "./";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="overview-tree.html">Tree</a></li>
|
||||||
|
<li><a href="index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="search.html">Search</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Help</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<nav role="navigation" class="toc" aria-label="Table of contents">
|
||||||
|
<div class="toc-header">Contents</div>
|
||||||
|
<button class="hide-sidebar"><span>Hide sidebar </span>❮</button><button class="show-sidebar">❯<span> Show sidebar</span></button>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#" tabindex="0">JavaDoc Help</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#help-navigation" tabindex="0">Navigation</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#search" tabindex="0">Search</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
<li><a href="#help-pages" tabindex="0">Kinds of Pages</a>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><a href="#module" tabindex="0">Module</a></li>
|
||||||
|
<li><a href="#package" tabindex="0">Package</a></li>
|
||||||
|
<li><a href="#class" tabindex="0">Class or Interface</a></li>
|
||||||
|
<li><a href="#doc-file" tabindex="0">Other Files</a></li>
|
||||||
|
<li><a href="#tree" tabindex="0">Tree (Class Hierarchy)</a></li>
|
||||||
|
<li><a href="#serialized-form" tabindex="0">Serialized Form</a></li>
|
||||||
|
<li><a href="#all-packages" tabindex="0">All Packages</a></li>
|
||||||
|
<li><a href="#all-classes" tabindex="0">All Classes and Interfaces</a></li>
|
||||||
|
<li><a href="#index" tabindex="0">Index</a></li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
<main role="main">
|
||||||
|
<h1 class="title">JavaDoc Help</h1>
|
||||||
|
<hr>
|
||||||
|
<div class="sub-title">
|
||||||
|
<h2 id="help-navigation">Navigation</h2>
|
||||||
|
Starting from the <a href="index.html">Overview</a> page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The <a href="index-files/index-1.html">Index</a> and Search box allow you to navigate to specific declarations and summary pages, including: <a href="allpackages-index.html">All Packages</a>, <a href="allclasses-index.html">All Classes and Interfaces</a>
|
||||||
|
<section class="help-section" id="search">
|
||||||
|
<h3>Search</h3>
|
||||||
|
<p>You can search for definitions of modules, packages, types, fields, methods, system properties and other terms defined in the API. These items can be searched using part or all of the name, optionally using "camelCase" abbreviations, or multiple search terms separated by whitespace. Some examples:</p>
|
||||||
|
<ol class="toc-list">
|
||||||
|
<li><code>"j.l.obj"</code> matches "java.lang.Object"</li>
|
||||||
|
<li><code>"InpStr"</code> matches "java.io.InputStream"</li>
|
||||||
|
<li><code>"math exact long"</code> matches "java.lang.Math.absExact(long)"</li>
|
||||||
|
</ol>
|
||||||
|
<p>Refer to the <a href="https://docs.oracle.com/en/java/javase/23/docs/specs/javadoc/javadoc-search-spec.html">Javadoc Search Specification</a> for a full description of search features.</p>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<div class="sub-title">
|
||||||
|
<h2 id="help-pages">Kinds of Pages</h2>
|
||||||
|
The following sections describe the different kinds of pages in this collection.
|
||||||
|
<section class="help-section" id="module">
|
||||||
|
<h3>Module</h3>
|
||||||
|
<p>Each module has a page that contains a list of its packages, dependencies on other modules, and services, with a summary for each. These pages may contain the following categories:</p>
|
||||||
|
<ul class="help-section-list">
|
||||||
|
<li>Packages</li>
|
||||||
|
<li>Modules</li>
|
||||||
|
<li>Services</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="help-section" id="package">
|
||||||
|
<h3>Package</h3>
|
||||||
|
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:</p>
|
||||||
|
<ul class="help-section-list">
|
||||||
|
<li>Interfaces</li>
|
||||||
|
<li>Classes</li>
|
||||||
|
<li>Enum Classes</li>
|
||||||
|
<li>Exception Classes</li>
|
||||||
|
<li>Annotation Interfaces</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="help-section" id="class">
|
||||||
|
<h3>Class or Interface</h3>
|
||||||
|
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.</p>
|
||||||
|
<ul class="help-section-list">
|
||||||
|
<li>Class Inheritance Diagram</li>
|
||||||
|
<li>Direct Subclasses</li>
|
||||||
|
<li>All Known Subinterfaces</li>
|
||||||
|
<li>All Known Implementing Classes</li>
|
||||||
|
<li>Class or Interface Declaration</li>
|
||||||
|
<li>Class or Interface Description</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<ul class="help-section-list">
|
||||||
|
<li>Nested Class Summary</li>
|
||||||
|
<li>Enum Constant Summary</li>
|
||||||
|
<li>Field Summary</li>
|
||||||
|
<li>Property Summary</li>
|
||||||
|
<li>Constructor Summary</li>
|
||||||
|
<li>Method Summary</li>
|
||||||
|
<li>Required Element Summary</li>
|
||||||
|
<li>Optional Element Summary</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<ul class="help-section-list">
|
||||||
|
<li>Enum Constant Details</li>
|
||||||
|
<li>Field Details</li>
|
||||||
|
<li>Property Details</li>
|
||||||
|
<li>Constructor Details</li>
|
||||||
|
<li>Method Details</li>
|
||||||
|
<li>Element Details</li>
|
||||||
|
</ul>
|
||||||
|
<p><span class="help-note">Note:</span> Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.</p>
|
||||||
|
<p>The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
|
||||||
|
</section>
|
||||||
|
<section class="help-section" id="doc-file">
|
||||||
|
<h3>Other Files</h3>
|
||||||
|
<p>Packages and modules may contain pages with additional information related to the declarations nearby.</p>
|
||||||
|
</section>
|
||||||
|
<section class="help-section" id="tree">
|
||||||
|
<h3>Tree (Class Hierarchy)</h3>
|
||||||
|
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with <code>java.lang.Object</code>. Interfaces do not inherit from <code>java.lang.Object</code>.</p>
|
||||||
|
<ul class="help-section-list">
|
||||||
|
<li>When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.</li>
|
||||||
|
<li>When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="help-section" id="serialized-form">
|
||||||
|
<h3>Serialized Form</h3>
|
||||||
|
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.</p>
|
||||||
|
</section>
|
||||||
|
<section class="help-section" id="all-packages">
|
||||||
|
<h3>All Packages</h3>
|
||||||
|
<p>The <a href="allpackages-index.html">All Packages</a> page contains an alphabetic index of all packages contained in the documentation.</p>
|
||||||
|
</section>
|
||||||
|
<section class="help-section" id="all-classes">
|
||||||
|
<h3>All Classes and Interfaces</h3>
|
||||||
|
<p>The <a href="allclasses-index.html">All Classes and Interfaces</a> page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.</p>
|
||||||
|
</section>
|
||||||
|
<section class="help-section" id="index">
|
||||||
|
<h3>Index</h3>
|
||||||
|
<p>The <a href="index-files/index-1.html">Index</a> contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as <a href="allpackages-index.html">All Packages</a>, <a href="allclasses-index.html">All Classes and Interfaces</a>.</p>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<span class="help-footnote">This help file applies to API documentation generated by the standard doclet.</span></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>C-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: C">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:C">C</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/module-summary.html">com.example.harjoitustyo</a> - module com.example.harjoitustyo</dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a> - package com.example.harjoitustyo</dt>
|
||||||
|
<dd> </dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>V-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: V">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:V">V</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#Vaiheessa" class="member-name-link">Vaiheessa</a> - Enum constant in enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#Valmis" class="member-name-link">Valmis</a> - Enum constant in enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#valueOf(java.lang.String)" class="member-name-link">valueOf(String)</a> - Static method in enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Returns the enum constant of this class with the specified name.</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#values()" class="member-name-link">values()</a> - Static method in enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Returns an array containing the constants of this enum class, in
|
||||||
|
the order they are declared.</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,79 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Fri Mar 28 11:13:18 EET 2025 -->
|
||||||
|
<title>P-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-28">
|
||||||
|
<meta name="description" content="index: P">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">B</a> <a href="index-2.html">C</a> <a href="index-3.html">D</a> <a href="index-4.html">G</a> <a href="index-5.html">I</a> <a href="index-6.html">K</a> <a href="index-7.html">L</a> <a href="index-8.html">M</a> <a href="index-9.html">N</a> <a href="index-10.html">O</a> <a href="index-11.html">P</a> <a href="index-12.html">S</a> <a href="index-13.html">T</a> <a href="index-14.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant Field Values</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:P">P</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" class="type-name-link" title="class in com.example.harjoitustyo">Paaikkuna</a> - Class in <a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#%3Cinit%3E()" class="member-name-link">Paaikkuna()</a> - Constructor for class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#paivitaTehtavanakyma()" class="member-name-link">paivitaTehtavanakyma()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Päivittää tvTehtavat valittujen suodatusvalintojen mukaisesti</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#poista(com.example.harjoitustyo.Tehtava)" class="member-name-link">poista(Tehtava)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Poistaa tehtävän</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#poistaTehtava()" class="member-name-link">poistaTehtava()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Poistaa valitun tehtävän</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">B</a> <a href="index-2.html">C</a> <a href="index-3.html">D</a> <a href="index-4.html">G</a> <a href="index-5.html">I</a> <a href="index-6.html">K</a> <a href="index-7.html">L</a> <a href="index-8.html">M</a> <a href="index-9.html">N</a> <a href="index-10.html">O</a> <a href="index-11.html">P</a> <a href="index-12.html">S</a> <a href="index-13.html">T</a> <a href="index-14.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant Field Values</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Fri Mar 28 11:13:18 EET 2025 -->
|
||||||
|
<title>S-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-28">
|
||||||
|
<meta name="description" content="index: S">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">B</a> <a href="index-2.html">C</a> <a href="index-3.html">D</a> <a href="index-4.html">G</a> <a href="index-5.html">I</a> <a href="index-6.html">K</a> <a href="index-7.html">L</a> <a href="index-8.html">M</a> <a href="index-9.html">N</a> <a href="index-10.html">O</a> <a href="index-11.html">P</a> <a href="index-12.html">S</a> <a href="index-13.html">T</a> <a href="index-14.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant Field Values</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:S">S</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setDeadline(java.time.LocalDate)" class="member-name-link">setDeadline(LocalDate)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setIdCounter(int)" class="member-name-link">setIdCounter(int)</a> - Static method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Asettaa luokan staattisen muuttujan tiettyyn arvoon</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setKuvaus(java.lang.String)" class="member-name-link">setKuvaus(String)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setOtsikko(java.lang.String)" class="member-name-link">setOtsikko(String)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setTila(com.example.harjoitustyo.Tehtava.Status)" class="member-name-link">setTila(Tehtava.Status)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Asettaa tehtävän tilan ja valmistumisPaiva kentän valmistumispäivään</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#start(javafx.stage.Stage)" class="member-name-link">start(Stage)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#%3Cinit%3E()" class="member-name-link">Status()</a> - Constructor for enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">B</a> <a href="index-2.html">C</a> <a href="index-3.html">D</a> <a href="index-4.html">G</a> <a href="index-5.html">I</a> <a href="index-6.html">K</a> <a href="index-7.html">L</a> <a href="index-8.html">M</a> <a href="index-9.html">N</a> <a href="index-10.html">O</a> <a href="index-11.html">P</a> <a href="index-12.html">S</a> <a href="index-13.html">T</a> <a href="index-14.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant Field Values</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,104 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Fri Mar 28 11:13:18 EET 2025 -->
|
||||||
|
<title>T-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-28">
|
||||||
|
<meta name="description" content="index: T">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">B</a> <a href="index-2.html">C</a> <a href="index-3.html">D</a> <a href="index-4.html">G</a> <a href="index-5.html">I</a> <a href="index-6.html">K</a> <a href="index-7.html">L</a> <a href="index-8.html">M</a> <a href="index-9.html">N</a> <a href="index-10.html">O</a> <a href="index-11.html">P</a> <a href="index-12.html">S</a> <a href="index-13.html">T</a> <a href="index-14.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant Field Values</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:T">T</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#taKuvaus" class="member-name-link">taKuvaus</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#tallenna()" class="member-name-link">tallenna()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Tallentaa tehtävälistan luokkaan määriteltyyn tiedostoon</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#tallennaTehtava()" class="member-name-link">tallennaTehtava()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Tallentaa kenttien tiedot valittuun tehtävään</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" class="type-name-link" title="class in com.example.harjoitustyo">Tehtava</a> - Class in <a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#%3Cinit%3E(java.lang.String,java.lang.String,java.time.LocalDate)" class="member-name-link">Tehtava(String, String, LocalDate)</a> - Constructor for class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" class="type-name-link" title="enum class in com.example.harjoitustyo">Tehtava.Status</a> - Enum Class in <a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#tehtavaFiltteri" class="member-name-link">tehtavaFiltteri</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#tehtavat" class="member-name-link">tehtavat</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#tehtavat" class="member-name-link">tehtavat</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" class="type-name-link" title="class in com.example.harjoitustyo">Tehtavat</a> - Class in <a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#%3Cinit%3E()" class="member-name-link">Tehtavat()</a> - Constructor for class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Luo Tehtavat olion, joka sisältää ohjelmassa käsiteltävät tehtävät
|
||||||
|
Hakee automaattisesti tiedostosta tehtävät, mikäli niitä on.</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#tfHakuteksti" class="member-name-link">tfHakuteksti</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#tfOtsikko" class="member-name-link">tfOtsikko</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#tfValmistumisPaiva" class="member-name-link">tfValmistumisPaiva</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#tiedostoPolku" class="member-name-link">tiedostoPolku</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#tila" class="member-name-link">tila</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#tvTehtavat" class="member-name-link">tvTehtavat</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">B</a> <a href="index-2.html">C</a> <a href="index-3.html">D</a> <a href="index-4.html">G</a> <a href="index-5.html">I</a> <a href="index-6.html">K</a> <a href="index-7.html">L</a> <a href="index-8.html">M</a> <a href="index-9.html">N</a> <a href="index-10.html">O</a> <a href="index-11.html">P</a> <a href="index-12.html">S</a> <a href="index-13.html">T</a> <a href="index-14.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant Field Values</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Fri Mar 28 11:13:18 EET 2025 -->
|
||||||
|
<title>V-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-28">
|
||||||
|
<meta name="description" content="index: V">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">B</a> <a href="index-2.html">C</a> <a href="index-3.html">D</a> <a href="index-4.html">G</a> <a href="index-5.html">I</a> <a href="index-6.html">K</a> <a href="index-7.html">L</a> <a href="index-8.html">M</a> <a href="index-9.html">N</a> <a href="index-10.html">O</a> <a href="index-11.html">P</a> <a href="index-12.html">S</a> <a href="index-13.html">T</a> <a href="index-14.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant Field Values</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:V">V</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#Vaiheessa" class="member-name-link">Vaiheessa</a> - Enum constant in enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#Valmis" class="member-name-link">Valmis</a> - Enum constant in enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#valmistumisPaiva" class="member-name-link">valmistumisPaiva</a> - Variable in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#valueOf(java.lang.String)" class="member-name-link">valueOf(String)</a> - Static method in enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Returns the enum constant of this class with the specified name.</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#values()" class="member-name-link">values()</a> - Static method in enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Returns an array containing the constants of this enum class, in
|
||||||
|
the order they are declared.</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">B</a> <a href="index-2.html">C</a> <a href="index-3.html">D</a> <a href="index-4.html">G</a> <a href="index-5.html">I</a> <a href="index-6.html">K</a> <a href="index-7.html">L</a> <a href="index-8.html">M</a> <a href="index-9.html">N</a> <a href="index-10.html">O</a> <a href="index-11.html">P</a> <a href="index-12.html">S</a> <a href="index-13.html">T</a> <a href="index-14.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant Field Values</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>G-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: G">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:G">G</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#get()" class="member-name-link">get()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Palauttaa tehtävälistan</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#getDeadline()" class="member-name-link">getDeadline()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#getId()" class="member-name-link">getId()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#getKuvaus()" class="member-name-link">getKuvaus()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#getLuontiPaiva()" class="member-name-link">getLuontiPaiva()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#getOtsikko()" class="member-name-link">getOtsikko()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#getTila()" class="member-name-link">getTila()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#getValmistumisPaiva()" class="member-name-link">getValmistumisPaiva()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>L-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: L">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:L">L</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#lisaa(com.example.harjoitustyo.Tehtava)" class="member-name-link">lisaa(Tehtava)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Lisää tehtävän listaan</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#lisaaTehtava()" class="member-name-link">lisaaTehtava()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Luo ikkunan, jossa käyttäjä voi luoda uuden tehtävän</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html#Luotu" class="member-name-link">Luotu</a> - Enum constant in enum class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>M-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: M">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:M">M</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#main(java.lang.String%5B%5D)" class="member-name-link">main(String[])</a> - Static method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Ohjelman entrypoint</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,75 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>N-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: N">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:N">N</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#naytaTehtava()" class="member-name-link">naytaTehtava()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Asettaa valitun tehtävän tiedot kenttiin</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#nollaaHakukentat()" class="member-name-link">nollaaHakukentat()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Nollaa yläpalkin hakukentät</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#nollaaKentat()" class="member-name-link">nollaaKentat()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Asettaa oletusarvot GUI:n tietokenttiin</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,88 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>P-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: P">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:P">P</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" class="type-name-link" title="class in com.example.harjoitustyo">Paaikkuna</a> - Class in <a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Ohjelman käyttöliittymä
|
||||||
|
Luokasta ei tarkoitus tehdä olioita</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#%3Cinit%3E()" class="member-name-link">Paaikkuna()</a> - Constructor for class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/PaivamaaraTableCell.html" class="type-name-link" title="class in com.example.harjoitustyo">PaivamaaraTableCell</a> - Class in <a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Kustomoitu TableCell, joka muokkaa sen sisältämän LocalDaten muotoon dd.MM.yyyy</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/PaivamaaraTableCell.html#%3Cinit%3E()" class="member-name-link">PaivamaaraTableCell()</a> - Constructor for class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/PaivamaaraTableCell.html" title="class in com.example.harjoitustyo">PaivamaaraTableCell</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#paivitaTehtavanakyma()" class="member-name-link">paivitaTehtavanakyma()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Päivittää tvTehtavat valittujen suodatusvalintojen mukaisesti</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#poista(com.example.harjoitustyo.Tehtava)" class="member-name-link">poista(Tehtava)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Poistaa tehtävän</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#poistaTehtava()" class="member-name-link">poistaTehtava()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Poistaa valitun tehtävän</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>S-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: S">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:S">S</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setDeadline(java.time.LocalDate)" class="member-name-link">setDeadline(LocalDate)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setIdCounter(int)" class="member-name-link">setIdCounter(int)</a> - Static method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Asettaa luokan staattisen muuttujan tiettyyn arvoon</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setKuvaus(java.lang.String)" class="member-name-link">setKuvaus(String)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setOtsikko(java.lang.String)" class="member-name-link">setOtsikko(String)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#setTila(com.example.harjoitustyo.Tehtava.Status)" class="member-name-link">setTila(Tehtava.Status)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Asettaa tehtävän tilan ja valmistumisPaiva kentän valmistumispäivään</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#start(javafx.stage.Stage)" class="member-name-link">start(Stage)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Piirtää ohjelman pääikkunan</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>T-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: T">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:T">T</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#tallenna()" class="member-name-link">tallenna()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Tallentaa tehtävälistan luokkaan määriteltyyn tiedostoon</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html#tallennaTehtava()" class="member-name-link">tallennaTehtava()</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" title="class in com.example.harjoitustyo">Paaikkuna</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Tallentaa kenttien tiedot valittuun tehtävään, käytetään tehtävän muutoksien tallentamiseen</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" class="type-name-link" title="class in com.example.harjoitustyo">Tehtava</a> - Class in <a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Ohjelman perustietoluokka</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html#%3Cinit%3E(java.lang.String,java.lang.String,java.time.LocalDate)" class="member-name-link">Tehtava(String, String, LocalDate)</a> - Constructor for class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">Tehtava</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Luo uuden tehtävän</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" class="type-name-link" title="enum class in com.example.harjoitustyo">Tehtava.Status</a> - Enum Class in <a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Enum tehtävän tilan seuraamiseen</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" class="type-name-link" title="class in com.example.harjoitustyo">Tehtavat</a> - Class in <a href="../com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Luokka, joka hoitaa tehtävien lukemisen ja kirjoittamisen tiedostoon</div>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html#%3Cinit%3E()" class="member-name-link">Tehtavat()</a> - Constructor for class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" title="class in com.example.harjoitustyo">Tehtavat</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Luo Tehtavat olion, joka sisältää ohjelmassa käsiteltävät tehtävät
|
||||||
|
Hakee automaattisesti tiedostosta tehtävät, mikäli niitä on.</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>U-Index</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index: U">
|
||||||
|
<meta name="generator" content="javadoc/IndexWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="../script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="index-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "../";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="../com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="../overview-tree.html">Tree</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Index</li>
|
||||||
|
<li><a href="../search.html">Search</a></li>
|
||||||
|
<li><a href="../help-doc.html#index">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1>Index</h1>
|
||||||
|
</div>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a>
|
||||||
|
<h2 class="title" id="I:U">U</h2>
|
||||||
|
<dl class="index">
|
||||||
|
<dt><a href="../com.example.harjoitustyo/com/example/harjoitustyo/PaivamaaraTableCell.html#updateItem(java.time.LocalDate,boolean)" class="member-name-link">updateItem(LocalDate, boolean)</a> - Method in class com.example.harjoitustyo.<a href="../com.example.harjoitustyo/com/example/harjoitustyo/PaivamaaraTableCell.html" title="class in com.example.harjoitustyo">PaivamaaraTableCell</a></dt>
|
||||||
|
<dd> </dd>
|
||||||
|
</dl>
|
||||||
|
<a href="index-1.html">C</a> <a href="index-2.html">G</a> <a href="index-3.html">L</a> <a href="index-4.html">M</a> <a href="index-5.html">N</a> <a href="index-6.html">P</a> <a href="index-7.html">S</a> <a href="index-8.html">T</a> <a href="index-9.html">U</a> <a href="index-10.html">V</a> <br><a href="../allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All Packages</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized Form</a></main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>Generated Documentation (Untitled)</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="index redirect">
|
||||||
|
<meta name="generator" content="javadoc/IndexRedirectWriter">
|
||||||
|
<link rel="canonical" href="com.example.harjoitustyo/module-summary.html">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript">window.location.replace('com.example.harjoitustyo/module-summary.html')</script>
|
||||||
|
<noscript>
|
||||||
|
<meta http-equiv="Refresh" content="0;com.example.harjoitustyo/module-summary.html">
|
||||||
|
</noscript>
|
||||||
|
</head>
|
||||||
|
<body class="index-redirect-page">
|
||||||
|
<main role="main">
|
||||||
|
<noscript>
|
||||||
|
<p>JavaScript is disabled on your browser.</p>
|
||||||
|
</noscript>
|
||||||
|
<p><a href="com.example.harjoitustyo/module-summary.html">com.example.harjoitustyo/module-summary.html</a></p>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
ADDITIONAL INFORMATION ABOUT LICENSING
|
||||||
|
|
||||||
|
Certain files distributed by Oracle America, Inc. and/or its affiliates are
|
||||||
|
subject to the following clarification and special exception to the GPLv2,
|
||||||
|
based on the GNU Project exception for its Classpath libraries, known as the
|
||||||
|
GNU Classpath Exception.
|
||||||
|
|
||||||
|
Note that Oracle includes multiple, independent programs in this software
|
||||||
|
package. Some of those programs are provided under licenses deemed
|
||||||
|
incompatible with the GPLv2 by the Free Software Foundation and others.
|
||||||
|
For example, the package includes programs licensed under the Apache
|
||||||
|
License, Version 2.0 and may include FreeType. Such programs are licensed
|
||||||
|
to you under their original licenses.
|
||||||
|
|
||||||
|
Oracle facilitates your further distribution of this package by adding the
|
||||||
|
Classpath Exception to the necessary parts of its GPLv2 code, which permits
|
||||||
|
you to use that code in combination with other independent modules not
|
||||||
|
licensed under the GPLv2. However, note that this would not permit you to
|
||||||
|
commingle code under an incompatible license with Oracle's GPLv2 licensed
|
||||||
|
code by, for example, cutting and pasting such code into a file also
|
||||||
|
containing Oracle's GPLv2 licensed code and then distributing the result.
|
||||||
|
|
||||||
|
Additionally, if you were to remove the Classpath Exception from any of the
|
||||||
|
files to which it applies and distribute the result, you would likely be
|
||||||
|
required to license some or all of the other code in that distribution under
|
||||||
|
the GPLv2 as well, and since the GPLv2 is incompatible with the license terms
|
||||||
|
of some items included in the distribution by Oracle, removing the Classpath
|
||||||
|
Exception could therefore effectively compromise your ability to further
|
||||||
|
distribute the package.
|
||||||
|
|
||||||
|
Failing to distribute notices associated with some files may also create
|
||||||
|
unexpected legal consequences.
|
||||||
|
|
||||||
|
Proceed with caution and we recommend that you obtain the advice of a lawyer
|
||||||
|
skilled in open source matters before removing the Classpath Exception or
|
||||||
|
making modifications to this package which may subsequently be redistributed
|
||||||
|
and/or involve the use of third party software.
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
OPENJDK ASSEMBLY EXCEPTION
|
||||||
|
|
||||||
|
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
|
||||||
|
openjdk.org ("OpenJDK Code") is distributed under the terms of the GNU
|
||||||
|
General Public License <https://www.gnu.org/copyleft/gpl.html> version 2
|
||||||
|
only ("GPL2"), with the following clarification and special exception.
|
||||||
|
|
||||||
|
Linking this OpenJDK Code statically or dynamically with other code
|
||||||
|
is making a combined work based on this library. Thus, the terms
|
||||||
|
and conditions of GPL2 cover the whole combination.
|
||||||
|
|
||||||
|
As a special exception, Oracle gives you permission to link this
|
||||||
|
OpenJDK Code with certain code licensed by Oracle as indicated at
|
||||||
|
https://openjdk.org/legal/exception-modules-2007-05-08.html
|
||||||
|
("Designated Exception Modules") to produce an executable,
|
||||||
|
regardless of the license terms of the Designated Exception Modules,
|
||||||
|
and to copy and distribute the resulting executable under GPL2,
|
||||||
|
provided that the Designated Exception Modules continue to be
|
||||||
|
governed by the licenses under which they were offered by Oracle.
|
||||||
|
|
||||||
|
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
|
||||||
|
to build an executable that includes those portions of necessary code that
|
||||||
|
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2
|
||||||
|
with the Classpath exception). If you modify or add to the OpenJDK code,
|
||||||
|
that new GPL2 code may still be combined with Designated Exception Modules
|
||||||
|
if the new code is made subject to this exception by its copyright holder.
|
||||||
@@ -0,0 +1,347 @@
|
|||||||
|
The GNU General Public License (GPL)
|
||||||
|
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||||
|
document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your freedom to share
|
||||||
|
and change it. By contrast, the GNU General Public License is intended to
|
||||||
|
guarantee your freedom to share and change free software--to make sure the
|
||||||
|
software is free for all its users. This General Public License applies to
|
||||||
|
most of the Free Software Foundation's software and to any other program whose
|
||||||
|
authors commit to using it. (Some other Free Software Foundation software is
|
||||||
|
covered by the GNU Library General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not price. Our
|
||||||
|
General Public Licenses are designed to make sure that you have the freedom to
|
||||||
|
distribute copies of free software (and charge for this service if you wish),
|
||||||
|
that you receive source code or can get it if you want it, that you can change
|
||||||
|
the software or use pieces of it in new free programs; and that you know you
|
||||||
|
can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid anyone to deny
|
||||||
|
you these rights or to ask you to surrender the rights. These restrictions
|
||||||
|
translate to certain responsibilities for you if you distribute copies of the
|
||||||
|
software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether gratis or for
|
||||||
|
a fee, you must give the recipients all the rights that you have. You must
|
||||||
|
make sure that they, too, receive or can get the source code. And you must
|
||||||
|
show them these terms so they know their rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and (2)
|
||||||
|
offer you this license which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain that
|
||||||
|
everyone understands that there is no warranty for this free software. If the
|
||||||
|
software is modified by someone else and passed on, we want its recipients to
|
||||||
|
know that what they have is not the original, so that any problems introduced
|
||||||
|
by others will not reflect on the original authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software patents. We
|
||||||
|
wish to avoid the danger that redistributors of a free program will
|
||||||
|
individually obtain patent licenses, in effect making the program proprietary.
|
||||||
|
To prevent this, we have made it clear that any patent must be licensed for
|
||||||
|
everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and modification
|
||||||
|
follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains a notice
|
||||||
|
placed by the copyright holder saying it may be distributed under the terms of
|
||||||
|
this General Public License. The "Program", below, refers to any such program
|
||||||
|
or work, and a "work based on the Program" means either the Program or any
|
||||||
|
derivative work under copyright law: that is to say, a work containing the
|
||||||
|
Program or a portion of it, either verbatim or with modifications and/or
|
||||||
|
translated into another language. (Hereinafter, translation is included
|
||||||
|
without limitation in the term "modification".) Each licensee is addressed as
|
||||||
|
"you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not covered by
|
||||||
|
this License; they are outside its scope. The act of running the Program is
|
||||||
|
not restricted, and the output from the Program is covered only if its contents
|
||||||
|
constitute a work based on the Program (independent of having been made by
|
||||||
|
running the Program). Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's source code as
|
||||||
|
you receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice and
|
||||||
|
disclaimer of warranty; keep intact all the notices that refer to this License
|
||||||
|
and to the absence of any warranty; and give any other recipients of the
|
||||||
|
Program a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and you may
|
||||||
|
at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion of it, thus
|
||||||
|
forming a work based on the Program, and copy and distribute such modifications
|
||||||
|
or work under the terms of Section 1 above, provided that you also meet all of
|
||||||
|
these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices stating
|
||||||
|
that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in whole or
|
||||||
|
in part contains or is derived from the Program or any part thereof, to be
|
||||||
|
licensed as a whole at no charge to all third parties under the terms of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively when run,
|
||||||
|
you must cause it, when started running for such interactive use in the
|
||||||
|
most ordinary way, to print or display an announcement including an
|
||||||
|
appropriate copyright notice and a notice that there is no warranty (or
|
||||||
|
else, saying that you provide a warranty) and that users may redistribute
|
||||||
|
the program under these conditions, and telling the user how to view a copy
|
||||||
|
of this License. (Exception: if the Program itself is interactive but does
|
||||||
|
not normally print such an announcement, your work based on the Program is
|
||||||
|
not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If identifiable
|
||||||
|
sections of that work are not derived from the Program, and can be reasonably
|
||||||
|
considered independent and separate works in themselves, then this License, and
|
||||||
|
its terms, do not apply to those sections when you distribute them as separate
|
||||||
|
works. But when you distribute the same sections as part of a whole which is a
|
||||||
|
work based on the Program, the distribution of the whole must be on the terms
|
||||||
|
of this License, whose permissions for other licensees extend to the entire
|
||||||
|
whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest your
|
||||||
|
rights to work written entirely by you; rather, the intent is to exercise the
|
||||||
|
right to control the distribution of derivative or collective works based on
|
||||||
|
the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program with the
|
||||||
|
Program (or with a work based on the Program) on a volume of a storage or
|
||||||
|
distribution medium does not bring the other work under the scope of this
|
||||||
|
License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it, under
|
||||||
|
Section 2) in object code or executable form under the terms of Sections 1 and
|
||||||
|
2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable source
|
||||||
|
code, which must be distributed under the terms of Sections 1 and 2 above
|
||||||
|
on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three years, to
|
||||||
|
give any third party, for a charge no more than your cost of physically
|
||||||
|
performing source distribution, a complete machine-readable copy of the
|
||||||
|
corresponding source code, to be distributed under the terms of Sections 1
|
||||||
|
and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer to
|
||||||
|
distribute corresponding source code. (This alternative is allowed only
|
||||||
|
for noncommercial distribution and only if you received the program in
|
||||||
|
object code or executable form with such an offer, in accord with
|
||||||
|
Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for making
|
||||||
|
modifications to it. For an executable work, complete source code means all
|
||||||
|
the source code for all modules it contains, plus any associated interface
|
||||||
|
definition files, plus the scripts used to control compilation and installation
|
||||||
|
of the executable. However, as a special exception, the source code
|
||||||
|
distributed need not include anything that is normally distributed (in either
|
||||||
|
source or binary form) with the major components (compiler, kernel, and so on)
|
||||||
|
of the operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering access to copy
|
||||||
|
from a designated place, then offering equivalent access to copy the source
|
||||||
|
code from the same place counts as distribution of the source code, even though
|
||||||
|
third parties are not compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program except as
|
||||||
|
expressly provided under this License. Any attempt otherwise to copy, modify,
|
||||||
|
sublicense or distribute the Program is void, and will automatically terminate
|
||||||
|
your rights under this License. However, parties who have received copies, or
|
||||||
|
rights, from you under this License will not have their licenses terminated so
|
||||||
|
long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not signed it.
|
||||||
|
However, nothing else grants you permission to modify or distribute the Program
|
||||||
|
or its derivative works. These actions are prohibited by law if you do not
|
||||||
|
accept this License. Therefore, by modifying or distributing the Program (or
|
||||||
|
any work based on the Program), you indicate your acceptance of this License to
|
||||||
|
do so, and all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the Program),
|
||||||
|
the recipient automatically receives a license from the original licensor to
|
||||||
|
copy, distribute or modify the Program subject to these terms and conditions.
|
||||||
|
You may not impose any further restrictions on the recipients' exercise of the
|
||||||
|
rights granted herein. You are not responsible for enforcing compliance by
|
||||||
|
third parties to this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues), conditions
|
||||||
|
are imposed on you (whether by court order, agreement or otherwise) that
|
||||||
|
contradict the conditions of this License, they do not excuse you from the
|
||||||
|
conditions of this License. If you cannot distribute so as to satisfy
|
||||||
|
simultaneously your obligations under this License and any other pertinent
|
||||||
|
obligations, then as a consequence you may not distribute the Program at all.
|
||||||
|
For example, if a patent license would not permit royalty-free redistribution
|
||||||
|
of the Program by all those who receive copies directly or indirectly through
|
||||||
|
you, then the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under any
|
||||||
|
particular circumstance, the balance of the section is intended to apply and
|
||||||
|
the section as a whole is intended to apply in other circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any patents or
|
||||||
|
other property right claims or to contest validity of any such claims; this
|
||||||
|
section has the sole purpose of protecting the integrity of the free software
|
||||||
|
distribution system, which is implemented by public license practices. Many
|
||||||
|
people have made generous contributions to the wide range of software
|
||||||
|
distributed through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing to
|
||||||
|
distribute software through any other system and a licensee cannot impose that
|
||||||
|
choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to be a
|
||||||
|
consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in certain
|
||||||
|
countries either by patents or by copyrighted interfaces, the original
|
||||||
|
copyright holder who places the Program under this License may add an explicit
|
||||||
|
geographical distribution limitation excluding those countries, so that
|
||||||
|
distribution is permitted only in or among countries not thus excluded. In
|
||||||
|
such case, this License incorporates the limitation as if written in the body
|
||||||
|
of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions of the
|
||||||
|
General Public License from time to time. Such new versions will be similar in
|
||||||
|
spirit to the present version, but may differ in detail to address new problems
|
||||||
|
or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any later
|
||||||
|
version", you have the option of following the terms and conditions either of
|
||||||
|
that version or of any later version published by the Free Software Foundation.
|
||||||
|
If the Program does not specify a version number of this License, you may
|
||||||
|
choose any version ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free programs
|
||||||
|
whose distribution conditions are different, write to the author to ask for
|
||||||
|
permission. For software which is copyrighted by the Free Software Foundation,
|
||||||
|
write to the Free Software Foundation; we sometimes make exceptions for this.
|
||||||
|
Our decision will be guided by the two goals of preserving the free status of
|
||||||
|
all derivatives of our free software and of promoting the sharing and reuse of
|
||||||
|
software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
|
||||||
|
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
|
||||||
|
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
|
||||||
|
PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
|
||||||
|
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
|
||||||
|
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
|
||||||
|
YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
|
||||||
|
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
|
||||||
|
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
|
||||||
|
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
|
||||||
|
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
|
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
|
||||||
|
OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest possible
|
||||||
|
use to the public, the best way to achieve this is to make it free software
|
||||||
|
which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest to attach
|
||||||
|
them to the start of each source file to most effectively convey the exclusion
|
||||||
|
of warranty; and each file should have at least the "copyright" line and a
|
||||||
|
pointer to where the full notice is found.
|
||||||
|
|
||||||
|
One line to give the program's name and a brief idea of what it does.
|
||||||
|
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU General Public License as published by the Free
|
||||||
|
Software Foundation; either version 2 of the License, or (at your option)
|
||||||
|
any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along
|
||||||
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this when it
|
||||||
|
starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
|
||||||
|
with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free
|
||||||
|
software, and you are welcome to redistribute it under certain conditions;
|
||||||
|
type 'show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands 'show w' and 'show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, the commands you use may be
|
||||||
|
called something other than 'show w' and 'show c'; they could even be
|
||||||
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary. Here
|
||||||
|
is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
|
'Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
|
signature of Ty Coon, 1 April 1989
|
||||||
|
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into
|
||||||
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
|
consider it more useful to permit linking proprietary applications with the
|
||||||
|
library. If this is what you want to do, use the GNU Library General Public
|
||||||
|
License instead of this License.
|
||||||
|
|
||||||
|
|
||||||
|
"CLASSPATH" EXCEPTION TO THE GPL
|
||||||
|
|
||||||
|
Certain source files distributed by Oracle America and/or its affiliates are
|
||||||
|
subject to the following clarification and special exception to the GPL, but
|
||||||
|
only where Oracle has expressly included in the particular source file's header
|
||||||
|
the words "Oracle designates this particular file as subject to the "Classpath"
|
||||||
|
exception as provided by Oracle in the LICENSE file that accompanied this code."
|
||||||
|
|
||||||
|
Linking this library statically or dynamically with other modules is making
|
||||||
|
a combined work based on this library. Thus, the terms and conditions of
|
||||||
|
the GNU General Public License cover the whole combination.
|
||||||
|
|
||||||
|
As a special exception, the copyright holders of this library give you
|
||||||
|
permission to link this library with independent modules to produce an
|
||||||
|
executable, regardless of the license terms of these independent modules,
|
||||||
|
and to copy and distribute the resulting executable under terms of your
|
||||||
|
choice, provided that you also meet, for each linked independent module,
|
||||||
|
the terms and conditions of the license of that module. An independent
|
||||||
|
module is a module which is not derived from or based on this library. If
|
||||||
|
you modify this library, you may extend this exception to your version of
|
||||||
|
the library, but you are not obligated to do so. If you do not wish to do
|
||||||
|
so, delete this exception statement from your version.
|
||||||
@@ -0,0 +1,191 @@
|
|||||||
|
## DejaVu fonts v2.37
|
||||||
|
|
||||||
|
### DejaVu License
|
||||||
|
<pre>
|
||||||
|
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
|
||||||
|
Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below)
|
||||||
|
|
||||||
|
|
||||||
|
Bitstream Vera Fonts Copyright
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
|
||||||
|
a trademark of Bitstream, Inc.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of the fonts accompanying this license ("Fonts") and associated
|
||||||
|
documentation files (the "Font Software"), to reproduce and distribute the
|
||||||
|
Font Software, including without limitation the rights to use, copy, merge,
|
||||||
|
publish, distribute, and/or sell copies of the Font Software, and to permit
|
||||||
|
persons to whom the Font Software is furnished to do so, subject to the
|
||||||
|
following conditions:
|
||||||
|
|
||||||
|
The above copyright and trademark notices and this permission notice shall
|
||||||
|
be included in all copies of one or more of the Font Software typefaces.
|
||||||
|
|
||||||
|
The Font Software may be modified, altered, or added to, and in particular
|
||||||
|
the designs of glyphs or characters in the Fonts may be modified and
|
||||||
|
additional glyphs or characters may be added to the Fonts, only if the fonts
|
||||||
|
are renamed to names not containing either the words "Bitstream" or the word
|
||||||
|
"Vera".
|
||||||
|
|
||||||
|
This License becomes null and void to the extent applicable to Fonts or Font
|
||||||
|
Software that has been modified and is distributed under the "Bitstream
|
||||||
|
Vera" names.
|
||||||
|
|
||||||
|
The Font Software may be sold as part of a larger software package but no
|
||||||
|
copy of one or more of the Font Software typefaces may be sold by itself.
|
||||||
|
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
|
||||||
|
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
|
||||||
|
FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
|
||||||
|
ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
|
||||||
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
||||||
|
THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
|
||||||
|
FONT SOFTWARE.
|
||||||
|
|
||||||
|
Except as contained in this notice, the names of Gnome, the Gnome
|
||||||
|
Foundation, and Bitstream Inc., shall not be used in advertising or
|
||||||
|
otherwise to promote the sale, use or other dealings in this Font Software
|
||||||
|
without prior written authorization from the Gnome Foundation or Bitstream
|
||||||
|
Inc., respectively. For further information, contact: fonts at gnome dot
|
||||||
|
org.
|
||||||
|
|
||||||
|
Arev Fonts Copyright
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the fonts accompanying this license ("Fonts") and
|
||||||
|
associated documentation files (the "Font Software"), to reproduce
|
||||||
|
and distribute the modifications to the Bitstream Vera Font Software,
|
||||||
|
including without limitation the rights to use, copy, merge, publish,
|
||||||
|
distribute, and/or sell copies of the Font Software, and to permit
|
||||||
|
persons to whom the Font Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright and trademark notices and this permission notice
|
||||||
|
shall be included in all copies of one or more of the Font Software
|
||||||
|
typefaces.
|
||||||
|
|
||||||
|
The Font Software may be modified, altered, or added to, and in
|
||||||
|
particular the designs of glyphs or characters in the Fonts may be
|
||||||
|
modified and additional glyphs or characters may be added to the
|
||||||
|
Fonts, only if the fonts are renamed to names not containing either
|
||||||
|
the words "Tavmjong Bah" or the word "Arev".
|
||||||
|
|
||||||
|
This License becomes null and void to the extent applicable to Fonts
|
||||||
|
or Font Software that has been modified and is distributed under the
|
||||||
|
"Tavmjong Bah Arev" names.
|
||||||
|
|
||||||
|
The Font Software may be sold as part of a larger software package but
|
||||||
|
no copy of one or more of the Font Software typefaces may be sold by
|
||||||
|
itself.
|
||||||
|
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
|
||||||
|
TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
|
|
||||||
|
Except as contained in this notice, the name of Tavmjong Bah shall not
|
||||||
|
be used in advertising or otherwise to promote the sale, use or other
|
||||||
|
dealings in this Font Software without prior written authorization
|
||||||
|
from Tavmjong Bah. For further information, contact: tavmjong @ free
|
||||||
|
. fr.
|
||||||
|
|
||||||
|
TeX Gyre DJV Math
|
||||||
|
-----------------
|
||||||
|
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
|
||||||
|
|
||||||
|
Math extensions done by B. Jackowski, P. Strzelczyk and P. Pianowski
|
||||||
|
(on behalf of TeX users groups) are in public domain.
|
||||||
|
|
||||||
|
Letters imported from Euler Fraktur from AMSfonts are (c) American
|
||||||
|
Mathematical Society (see below).
|
||||||
|
Bitstream Vera Fonts Copyright
|
||||||
|
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera
|
||||||
|
is a trademark of Bitstream, Inc.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of the fonts accompanying this license ("Fonts") and associated
|
||||||
|
documentation
|
||||||
|
files (the "Font Software"), to reproduce and distribute the Font Software,
|
||||||
|
including without limitation the rights to use, copy, merge, publish,
|
||||||
|
distribute,
|
||||||
|
and/or sell copies of the Font Software, and to permit persons to whom
|
||||||
|
the Font Software is furnished to do so, subject to the following
|
||||||
|
conditions:
|
||||||
|
|
||||||
|
The above copyright and trademark notices and this permission notice
|
||||||
|
shall be
|
||||||
|
included in all copies of one or more of the Font Software typefaces.
|
||||||
|
|
||||||
|
The Font Software may be modified, altered, or added to, and in particular
|
||||||
|
the designs of glyphs or characters in the Fonts may be modified and
|
||||||
|
additional
|
||||||
|
glyphs or characters may be added to the Fonts, only if the fonts are
|
||||||
|
renamed
|
||||||
|
to names not containing either the words "Bitstream" or the word "Vera".
|
||||||
|
|
||||||
|
This License becomes null and void to the extent applicable to Fonts or
|
||||||
|
Font Software
|
||||||
|
that has been modified and is distributed under the "Bitstream Vera"
|
||||||
|
names.
|
||||||
|
|
||||||
|
The Font Software may be sold as part of a larger software package but
|
||||||
|
no copy
|
||||||
|
of one or more of the Font Software typefaces may be sold by itself.
|
||||||
|
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
|
||||||
|
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
|
||||||
|
FOUNDATION
|
||||||
|
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL,
|
||||||
|
SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN
|
||||||
|
ACTION
|
||||||
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR
|
||||||
|
INABILITY TO USE
|
||||||
|
THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
|
Except as contained in this notice, the names of GNOME, the GNOME
|
||||||
|
Foundation,
|
||||||
|
and Bitstream Inc., shall not be used in advertising or otherwise to promote
|
||||||
|
the sale, use or other dealings in this Font Software without prior written
|
||||||
|
authorization from the GNOME Foundation or Bitstream Inc., respectively.
|
||||||
|
For further information, contact: fonts at gnome dot org.
|
||||||
|
|
||||||
|
AMSFonts (v. 2.2) copyright
|
||||||
|
|
||||||
|
The PostScript Type 1 implementation of the AMSFonts produced by and
|
||||||
|
previously distributed by Blue Sky Research and Y&Y, Inc. are now freely
|
||||||
|
available for general use. This has been accomplished through the
|
||||||
|
cooperation
|
||||||
|
of a consortium of scientific publishers with Blue Sky Research and Y&Y.
|
||||||
|
Members of this consortium include:
|
||||||
|
|
||||||
|
Elsevier Science IBM Corporation Society for Industrial and Applied
|
||||||
|
Mathematics (SIAM) Springer-Verlag American Mathematical Society (AMS)
|
||||||
|
|
||||||
|
In order to assure the authenticity of these fonts, copyright will be
|
||||||
|
held by
|
||||||
|
the American Mathematical Society. This is not meant to restrict in any way
|
||||||
|
the legitimate use of the fonts, such as (but not limited to) electronic
|
||||||
|
distribution of documents containing these fonts, inclusion of these fonts
|
||||||
|
into other public domain or commercial font collections or computer
|
||||||
|
applications, use of the outline data to create derivative fonts and/or
|
||||||
|
faces, etc. However, the AMS does require that the AMS copyright notice be
|
||||||
|
removed from any derivative versions of the fonts which have been altered in
|
||||||
|
any way. In addition, to ensure the fidelity of TeX documents using Computer
|
||||||
|
Modern fonts, Professor Donald Knuth, creator of the Computer Modern faces,
|
||||||
|
has requested that any alterations which yield different font metrics be
|
||||||
|
given a different name.
|
||||||
|
|
||||||
|
</pre>
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
## jQuery v3.7.1
|
||||||
|
|
||||||
|
### jQuery License
|
||||||
|
```
|
||||||
|
jQuery v 3.7.1
|
||||||
|
Copyright OpenJS Foundation and other contributors, https://openjsf.org/
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
```
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
## jQuery UI v1.13.2
|
||||||
|
|
||||||
|
### jQuery UI License
|
||||||
|
```
|
||||||
|
Copyright jQuery Foundation and other contributors, https://jquery.org/
|
||||||
|
|
||||||
|
This software consists of voluntary contributions made by many
|
||||||
|
individuals. For exact contribution history, see the revision history
|
||||||
|
available at https://github.com/jquery/jquery-ui
|
||||||
|
|
||||||
|
The following license applies to all parts of this software except as
|
||||||
|
documented below:
|
||||||
|
|
||||||
|
====
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
====
|
||||||
|
|
||||||
|
Copyright and related rights for sample code are waived via CC0. Sample
|
||||||
|
code is defined as all source code contained within the demos directory.
|
||||||
|
|
||||||
|
CC0: http://creativecommons.org/publicdomain/zero/1.0/
|
||||||
|
|
||||||
|
====
|
||||||
|
|
||||||
|
All files located in the node_modules and external directories are
|
||||||
|
externally maintained libraries used by this software which have their
|
||||||
|
own licenses; we recommend you read them, as their terms may differ from
|
||||||
|
the terms above.
|
||||||
|
|
||||||
|
```
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
memberSearchIndex = [{"p":"com.example.harjoitustyo","c":"Tehtavat","l":"get()"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"getDeadline()"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"getId()"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"getKuvaus()"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"getLuontiPaiva()"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"getOtsikko()"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"getTila()"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"getValmistumisPaiva()"},{"p":"com.example.harjoitustyo","c":"Tehtavat","l":"lisaa(Tehtava)","u":"lisaa(com.example.harjoitustyo.Tehtava)"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"lisaaTehtava()"},{"p":"com.example.harjoitustyo","c":"Tehtava.Status","l":"Luotu"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"naytaTehtava()"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"nollaaHakukentat()"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"nollaaKentat()"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"Paaikkuna()","u":"%3Cinit%3E()"},{"p":"com.example.harjoitustyo","c":"PaivamaaraTableCell","l":"PaivamaaraTableCell()","u":"%3Cinit%3E()"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"paivitaTehtavanakyma()"},{"p":"com.example.harjoitustyo","c":"Tehtavat","l":"poista(Tehtava)","u":"poista(com.example.harjoitustyo.Tehtava)"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"poistaTehtava()"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"setDeadline(LocalDate)","u":"setDeadline(java.time.LocalDate)"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"setIdCounter(int)"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"setKuvaus(String)","u":"setKuvaus(java.lang.String)"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"setOtsikko(String)","u":"setOtsikko(java.lang.String)"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"setTila(Tehtava.Status)","u":"setTila(com.example.harjoitustyo.Tehtava.Status)"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"start(Stage)","u":"start(javafx.stage.Stage)"},{"p":"com.example.harjoitustyo","c":"Tehtavat","l":"tallenna()"},{"p":"com.example.harjoitustyo","c":"Paaikkuna","l":"tallennaTehtava()"},{"p":"com.example.harjoitustyo","c":"Tehtava","l":"Tehtava(String, String, LocalDate)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.time.LocalDate)"},{"p":"com.example.harjoitustyo","c":"Tehtavat","l":"Tehtavat()","u":"%3Cinit%3E()"},{"p":"com.example.harjoitustyo","c":"PaivamaaraTableCell","l":"updateItem(LocalDate, boolean)","u":"updateItem(java.time.LocalDate,boolean)"},{"p":"com.example.harjoitustyo","c":"Tehtava.Status","l":"Vaiheessa"},{"p":"com.example.harjoitustyo","c":"Tehtava.Status","l":"Valmis"},{"p":"com.example.harjoitustyo","c":"Tehtava.Status","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.example.harjoitustyo","c":"Tehtava.Status","l":"values()"}];updateSearchResults();
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
moduleSearchIndex = [{"l":"com.example.harjoitustyo"}];updateSearchResults();
|
||||||
@@ -0,0 +1,126 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>Class Hierarchy</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="class tree">
|
||||||
|
<meta name="generator" content="javadoc/TreeWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="tree-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "./";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Tree</li>
|
||||||
|
<li><a href="index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="search.html">Search</a></li>
|
||||||
|
<li><a href="help-doc.html#tree">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1 class="title">Hierarchy For All Packages</h1>
|
||||||
|
</div>
|
||||||
|
<span class="package-hierarchy-label">Package Hierarchies:</span>
|
||||||
|
<ul class="horizontal contents-list">
|
||||||
|
<li><a href="com.example.harjoitustyo/com/example/harjoitustyo/package-tree.html">com.example.harjoitustyo</a></li>
|
||||||
|
</ul>
|
||||||
|
<section class="hierarchy">
|
||||||
|
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" class="type-name-link external-link" title="class or interface in java.lang">Object</a>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.application.Application
|
||||||
|
<ul>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="com.example.harjoitustyo/com/example/harjoitustyo/Paaikkuna.html" class="type-name-link" title="class in com.example.harjoitustyo">Paaikkuna</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="circle">javafx.scene.Node (implements javafx.event.EventTarget, javafx.css.Styleable)
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.Parent
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.layout.Region
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.Control (implements javafx.scene.control.Skinnable)
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.Labeled
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.Cell<T>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.IndexedCell<T>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">javafx.scene.control.TableCell<S,<wbr>T>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="com.example.harjoitustyo/com/example/harjoitustyo/PaivamaaraTableCell.html" class="type-name-link" title="class in com.example.harjoitustyo">PaivamaaraTableCell</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" class="type-name-link" title="class in com.example.harjoitustyo">Tehtava</a> (implements java.io.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a>)</li>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtavat.html" class="type-name-link" title="class in com.example.harjoitustyo">Tehtavat</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="hierarchy">
|
||||||
|
<h2 title="Enum Class Hierarchy">Enum Class Hierarchy</h2>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" class="type-name-link external-link" title="class or interface in java.lang">Object</a>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html" class="type-name-link external-link" title="class or interface in java.lang">Enum</a><E> (implements java.lang.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a><T>, java.lang.constant.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/constant/Constable.html" title="class or interface in java.lang.constant" class="external-link">Constable</a>, java.io.<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a>)
|
||||||
|
<ul>
|
||||||
|
<li class="circle">com.example.harjoitustyo.<a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" class="type-name-link" title="enum class in com.example.harjoitustyo">Tehtava.Status</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"m":"com.example.harjoitustyo","l":"com.example.harjoitustyo"}];updateSearchResults();
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
|
||||||
|
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 380 460" fill="#505050">
|
||||||
|
<path
|
||||||
|
d="M 346,8 H 108 C 90,8 75,23 75,41 v 316 c 0,18 15,33 33,33 h 238 c 18,0 33,-15 33,-33 V 41 C 379,23 364,8 346,8 Z m -8,344 H 116 c -2,0 -3,-1 -3,-3 V 49 c 0,-2 1,-3 3,-3 h 222 c 2,0 3,1 3,3 v 300 h 10e-4 c 0,2 -1,3 -3,3 z"/>
|
||||||
|
<path
|
||||||
|
d="m 290,389 v 26 h 10e-4 c 0,2 -1,3 -3,3 H 49 c -2,0 -3,-1 -3,-3 V 99 c 0,-2 1,-3 3,-3 h 27 v 0 l -5e-4,-38 H 41 C 23,58 8,73 8,91 v 332 c 10e-4,18 15,33 33,33 h 254 c 18,0 33,-15 33,-33 v -34"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 845 B |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,104 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* DejaVu fonts v2.37 */
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Sans Mono';
|
||||||
|
src: url('DejaVuLGCSansMono.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSansMono.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Sans Mono';
|
||||||
|
src: url('DejaVuLGCSansMono-Oblique.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSansMono-Oblique.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Sans Mono';
|
||||||
|
src: url('DejaVuLGCSansMono-Bold.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSansMono-Bold.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Sans Mono';
|
||||||
|
src: url('DejaVuLGCSansMono-BoldOblique.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSansMono-BoldOblique.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Sans';
|
||||||
|
src: url('DejaVuLGCSans.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSans.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Sans';
|
||||||
|
src: url('DejaVuLGCSans-Oblique.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSans-Oblique.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Sans';
|
||||||
|
src: url('DejaVuLGCSans-Bold.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSans-Bold.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Sans';
|
||||||
|
src: url('DejaVuLGCSans-BoldOblique.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSans-BoldOblique.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Serif';
|
||||||
|
src: url('DejaVuLGCSerif.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSerif.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Serif';
|
||||||
|
src: url('DejaVuLGCSerif-Italic.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSerif-Italic.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Serif';
|
||||||
|
src: url('DejaVuLGCSerif-Bold.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSerif-Bold.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DejaVu Serif';
|
||||||
|
src: url('DejaVuLGCSerif-BoldItalic.woff2') format('woff2'),
|
||||||
|
url('DejaVuLGCSerif-BoldItalic.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 499 B |
@@ -0,0 +1,6 @@
|
|||||||
|
/*! jQuery UI - v1.13.2 - 2023-02-27
|
||||||
|
* http://jqueryui.com
|
||||||
|
* Includes: core.css, autocomplete.css, menu.css
|
||||||
|
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
||||||
|
|
||||||
|
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;-ms-filter:"alpha(opacity=0)"}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
|
||||||
|
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="#505050">
|
||||||
|
<path d="M32 239.3c18.2 16.7 57.1 15.4 74.5-1.7l30.9-32c8.3-8.8 4.8-15.1.7-19.9-4.7-3-12-8.1-20.4.5l-29.4 29.6a29.4 29.4 0 0 1-39.4.9l-8-7c-8.8-9.4-11-28.3-.8-38.8l49.8-51.3c7.2-6.6 21.3-10 36.1-2.4 6.9 5.4 15.6 15.7 26 6.2 9.9-11.2 2.9-20.4-10-29.3-18.7-12.6-52-14.8-70.4 3.8L17 154.2c-20 20.2-11.3 58 1.7 71.5a69 69 0 0 0 13.2 13.6z"/>
|
||||||
|
<path d="M223.2 17.5c-18.4-16.6-57.3-15.3-74.6 2l-30.8 31.9c-8.3 9-4.8 15.2-.7 20 4.8 3 12.1 8 20.5-.6 4.8-5 29.3-29.6 29.3-29.6a29.4 29.4 0 0 1 39.4-1l8 6.8c8.8 9.5 11 28.3.9 38.9l-49.6 51.4c-7.2 6.7-21.3 10.1-36.1 2.6-7-5.4-15.7-15.7-26.1-6.2-9.8 11.2-2.8 20.4 10.2 29.3 18.7 12.5 52 14.7 70.3-4l54.4-56.5c20-20.3 11.2-58-1.9-71.5a69 69 0 0 0-13.2-13.5Z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 394 B |
File diff suppressed because one or more lines are too long
+6
File diff suppressed because one or more lines are too long
@@ -0,0 +1,467 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
|
||||||
|
*/
|
||||||
|
|
||||||
|
var moduleSearchIndex;
|
||||||
|
var packageSearchIndex;
|
||||||
|
var typeSearchIndex;
|
||||||
|
var memberSearchIndex;
|
||||||
|
var tagSearchIndex;
|
||||||
|
|
||||||
|
var oddRowColor = "odd-row-color";
|
||||||
|
var evenRowColor = "even-row-color";
|
||||||
|
var sortAsc = "sort-asc";
|
||||||
|
var sortDesc = "sort-desc";
|
||||||
|
var tableTab = "table-tab";
|
||||||
|
var activeTableTab = "active-table-tab";
|
||||||
|
|
||||||
|
const linkIcon = "Link icon";
|
||||||
|
const linkToSection = "Link to this section";
|
||||||
|
|
||||||
|
function loadScripts(doc, tag) {
|
||||||
|
createElem(doc, tag, 'script-files/search.js');
|
||||||
|
|
||||||
|
createElem(doc, tag, 'module-search-index.js');
|
||||||
|
createElem(doc, tag, 'package-search-index.js');
|
||||||
|
createElem(doc, tag, 'type-search-index.js');
|
||||||
|
createElem(doc, tag, 'member-search-index.js');
|
||||||
|
createElem(doc, tag, 'tag-search-index.js');
|
||||||
|
}
|
||||||
|
|
||||||
|
function createElem(doc, tag, path) {
|
||||||
|
var script = doc.createElement(tag);
|
||||||
|
var scriptElement = doc.getElementsByTagName(tag)[0];
|
||||||
|
script.src = pathtoroot + path;
|
||||||
|
scriptElement.parentNode.insertBefore(script, scriptElement);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Helper for making content containing release names comparable lexicographically
|
||||||
|
function makeComparable(s) {
|
||||||
|
return s.toLowerCase().replace(/(\d+)/g,
|
||||||
|
function(n, m) {
|
||||||
|
return ("000" + m).slice(-4);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Switches between two styles depending on a condition
|
||||||
|
function toggleStyle(classList, condition, trueStyle, falseStyle) {
|
||||||
|
if (condition) {
|
||||||
|
classList.remove(falseStyle);
|
||||||
|
classList.add(trueStyle);
|
||||||
|
} else {
|
||||||
|
classList.remove(trueStyle);
|
||||||
|
classList.add(falseStyle);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sorts the rows in a table lexicographically by the content of a specific column
|
||||||
|
function sortTable(header, columnIndex, columns) {
|
||||||
|
var container = header.parentElement;
|
||||||
|
var descending = header.classList.contains(sortAsc);
|
||||||
|
container.querySelectorAll("div.table-header").forEach(
|
||||||
|
function(header) {
|
||||||
|
header.classList.remove(sortAsc);
|
||||||
|
header.classList.remove(sortDesc);
|
||||||
|
}
|
||||||
|
)
|
||||||
|
var cells = container.children;
|
||||||
|
var rows = [];
|
||||||
|
for (var i = columns; i < cells.length; i += columns) {
|
||||||
|
rows.push(Array.prototype.slice.call(cells, i, i + columns));
|
||||||
|
}
|
||||||
|
var comparator = function(a, b) {
|
||||||
|
var ka = makeComparable(a[columnIndex].textContent);
|
||||||
|
var kb = makeComparable(b[columnIndex].textContent);
|
||||||
|
if (ka < kb)
|
||||||
|
return descending ? 1 : -1;
|
||||||
|
if (ka > kb)
|
||||||
|
return descending ? -1 : 1;
|
||||||
|
return 0;
|
||||||
|
};
|
||||||
|
var sorted = rows.sort(comparator);
|
||||||
|
var visible = 0;
|
||||||
|
sorted.forEach(function(row) {
|
||||||
|
if (row[0].style.display !== 'none') {
|
||||||
|
var isEvenRow = visible++ % 2 === 0;
|
||||||
|
}
|
||||||
|
row.forEach(function(cell) {
|
||||||
|
toggleStyle(cell.classList, isEvenRow, evenRowColor, oddRowColor);
|
||||||
|
container.appendChild(cell);
|
||||||
|
})
|
||||||
|
});
|
||||||
|
toggleStyle(header.classList, descending, sortDesc, sortAsc);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Toggles the visibility of a table category in all tables in a page
|
||||||
|
function toggleGlobal(checkbox, selected, columns) {
|
||||||
|
const display = checkbox.checked ? '' : 'none';
|
||||||
|
const selectOther = selected === "other";
|
||||||
|
const selectAll = selected === "all";
|
||||||
|
if (selectAll) {
|
||||||
|
document.querySelectorAll('.checkboxes input[type="checkbox"]').forEach(c => {
|
||||||
|
c.checked = checkbox.checked;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
document.querySelectorAll("div.table-tabs").forEach(t => {
|
||||||
|
const id = t.parentElement.getAttribute("id");
|
||||||
|
const selectedClass = id + "-tab" + (selectOther ? "" : selected);
|
||||||
|
var visible = 0;
|
||||||
|
t.parentElement.querySelectorAll('div.' + id)
|
||||||
|
.forEach(function(elem) {
|
||||||
|
if (selectAll
|
||||||
|
|| (!selectOther && elem.classList.contains(selectedClass))
|
||||||
|
|| (selectOther && elem.className.indexOf(selectedClass) < 0)) {
|
||||||
|
elem.style.display = display;
|
||||||
|
}
|
||||||
|
if (elem.style.display === '') {
|
||||||
|
var isEvenRow = visible++ % (columns * 2) < columns;
|
||||||
|
toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
var displaySection = visible === 0 ? 'none' : '';
|
||||||
|
t.parentElement.style.display = displaySection;
|
||||||
|
document.querySelector("li#contents-" + id).style.display = displaySection;
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// Shows the elements of a table belonging to a specific category
|
||||||
|
function show(tableId, selected, columns) {
|
||||||
|
if (tableId !== selected) {
|
||||||
|
document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')')
|
||||||
|
.forEach(function(elem) {
|
||||||
|
elem.style.display = 'none';
|
||||||
|
});
|
||||||
|
}
|
||||||
|
document.querySelectorAll('div.' + selected)
|
||||||
|
.forEach(function(elem, index) {
|
||||||
|
elem.style.display = '';
|
||||||
|
var isEvenRow = index % (columns * 2) < columns;
|
||||||
|
toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor);
|
||||||
|
});
|
||||||
|
updateTabs(tableId, selected);
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateTabs(tableId, selected) {
|
||||||
|
document.getElementById(tableId + '.tabpanel')
|
||||||
|
.setAttribute('aria-labelledby', selected);
|
||||||
|
document.querySelectorAll('button[id^="' + tableId + '"]')
|
||||||
|
.forEach(function(tab, index) {
|
||||||
|
if (selected === tab.id || (tableId === selected && index === 0)) {
|
||||||
|
tab.className = activeTableTab;
|
||||||
|
tab.setAttribute('aria-selected', true);
|
||||||
|
tab.setAttribute('tabindex',0);
|
||||||
|
} else {
|
||||||
|
tab.className = tableTab;
|
||||||
|
tab.setAttribute('aria-selected', false);
|
||||||
|
tab.setAttribute('tabindex',-1);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function switchTab(e) {
|
||||||
|
var selected = document.querySelector('[aria-selected=true]');
|
||||||
|
if (selected) {
|
||||||
|
if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) {
|
||||||
|
// left or up arrow key pressed: move focus to previous tab
|
||||||
|
selected.previousSibling.click();
|
||||||
|
selected.previousSibling.focus();
|
||||||
|
e.preventDefault();
|
||||||
|
} else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) {
|
||||||
|
// right or down arrow key pressed: move focus to next tab
|
||||||
|
selected.nextSibling.click();
|
||||||
|
selected.nextSibling.focus();
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var updateSearchResults = function() {};
|
||||||
|
|
||||||
|
function indexFilesLoaded() {
|
||||||
|
return moduleSearchIndex
|
||||||
|
&& packageSearchIndex
|
||||||
|
&& typeSearchIndex
|
||||||
|
&& memberSearchIndex
|
||||||
|
&& tagSearchIndex;
|
||||||
|
}
|
||||||
|
// Copy the contents of the local snippet to the clipboard
|
||||||
|
function copySnippet(button) {
|
||||||
|
copyToClipboard(button.nextElementSibling.innerText);
|
||||||
|
switchCopyLabel(button, button.firstElementChild);
|
||||||
|
}
|
||||||
|
function copyToClipboard(content) {
|
||||||
|
var textarea = document.createElement("textarea");
|
||||||
|
textarea.style.height = 0;
|
||||||
|
document.body.appendChild(textarea);
|
||||||
|
textarea.value = content;
|
||||||
|
textarea.select();
|
||||||
|
document.execCommand("copy");
|
||||||
|
document.body.removeChild(textarea);
|
||||||
|
}
|
||||||
|
function switchCopyLabel(button, span) {
|
||||||
|
var copied = span.getAttribute("data-copied");
|
||||||
|
button.classList.add("visible");
|
||||||
|
var initialLabel = span.innerHTML;
|
||||||
|
span.innerHTML = copied;
|
||||||
|
setTimeout(function() {
|
||||||
|
button.classList.remove("visible");
|
||||||
|
setTimeout(function() {
|
||||||
|
if (initialLabel !== copied) {
|
||||||
|
span.innerHTML = initialLabel;
|
||||||
|
}
|
||||||
|
}, 100);
|
||||||
|
}, 1900);
|
||||||
|
}
|
||||||
|
function setTopMargin() {
|
||||||
|
// Dynamically set scroll margin to accomodate for draft header
|
||||||
|
var headerHeight = Math.ceil(document.querySelector("header").offsetHeight);
|
||||||
|
document.querySelector(":root")
|
||||||
|
.style.setProperty("--nav-height", headerHeight + "px");
|
||||||
|
}
|
||||||
|
document.addEventListener("readystatechange", (e) => {
|
||||||
|
if (document.readyState === "interactive") {
|
||||||
|
setTopMargin();
|
||||||
|
}
|
||||||
|
if (sessionStorage.getItem("sidebar") === "hidden") {
|
||||||
|
const sidebar = document.querySelector(".main-grid nav.toc");
|
||||||
|
if (sidebar) sidebar.classList.add("hide-sidebar");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
document.addEventListener("DOMContentLoaded", function(e) {
|
||||||
|
setTopMargin();
|
||||||
|
// Make sure current element is visible in breadcrumb navigation on small displays
|
||||||
|
const subnav = document.querySelector("ol.sub-nav-list");
|
||||||
|
if (subnav && subnav.lastElementChild) {
|
||||||
|
subnav.lastElementChild.scrollIntoView({ behavior: "instant", inline: "start", block: "nearest" });
|
||||||
|
}
|
||||||
|
// Clone TOC sidebar to header for mobile navigation
|
||||||
|
const navbar = document.querySelector("div#navbar-top");
|
||||||
|
const sidebar = document.querySelector(".main-grid nav.toc");
|
||||||
|
const main = document.querySelector(".main-grid main");
|
||||||
|
const mainnav = navbar.querySelector("ul.nav-list");
|
||||||
|
const toggleButton = document.querySelector("button#navbar-toggle-button");
|
||||||
|
const toc = sidebar ? sidebar.cloneNode(true) : null;
|
||||||
|
if (toc) {
|
||||||
|
navbar.appendChild(toc);
|
||||||
|
}
|
||||||
|
document.querySelectorAll("input.filter-input").forEach(function(input) {
|
||||||
|
input.removeAttribute("disabled");
|
||||||
|
input.setAttribute("autocapitalize", "off");
|
||||||
|
input.value = "";
|
||||||
|
input.addEventListener("input", function(e) {
|
||||||
|
const pattern = input.value ? input.value.trim()
|
||||||
|
.replace(/[\[\]{}()*+?.\\^$|]/g, '\\$&')
|
||||||
|
.replace(/\s+/g, ".*") : "";
|
||||||
|
input.nextElementSibling.style.display = pattern ? "inline" : "none";
|
||||||
|
const filter = new RegExp(pattern, "i");
|
||||||
|
input.parentNode.parentNode.querySelectorAll("ol.toc-list li").forEach((li) => {
|
||||||
|
if (filter.test(li.innerText)) {
|
||||||
|
li.removeAttribute("style");
|
||||||
|
} else {
|
||||||
|
li.style.display = "none";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if (expanded) {
|
||||||
|
expand();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
document.querySelectorAll("input.reset-filter").forEach((button) => {
|
||||||
|
button.removeAttribute("disabled");
|
||||||
|
button.addEventListener("click", (e) => {
|
||||||
|
const input = button.previousElementSibling;
|
||||||
|
input.value = "";
|
||||||
|
input.dispatchEvent(new InputEvent("input"));
|
||||||
|
input.focus();
|
||||||
|
if (expanded) {
|
||||||
|
expand();
|
||||||
|
} else {
|
||||||
|
prevHash = null;
|
||||||
|
handleScroll();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
});
|
||||||
|
var expanded = false;
|
||||||
|
var windowWidth;
|
||||||
|
function collapse() {
|
||||||
|
if (expanded) {
|
||||||
|
mainnav.removeAttribute("style");
|
||||||
|
if (toc) {
|
||||||
|
toc.removeAttribute("style");
|
||||||
|
}
|
||||||
|
toggleButton.classList.remove("expanded")
|
||||||
|
toggleButton.setAttribute("aria-expanded", "false");
|
||||||
|
expanded = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function expand() {
|
||||||
|
expanded = true;
|
||||||
|
mainnav.style.display = "block";
|
||||||
|
mainnav.style.removeProperty("height");
|
||||||
|
var maxHeight = window.innerHeight - subnav.offsetTop + 4;
|
||||||
|
var expandedHeight = Math.min(maxHeight, mainnav.scrollHeight + 10);
|
||||||
|
if (toc) {
|
||||||
|
toc.style.display = "flex";
|
||||||
|
expandedHeight = Math.min(maxHeight,
|
||||||
|
Math.max(expandedHeight, toc.querySelector("div.toc-header").offsetHeight
|
||||||
|
+ toc.querySelector("ol.toc-list").scrollHeight + 10));
|
||||||
|
toc.style.height = expandedHeight + "px";
|
||||||
|
}
|
||||||
|
mainnav.style.height = expandedHeight + "px";
|
||||||
|
toggleButton.classList.add("expanded");
|
||||||
|
toggleButton.setAttribute("aria-expanded", "true");
|
||||||
|
windowWidth = window.innerWidth;
|
||||||
|
}
|
||||||
|
toggleButton.addEventListener("click", (e) => {
|
||||||
|
if (expanded) {
|
||||||
|
collapse();
|
||||||
|
} else {
|
||||||
|
expand();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if (toc) {
|
||||||
|
toc.querySelectorAll("a").forEach((link) => {
|
||||||
|
link.addEventListener("click", collapse);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
document.addEventListener('keydown', (e) => {
|
||||||
|
if (e.key === "Escape") collapse();
|
||||||
|
});
|
||||||
|
document.querySelector("main").addEventListener("click", collapse);
|
||||||
|
const searchInput = document.getElementById("search-input");
|
||||||
|
if (searchInput) searchInput.addEventListener("focus", collapse);
|
||||||
|
document.querySelectorAll("h1, h2, h3, h4, h5, h6")
|
||||||
|
.forEach((hdr, idx) => {
|
||||||
|
// Create anchor links for headers with an associated id attribute
|
||||||
|
var id = hdr.getAttribute("id") || hdr.parentElement.getAttribute("id")
|
||||||
|
|| (hdr.querySelector("a") && hdr.querySelector("a").getAttribute("id"));
|
||||||
|
if (id) {
|
||||||
|
var template = document.createElement('template');
|
||||||
|
template.innerHTML =" <a href='#" + encodeURI(id) + "' class='anchor-link' aria-label='" + linkToSection
|
||||||
|
+ "'><img src='" + pathtoroot + "resource-files/link.svg' alt='" + linkIcon +"' tabindex='0'"
|
||||||
|
+ " width='16' height='16'></a>";
|
||||||
|
hdr.append(...template.content.childNodes);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
var sections;
|
||||||
|
var scrollTimeout;
|
||||||
|
var scrollTimeoutNeeded;
|
||||||
|
var prevHash;
|
||||||
|
function initSectionData() {
|
||||||
|
sections = [{ id: "", top: 0 }].concat(Array.from(main.querySelectorAll("section[id], h2[id], h2 a[id], div[id]"))
|
||||||
|
.filter((e) => {
|
||||||
|
return sidebar.querySelector("a[href=\"#" + encodeURI(e.getAttribute("id")) + "\"]") !== null
|
||||||
|
}).map((e) => {
|
||||||
|
return {
|
||||||
|
id: e.getAttribute("id"),
|
||||||
|
top: e.offsetTop
|
||||||
|
};
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
function setScrollTimeout() {
|
||||||
|
clearTimeout(scrollTimeout);
|
||||||
|
scrollTimeoutNeeded = false;
|
||||||
|
scrollTimeout = setTimeout(() => {
|
||||||
|
scrollTimeout = null;
|
||||||
|
handleScroll();
|
||||||
|
}, 100);
|
||||||
|
}
|
||||||
|
function handleScroll() {
|
||||||
|
if (!sidebar || !sidebar.offsetParent || sidebar.classList.contains("hide-sidebar")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (scrollTimeout || scrollTimeoutNeeded) {
|
||||||
|
setScrollTimeout();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var scrollTop = document.documentElement.scrollTop;
|
||||||
|
var scrollHeight = document.documentElement.scrollHeight;
|
||||||
|
var currHash = null;
|
||||||
|
if (scrollHeight - scrollTop < window.innerHeight + 10) {
|
||||||
|
// Select last item if at bottom of the page
|
||||||
|
currHash = "#" + encodeURI(sections.at(-1).id);
|
||||||
|
} else {
|
||||||
|
for (var i = 0; i < sections.length; i++) {
|
||||||
|
var top = sections[i].top;
|
||||||
|
var bottom = sections[i + 1] ? sections[i + 1].top : scrollHeight;
|
||||||
|
if (top + ((bottom - top) / 2) > scrollTop || bottom > scrollTop + (window.innerHeight / 3)) {
|
||||||
|
currHash = "#" + encodeURI(sections[i].id);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (currHash !== prevHash) {
|
||||||
|
setSelected(currHash);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function setSelected(hash) {
|
||||||
|
var prev = sidebar.querySelector("a.current-selection");
|
||||||
|
if (prev)
|
||||||
|
prev.classList.remove("current-selection");
|
||||||
|
prevHash = hash;
|
||||||
|
if (hash) {
|
||||||
|
var curr = sidebar.querySelector("ol.toc-list a[href=\"" + hash + "\"]");
|
||||||
|
if (curr) {
|
||||||
|
curr.classList.add("current-selection");
|
||||||
|
curr.scrollIntoView({ behavior: "instant", block: "nearest" });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (sidebar) {
|
||||||
|
initSectionData();
|
||||||
|
document.querySelectorAll("a[href^='#']").forEach((link) => {
|
||||||
|
link.addEventListener("click", (e) => {
|
||||||
|
scrollTimeoutNeeded = true;
|
||||||
|
setSelected(link.getAttribute("href"));
|
||||||
|
})
|
||||||
|
});
|
||||||
|
sidebar.querySelector("button.hide-sidebar").addEventListener("click", () => {
|
||||||
|
sidebar.classList.add("hide-sidebar");
|
||||||
|
sessionStorage.setItem("sidebar", "hidden");
|
||||||
|
});
|
||||||
|
sidebar.querySelector("button.show-sidebar").addEventListener("click", () => {
|
||||||
|
sidebar.classList.remove("hide-sidebar");
|
||||||
|
sessionStorage.removeItem("sidebar");
|
||||||
|
initSectionData();
|
||||||
|
handleScroll();
|
||||||
|
});
|
||||||
|
window.addEventListener("hashchange", (e) => {
|
||||||
|
scrollTimeoutNeeded = true;
|
||||||
|
});
|
||||||
|
if (document.location.hash) {
|
||||||
|
scrollTimeoutNeeded = true;
|
||||||
|
setSelected(document.location.hash);
|
||||||
|
} else {
|
||||||
|
handleScroll();
|
||||||
|
}
|
||||||
|
window.addEventListener("scroll", handleScroll);
|
||||||
|
window.addEventListener("scrollend", () => {
|
||||||
|
if (scrollTimeout) {
|
||||||
|
clearTimeout(scrollTimeout);
|
||||||
|
scrollTimeout = null;
|
||||||
|
handleScroll();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// Resize handler
|
||||||
|
function handleResize(e) {
|
||||||
|
if (expanded) {
|
||||||
|
if (windowWidth !== window.innerWidth) {
|
||||||
|
collapse();
|
||||||
|
} else {
|
||||||
|
expand();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (sections) {
|
||||||
|
initSectionData();
|
||||||
|
prevHash = null;
|
||||||
|
handleScroll();
|
||||||
|
}
|
||||||
|
setTopMargin();
|
||||||
|
}
|
||||||
|
window.addEventListener("orientationchange", handleResize);
|
||||||
|
window.addEventListener("resize", handleResize);
|
||||||
|
});
|
||||||
@@ -0,0 +1,267 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
|
||||||
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
$(function() {
|
||||||
|
var copy = $("#page-search-copy");
|
||||||
|
var expand = $("#page-search-expand");
|
||||||
|
var searchLink = $("span#page-search-link");
|
||||||
|
var redirect = $("input#search-redirect");
|
||||||
|
function setSearchUrlTemplate() {
|
||||||
|
var href = document.location.href.split(/[#?]/)[0];
|
||||||
|
href += "?q=" + "%s";
|
||||||
|
if (redirect.is(":checked")) {
|
||||||
|
href += "&r=1";
|
||||||
|
}
|
||||||
|
searchLink.html(href);
|
||||||
|
copy[0].onmouseenter();
|
||||||
|
}
|
||||||
|
function copyLink(e) {
|
||||||
|
copyToClipboard(this.previousSibling.innerText);
|
||||||
|
switchCopyLabel(this, this.lastElementChild);
|
||||||
|
}
|
||||||
|
copy.click(copyLink);
|
||||||
|
copy[0].onmouseenter = function() {};
|
||||||
|
redirect.click(setSearchUrlTemplate);
|
||||||
|
setSearchUrlTemplate();
|
||||||
|
copy.prop("disabled", false);
|
||||||
|
redirect.prop("disabled", false);
|
||||||
|
expand.click(function (e) {
|
||||||
|
var searchInfo = $("div.page-search-info");
|
||||||
|
if(this.parentElement.hasAttribute("open")) {
|
||||||
|
searchInfo.attr("style", "border-width: 0;");
|
||||||
|
} else {
|
||||||
|
searchInfo.attr("style", "border-width: 1px;").height(searchInfo.prop("scrollHeight"));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
$(window).on("load", function() {
|
||||||
|
var input = $("#page-search-input");
|
||||||
|
var reset = $("#page-search-reset");
|
||||||
|
var notify = $("#page-search-notify");
|
||||||
|
var resultSection = $("div#result-section");
|
||||||
|
var resultContainer = $("div#result-container");
|
||||||
|
var searchTerm = "";
|
||||||
|
var activeTab = "";
|
||||||
|
var fixedTab = false;
|
||||||
|
var visibleTabs = [];
|
||||||
|
var feelingLucky = false;
|
||||||
|
function renderResults(result) {
|
||||||
|
if (!result.length) {
|
||||||
|
notify.html(messages.noResult);
|
||||||
|
} else if (result.length === 1) {
|
||||||
|
notify.html(messages.oneResult);
|
||||||
|
} else {
|
||||||
|
notify.html(messages.manyResults.replace("{0}", result.length));
|
||||||
|
}
|
||||||
|
resultContainer.empty();
|
||||||
|
var r = {
|
||||||
|
"types": [],
|
||||||
|
"members": [],
|
||||||
|
"packages": [],
|
||||||
|
"modules": [],
|
||||||
|
"searchTags": []
|
||||||
|
};
|
||||||
|
for (var i in result) {
|
||||||
|
var item = result[i];
|
||||||
|
var arr = r[item.category];
|
||||||
|
arr.push(item);
|
||||||
|
}
|
||||||
|
if (!activeTab || r[activeTab].length === 0 || !fixedTab) {
|
||||||
|
Object.keys(r).reduce(function(prev, curr) {
|
||||||
|
if (r[curr].length > 0 && r[curr][0].score > prev) {
|
||||||
|
activeTab = curr;
|
||||||
|
return r[curr][0].score;
|
||||||
|
}
|
||||||
|
return prev;
|
||||||
|
}, 0);
|
||||||
|
}
|
||||||
|
if (feelingLucky && activeTab) {
|
||||||
|
notify.html(messages.redirecting)
|
||||||
|
var firstItem = r[activeTab][0];
|
||||||
|
window.location = getURL(firstItem.indexItem, firstItem.category);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (result.length > 20) {
|
||||||
|
if (searchTerm[searchTerm.length - 1] === ".") {
|
||||||
|
if (activeTab === "types" && r["members"].length > r["types"].length) {
|
||||||
|
activeTab = "members";
|
||||||
|
} else if (activeTab === "packages" && r["types"].length > r["packages"].length) {
|
||||||
|
activeTab = "types";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var categoryCount = Object.keys(r).reduce(function(prev, curr) {
|
||||||
|
return prev + (r[curr].length > 0 ? 1 : 0);
|
||||||
|
}, 0);
|
||||||
|
visibleTabs = [];
|
||||||
|
var tabContainer = $("<div class='table-tabs'></div>").appendTo(resultContainer);
|
||||||
|
for (var key in r) {
|
||||||
|
var id = "#result-tab-" + key.replace("searchTags", "search_tags");
|
||||||
|
if (r[key].length) {
|
||||||
|
var count = r[key].length >= 1000 ? "999+" : r[key].length;
|
||||||
|
if (result.length > 20 && categoryCount > 1) {
|
||||||
|
var button = $("<button id='result-tab-" + key
|
||||||
|
+ "' class='page-search-header'><span>" + categories[key] + "</span>"
|
||||||
|
+ "<span style='font-weight: normal'> (" + count + ")</span></button>").appendTo(tabContainer);
|
||||||
|
button.click(key, function(e) {
|
||||||
|
fixedTab = true;
|
||||||
|
renderResult(e.data, $(this));
|
||||||
|
});
|
||||||
|
visibleTabs.push(key);
|
||||||
|
} else {
|
||||||
|
$("<span class='page-search-header active-table-tab'>" + categories[key]
|
||||||
|
+ "<span style='font-weight: normal'> (" + count + ")</span></span>").appendTo(tabContainer);
|
||||||
|
renderTable(key, r[key]).appendTo(resultContainer);
|
||||||
|
tabContainer = $("<div class='table-tabs'></div>").appendTo(resultContainer);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (activeTab && result.length > 20 && categoryCount > 1) {
|
||||||
|
$("button#result-tab-" + activeTab).addClass("active-table-tab");
|
||||||
|
renderTable(activeTab, r[activeTab]).appendTo(resultContainer);
|
||||||
|
}
|
||||||
|
resultSection.show();
|
||||||
|
function renderResult(category, button) {
|
||||||
|
activeTab = category;
|
||||||
|
setSearchUrl();
|
||||||
|
resultContainer.find("div.summary-table").remove();
|
||||||
|
renderTable(activeTab, r[activeTab]).appendTo(resultContainer);
|
||||||
|
button.siblings().removeClass("active-table-tab");
|
||||||
|
button.addClass("active-table-tab");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function selectTab(category) {
|
||||||
|
$("button#result-tab-" + category).click();
|
||||||
|
}
|
||||||
|
function renderTable(category, items) {
|
||||||
|
var table = $("<div class='summary-table'>")
|
||||||
|
.addClass(category === "modules"
|
||||||
|
? "one-column-search-results"
|
||||||
|
: "two-column-search-results");
|
||||||
|
var col1, col2;
|
||||||
|
if (category === "modules") {
|
||||||
|
col1 = "Module";
|
||||||
|
} else if (category === "packages") {
|
||||||
|
col1 = "Module";
|
||||||
|
col2 = "Package";
|
||||||
|
} else if (category === "types") {
|
||||||
|
col1 = "Package";
|
||||||
|
col2 = "Class"
|
||||||
|
} else if (category === "members") {
|
||||||
|
col1 = "Class";
|
||||||
|
col2 = "Member";
|
||||||
|
} else if (category === "searchTags") {
|
||||||
|
col1 = "Location";
|
||||||
|
col2 = "Name";
|
||||||
|
}
|
||||||
|
$("<div class='table-header col-plain'>" + col1 + "</div>").appendTo(table);
|
||||||
|
if (category !== "modules") {
|
||||||
|
$("<div class='table-header col-plain'>" + col2 + "</div>").appendTo(table);
|
||||||
|
}
|
||||||
|
$.each(items, function(index, item) {
|
||||||
|
var rowColor = index % 2 ? "odd-row-color" : "even-row-color";
|
||||||
|
renderItem(item, table, rowColor);
|
||||||
|
});
|
||||||
|
return table;
|
||||||
|
}
|
||||||
|
function renderItem(item, table, rowColor) {
|
||||||
|
var label = getHighlightedText(item.input, item.boundaries, item.prefix.length, item.input.length);
|
||||||
|
var link = $("<a/>")
|
||||||
|
.attr("href", getURL(item.indexItem, item.category))
|
||||||
|
.attr("tabindex", "0")
|
||||||
|
.addClass("search-result-link")
|
||||||
|
.html(label);
|
||||||
|
var container = getHighlightedText(item.input, item.boundaries, 0, item.prefix.length - 1);
|
||||||
|
if (item.category === "searchTags") {
|
||||||
|
container = item.indexItem.h || "";
|
||||||
|
}
|
||||||
|
if (item.category !== "modules") {
|
||||||
|
$("<div/>").html(container).addClass("col-plain").addClass(rowColor).appendTo(table);
|
||||||
|
}
|
||||||
|
$("<div/>").html(link).addClass("col-last").addClass(rowColor).appendTo(table);
|
||||||
|
}
|
||||||
|
var timeout;
|
||||||
|
function schedulePageSearch() {
|
||||||
|
if (timeout) {
|
||||||
|
clearTimeout(timeout);
|
||||||
|
}
|
||||||
|
timeout = setTimeout(function () {
|
||||||
|
doPageSearch()
|
||||||
|
}, 100);
|
||||||
|
}
|
||||||
|
function doPageSearch() {
|
||||||
|
setSearchUrl();
|
||||||
|
var term = searchTerm = input.val().trim();
|
||||||
|
if (term === "") {
|
||||||
|
notify.html(messages.enterTerm);
|
||||||
|
activeTab = "";
|
||||||
|
fixedTab = false;
|
||||||
|
resultContainer.empty();
|
||||||
|
resultSection.hide();
|
||||||
|
} else {
|
||||||
|
notify.html(messages.searching);
|
||||||
|
doSearch({ term: term, maxResults: 1200 }, renderResults);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function setSearchUrl() {
|
||||||
|
var query = input.val().trim();
|
||||||
|
var url = document.location.pathname;
|
||||||
|
if (query) {
|
||||||
|
url += "?q=" + encodeURI(query);
|
||||||
|
if (activeTab && fixedTab) {
|
||||||
|
url += "&c=" + activeTab;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
history.replaceState({query: query}, "", url);
|
||||||
|
}
|
||||||
|
input.on("input", function(e) {
|
||||||
|
feelingLucky = false;
|
||||||
|
schedulePageSearch();
|
||||||
|
});
|
||||||
|
$(document).keydown(function(e) {
|
||||||
|
if ((e.ctrlKey || e.metaKey) && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
|
||||||
|
if (activeTab && visibleTabs.length > 1) {
|
||||||
|
var idx = visibleTabs.indexOf(activeTab);
|
||||||
|
idx += e.key === "ArrowLeft" ? visibleTabs.length - 1 : 1;
|
||||||
|
selectTab(visibleTabs[idx % visibleTabs.length]);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
reset.click(function() {
|
||||||
|
notify.html(messages.enterTerm);
|
||||||
|
resultSection.hide();
|
||||||
|
activeTab = "";
|
||||||
|
fixedTab = false;
|
||||||
|
resultContainer.empty();
|
||||||
|
input.val('').focus();
|
||||||
|
setSearchUrl();
|
||||||
|
});
|
||||||
|
input.prop("disabled", false);
|
||||||
|
input.attr("autocapitalize", "off");
|
||||||
|
reset.prop("disabled", false);
|
||||||
|
|
||||||
|
var urlParams = new URLSearchParams(window.location.search);
|
||||||
|
if (urlParams.has("q")) {
|
||||||
|
input.val(urlParams.get("q"))
|
||||||
|
}
|
||||||
|
if (urlParams.has("c")) {
|
||||||
|
activeTab = urlParams.get("c");
|
||||||
|
fixedTab = true;
|
||||||
|
}
|
||||||
|
if (urlParams.get("r")) {
|
||||||
|
feelingLucky = true;
|
||||||
|
}
|
||||||
|
if (input.val()) {
|
||||||
|
doPageSearch();
|
||||||
|
} else {
|
||||||
|
notify.html(messages.enterTerm);
|
||||||
|
}
|
||||||
|
input.select().focus();
|
||||||
|
});
|
||||||
@@ -0,0 +1,436 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
|
||||||
|
*/
|
||||||
|
"use strict";
|
||||||
|
const messages = {
|
||||||
|
enterTerm: "Enter a search term",
|
||||||
|
noResult: "No results found",
|
||||||
|
oneResult: "Found one result",
|
||||||
|
manyResults: "Found {0} results",
|
||||||
|
loading: "Loading search index...",
|
||||||
|
searching: "Searching...",
|
||||||
|
redirecting: "Redirecting to first result...",
|
||||||
|
}
|
||||||
|
const categories = {
|
||||||
|
modules: "Modules",
|
||||||
|
packages: "Packages",
|
||||||
|
types: "Classes and Interfaces",
|
||||||
|
members: "Members",
|
||||||
|
searchTags: "Search Tags"
|
||||||
|
};
|
||||||
|
const highlight = "<span class='result-highlight'>$&</span>";
|
||||||
|
const NO_MATCH = {};
|
||||||
|
const MAX_RESULTS = 300;
|
||||||
|
const UNICODE_LETTER = 0;
|
||||||
|
const UNICODE_DIGIT = 1;
|
||||||
|
const UNICODE_OTHER = 2;
|
||||||
|
function checkUnnamed(name, separator) {
|
||||||
|
return name === "<Unnamed>" || !name ? "" : name + separator;
|
||||||
|
}
|
||||||
|
function escapeHtml(str) {
|
||||||
|
return str.replace(/</g, "<").replace(/>/g, ">");
|
||||||
|
}
|
||||||
|
function getHighlightedText(str, boundaries, from, to) {
|
||||||
|
var start = from;
|
||||||
|
var text = "";
|
||||||
|
for (var i = 0; i < boundaries.length; i += 2) {
|
||||||
|
var b0 = boundaries[i];
|
||||||
|
var b1 = boundaries[i + 1];
|
||||||
|
if (b0 >= to || b1 <= from) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
text += escapeHtml(str.slice(start, Math.max(start, b0)));
|
||||||
|
text += "<span class='result-highlight'>";
|
||||||
|
text += escapeHtml(str.slice(Math.max(start, b0), Math.min(to, b1)));
|
||||||
|
text += "</span>";
|
||||||
|
start = Math.min(to, b1);
|
||||||
|
}
|
||||||
|
text += escapeHtml(str.slice(start, to));
|
||||||
|
return text;
|
||||||
|
}
|
||||||
|
function getURLPrefix(item, category) {
|
||||||
|
var urlPrefix = "";
|
||||||
|
var slash = "/";
|
||||||
|
if (category === "modules") {
|
||||||
|
return item.l + slash;
|
||||||
|
} else if (category === "packages" && item.m) {
|
||||||
|
return item.m + slash;
|
||||||
|
} else if (category === "types" || category === "members") {
|
||||||
|
if (item.m) {
|
||||||
|
urlPrefix = item.m + slash;
|
||||||
|
} else {
|
||||||
|
$.each(packageSearchIndex, function(index, it) {
|
||||||
|
if (it.m && item.p === it.l) {
|
||||||
|
urlPrefix = it.m + slash;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return urlPrefix;
|
||||||
|
}
|
||||||
|
function getURL(item, category) {
|
||||||
|
if (item.url) {
|
||||||
|
return item.url;
|
||||||
|
}
|
||||||
|
var url = getURLPrefix(item, category);
|
||||||
|
if (category === "modules") {
|
||||||
|
url += "module-summary.html";
|
||||||
|
} else if (category === "packages") {
|
||||||
|
if (item.u) {
|
||||||
|
url = item.u;
|
||||||
|
} else {
|
||||||
|
url += item.l.replace(/\./g, '/') + "/package-summary.html";
|
||||||
|
}
|
||||||
|
} else if (category === "types") {
|
||||||
|
if (item.u) {
|
||||||
|
url = item.u;
|
||||||
|
} else {
|
||||||
|
url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.l + ".html";
|
||||||
|
}
|
||||||
|
} else if (category === "members") {
|
||||||
|
url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.c + ".html" + "#";
|
||||||
|
if (item.u) {
|
||||||
|
url += item.u;
|
||||||
|
} else {
|
||||||
|
url += item.l;
|
||||||
|
}
|
||||||
|
} else if (category === "searchTags") {
|
||||||
|
url += item.u;
|
||||||
|
}
|
||||||
|
item.url = url;
|
||||||
|
return url;
|
||||||
|
}
|
||||||
|
function createMatcher(term, camelCase) {
|
||||||
|
if (camelCase && !isUpperCase(term)) {
|
||||||
|
return null; // no need for camel-case matcher for lower case query
|
||||||
|
}
|
||||||
|
var pattern = "";
|
||||||
|
var upperCase = [];
|
||||||
|
term.trim().split(/\s+/).forEach(function(w, index, array) {
|
||||||
|
var tokens = w.split(/(?=[\p{Lu},.()<>?[\/])/u);
|
||||||
|
for (var i = 0; i < tokens.length; i++) {
|
||||||
|
var s = tokens[i];
|
||||||
|
// ',' and '?' are the only delimiters commonly followed by space in java signatures
|
||||||
|
pattern += "(" + escapeUnicodeRegex(s).replace(/[,?]/g, "$&\\s*?") + ")";
|
||||||
|
upperCase.push(false);
|
||||||
|
var isWordToken = /[\p{L}\p{Nd}_]$/u.test(s);
|
||||||
|
if (isWordToken) {
|
||||||
|
if (i === tokens.length - 1 && index < array.length - 1) {
|
||||||
|
// space in query string matches all delimiters
|
||||||
|
pattern += "(.*?)";
|
||||||
|
upperCase.push(isUpperCase(s[0]));
|
||||||
|
} else {
|
||||||
|
if (!camelCase && isUpperCase(s) && s.length === 1) {
|
||||||
|
pattern += "()";
|
||||||
|
} else {
|
||||||
|
pattern += "([\\p{L}\\p{Nd}\\p{Sc}<>?[\\]]*?)";
|
||||||
|
}
|
||||||
|
upperCase.push(isUpperCase(s[0]));
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
pattern += "()";
|
||||||
|
upperCase.push(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
var re = new RegExp(pattern, "gui");
|
||||||
|
re.upperCase = upperCase;
|
||||||
|
return re;
|
||||||
|
}
|
||||||
|
// Unicode regular expressions do not allow certain characters to be escaped
|
||||||
|
function escapeUnicodeRegex(pattern) {
|
||||||
|
return pattern.replace(/[\[\]{}()*+?.\\^$|\s]/g, '\\$&');
|
||||||
|
}
|
||||||
|
function findMatch(matcher, input, startOfName, endOfName) {
|
||||||
|
var from = startOfName;
|
||||||
|
matcher.lastIndex = from;
|
||||||
|
var match = matcher.exec(input);
|
||||||
|
// Expand search area until we get a valid result or reach the beginning of the string
|
||||||
|
while (!match || match.index + match[0].length < startOfName || endOfName < match.index) {
|
||||||
|
if (from === 0) {
|
||||||
|
return NO_MATCH;
|
||||||
|
}
|
||||||
|
from = input.lastIndexOf(".", from - 2) + 1;
|
||||||
|
matcher.lastIndex = from;
|
||||||
|
match = matcher.exec(input);
|
||||||
|
}
|
||||||
|
var boundaries = [];
|
||||||
|
var matchEnd = match.index + match[0].length;
|
||||||
|
var score = 5;
|
||||||
|
var start = match.index;
|
||||||
|
var prevEnd = -1;
|
||||||
|
for (var i = 1; i < match.length; i += 2) {
|
||||||
|
var charType = getCharType(input[start]);
|
||||||
|
var isMatcherUpper = matcher.upperCase[i];
|
||||||
|
// capturing groups come in pairs, match and non-match
|
||||||
|
boundaries.push(start, start + match[i].length);
|
||||||
|
// make sure groups are anchored on a left word boundary
|
||||||
|
var prevChar = input[start - 1] || "";
|
||||||
|
var nextChar = input[start + 1] || "";
|
||||||
|
if (start !== 0) {
|
||||||
|
if (charType === UNICODE_DIGIT && getCharType(prevChar) === UNICODE_DIGIT) {
|
||||||
|
return NO_MATCH;
|
||||||
|
} else if (charType === UNICODE_LETTER && getCharType(prevChar) === UNICODE_LETTER) {
|
||||||
|
var isUpper = isUpperCase(input[start]);
|
||||||
|
if (isUpper && (isLowerCase(prevChar) || isLowerCase(nextChar))) {
|
||||||
|
score -= 0.1;
|
||||||
|
} else if (isMatcherUpper && start === prevEnd) {
|
||||||
|
score -= isUpper ? 0.1 : 1.0;
|
||||||
|
} else {
|
||||||
|
return NO_MATCH;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
prevEnd = start + match[i].length;
|
||||||
|
start += match[i].length + match[i + 1].length;
|
||||||
|
|
||||||
|
// lower score for parts of the name that are missing
|
||||||
|
if (match[i + 1] && prevEnd < endOfName) {
|
||||||
|
score -= rateNoise(match[i + 1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// lower score if a type name contains unmatched camel-case parts
|
||||||
|
if (input[matchEnd - 1] !== "." && endOfName > matchEnd)
|
||||||
|
score -= rateNoise(input.slice(matchEnd, endOfName));
|
||||||
|
score -= rateNoise(input.slice(0, Math.max(startOfName, match.index)));
|
||||||
|
|
||||||
|
if (score <= 0) {
|
||||||
|
return NO_MATCH;
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
input: input,
|
||||||
|
score: score,
|
||||||
|
boundaries: boundaries
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function isLetter(s) {
|
||||||
|
return /\p{L}/u.test(s);
|
||||||
|
}
|
||||||
|
function isUpperCase(s) {
|
||||||
|
return /\p{Lu}/u.test(s);
|
||||||
|
}
|
||||||
|
function isLowerCase(s) {
|
||||||
|
return /\p{Ll}/u.test(s);
|
||||||
|
}
|
||||||
|
function isDigit(s) {
|
||||||
|
return /\p{Nd}/u.test(s);
|
||||||
|
}
|
||||||
|
function getCharType(s) {
|
||||||
|
if (isLetter(s)) {
|
||||||
|
return UNICODE_LETTER;
|
||||||
|
} else if (isDigit(s)) {
|
||||||
|
return UNICODE_DIGIT;
|
||||||
|
} else {
|
||||||
|
return UNICODE_OTHER;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function rateNoise(str) {
|
||||||
|
return (str.match(/([.(])/g) || []).length / 5
|
||||||
|
+ (str.match(/(\p{Lu}+)/gu) || []).length / 10
|
||||||
|
+ str.length / 20;
|
||||||
|
}
|
||||||
|
function doSearch(request, response) {
|
||||||
|
var term = request.term.trim();
|
||||||
|
var maxResults = request.maxResults || MAX_RESULTS;
|
||||||
|
var matcher = {
|
||||||
|
plainMatcher: createMatcher(term, false),
|
||||||
|
camelCaseMatcher: createMatcher(term, true)
|
||||||
|
}
|
||||||
|
var indexLoaded = indexFilesLoaded();
|
||||||
|
|
||||||
|
function getPrefix(item, category) {
|
||||||
|
switch (category) {
|
||||||
|
case "packages":
|
||||||
|
return checkUnnamed(item.m, "/");
|
||||||
|
case "types":
|
||||||
|
return checkUnnamed(item.p, ".");
|
||||||
|
case "members":
|
||||||
|
return checkUnnamed(item.p, ".") + item.c + ".";
|
||||||
|
default:
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function useQualifiedName(category) {
|
||||||
|
switch (category) {
|
||||||
|
case "packages":
|
||||||
|
return /[\s/]/.test(term);
|
||||||
|
case "types":
|
||||||
|
case "members":
|
||||||
|
return /[\s.]/.test(term);
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function searchIndex(indexArray, category) {
|
||||||
|
var matches = [];
|
||||||
|
if (!indexArray) {
|
||||||
|
if (!indexLoaded) {
|
||||||
|
matches.push({ l: messages.loading, category: category });
|
||||||
|
}
|
||||||
|
return matches;
|
||||||
|
}
|
||||||
|
$.each(indexArray, function (i, item) {
|
||||||
|
var prefix = getPrefix(item, category);
|
||||||
|
var simpleName = item.l;
|
||||||
|
var qualifiedName = prefix + simpleName;
|
||||||
|
var useQualified = useQualifiedName(category);
|
||||||
|
var input = useQualified ? qualifiedName : simpleName;
|
||||||
|
var startOfName = useQualified ? prefix.length : 0;
|
||||||
|
var endOfName = category === "members" && input.indexOf("(", startOfName) > -1
|
||||||
|
? input.indexOf("(", startOfName) : input.length;
|
||||||
|
var m = findMatch(matcher.plainMatcher, input, startOfName, endOfName);
|
||||||
|
if (m === NO_MATCH && matcher.camelCaseMatcher) {
|
||||||
|
m = findMatch(matcher.camelCaseMatcher, input, startOfName, endOfName);
|
||||||
|
}
|
||||||
|
if (m !== NO_MATCH) {
|
||||||
|
m.indexItem = item;
|
||||||
|
m.prefix = prefix;
|
||||||
|
m.category = category;
|
||||||
|
if (!useQualified) {
|
||||||
|
m.input = qualifiedName;
|
||||||
|
m.boundaries = m.boundaries.map(function(b) {
|
||||||
|
return b + prefix.length;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
matches.push(m);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
});
|
||||||
|
return matches.sort(function(e1, e2) {
|
||||||
|
return e2.score - e1.score;
|
||||||
|
}).slice(0, maxResults);
|
||||||
|
}
|
||||||
|
|
||||||
|
var result = searchIndex(moduleSearchIndex, "modules")
|
||||||
|
.concat(searchIndex(packageSearchIndex, "packages"))
|
||||||
|
.concat(searchIndex(typeSearchIndex, "types"))
|
||||||
|
.concat(searchIndex(memberSearchIndex, "members"))
|
||||||
|
.concat(searchIndex(tagSearchIndex, "searchTags"));
|
||||||
|
|
||||||
|
if (!indexLoaded) {
|
||||||
|
updateSearchResults = function() {
|
||||||
|
doSearch(request, response);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
updateSearchResults = function() {};
|
||||||
|
}
|
||||||
|
response(result);
|
||||||
|
}
|
||||||
|
// JQuery search menu implementation
|
||||||
|
$.widget("custom.catcomplete", $.ui.autocomplete, {
|
||||||
|
_create: function() {
|
||||||
|
this._super();
|
||||||
|
this.widget().menu("option", "items", "> .result-item");
|
||||||
|
// workaround for search result scrolling
|
||||||
|
this.menu._scrollIntoView = function _scrollIntoView( item ) {
|
||||||
|
var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight;
|
||||||
|
if ( this._hasScroll() ) {
|
||||||
|
borderTop = parseFloat( $.css( this.activeMenu[ 0 ], "borderTopWidth" ) ) || 0;
|
||||||
|
paddingTop = parseFloat( $.css( this.activeMenu[ 0 ], "paddingTop" ) ) || 0;
|
||||||
|
offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop;
|
||||||
|
scroll = this.activeMenu.scrollTop();
|
||||||
|
elementHeight = this.activeMenu.height() - 26;
|
||||||
|
itemHeight = item.outerHeight();
|
||||||
|
|
||||||
|
if ( offset < 0 ) {
|
||||||
|
this.activeMenu.scrollTop( scroll + offset );
|
||||||
|
} else if ( offset + itemHeight > elementHeight ) {
|
||||||
|
this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
_renderMenu: function(ul, items) {
|
||||||
|
var currentCategory = "";
|
||||||
|
var widget = this;
|
||||||
|
widget.menu.bindings = $();
|
||||||
|
$.each(items, function(index, item) {
|
||||||
|
if (item.category && item.category !== currentCategory) {
|
||||||
|
ul.append("<li class='ui-autocomplete-category'>" + categories[item.category] + "</li>");
|
||||||
|
currentCategory = item.category;
|
||||||
|
}
|
||||||
|
var li = widget._renderItemData(ul, item);
|
||||||
|
if (item.category) {
|
||||||
|
li.attr("aria-label", categories[item.category] + " : " + item.l);
|
||||||
|
} else {
|
||||||
|
li.attr("aria-label", item.l);
|
||||||
|
}
|
||||||
|
li.attr("class", "result-item");
|
||||||
|
});
|
||||||
|
ul.append("<li class='ui-static-link'><a href='" + pathtoroot + "search.html?q="
|
||||||
|
+ encodeURI(widget.term) + "'>Go to search page</a></li>");
|
||||||
|
},
|
||||||
|
_renderItem: function(ul, item) {
|
||||||
|
var li = $("<li/>").appendTo(ul);
|
||||||
|
var div = $("<div/>").appendTo(li);
|
||||||
|
var label = item.l
|
||||||
|
? item.l
|
||||||
|
: getHighlightedText(item.input, item.boundaries, 0, item.input.length);
|
||||||
|
var idx = item.indexItem;
|
||||||
|
if (item.category === "searchTags" && idx && idx.h) {
|
||||||
|
if (idx.d) {
|
||||||
|
div.html(label + "<span class='search-tag-holder-result'> (" + idx.h + ")</span><br><span class='search-tag-desc-result'>"
|
||||||
|
+ idx.d + "</span><br>");
|
||||||
|
} else {
|
||||||
|
div.html(label + "<span class='search-tag-holder-result'> (" + idx.h + ")</span>");
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
div.html(label);
|
||||||
|
}
|
||||||
|
return li;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$(function() {
|
||||||
|
var search = $("#search-input");
|
||||||
|
var reset = $("#reset-search");
|
||||||
|
search.catcomplete({
|
||||||
|
minLength: 1,
|
||||||
|
delay: 200,
|
||||||
|
source: function(request, response) {
|
||||||
|
reset.css("display", "inline");
|
||||||
|
if (request.term.trim() === "") {
|
||||||
|
return this.close();
|
||||||
|
}
|
||||||
|
return doSearch(request, response);
|
||||||
|
},
|
||||||
|
response: function(event, ui) {
|
||||||
|
if (!ui.content.length) {
|
||||||
|
ui.content.push({ l: messages.noResult });
|
||||||
|
} else {
|
||||||
|
$("#search-input").empty();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
close: function(event, ui) {
|
||||||
|
reset.css("display", search.val() ? "inline" : "none");
|
||||||
|
},
|
||||||
|
change: function(event, ui) {
|
||||||
|
reset.css("display", search.val() ? "inline" : "none");
|
||||||
|
},
|
||||||
|
autoFocus: true,
|
||||||
|
focus: function(event, ui) {
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
position: {
|
||||||
|
collision: "flip"
|
||||||
|
},
|
||||||
|
select: function(event, ui) {
|
||||||
|
if (ui.item.indexItem) {
|
||||||
|
var url = getURL(ui.item.indexItem, ui.item.category);
|
||||||
|
window.location.href = pathtoroot + url;
|
||||||
|
$("#search-input").focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
search.val('');
|
||||||
|
search.prop("disabled", false);
|
||||||
|
search.attr("autocapitalize", "off");
|
||||||
|
reset.prop("disabled", false);
|
||||||
|
reset.click(function() {
|
||||||
|
search.val('').focus();
|
||||||
|
reset.css("display", "none");
|
||||||
|
});
|
||||||
|
search.focus();
|
||||||
|
});
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>Search</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="search">
|
||||||
|
<meta name="generator" content="javadoc/SearchWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="search-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "./";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="overview-tree.html">Tree</a></li>
|
||||||
|
<li><a href="index-files/index-1.html">Index</a></li>
|
||||||
|
<li class="nav-bar-cell1-rev">Search</li>
|
||||||
|
<li><a href="help-doc.html#search">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<h1 class="title">Search</h1>
|
||||||
|
<div>
|
||||||
|
<input type="text" id="page-search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="page-search-reset" disabled value="Reset" style="margin: 6px;">
|
||||||
|
<details class="page-search-details">
|
||||||
|
<summary id="page-search-expand">Additional resources</summary>
|
||||||
|
</details>
|
||||||
|
</div>
|
||||||
|
<div class="page-search-info">
|
||||||
|
<p>The <a href="help-doc.html#search">help page</a> provides an introduction to the scope and syntax of JavaDoc search.</p>
|
||||||
|
<p>You can use the <ctrl> or <cmd> keys in combination with the left and right arrow keys to switch between result tabs in this page.</p>
|
||||||
|
<p>The URL template below may be used to configure this page as a search engine in browsers that support this feature. It has been tested to work in Google Chrome and Mozilla Firefox. Note that other browsers may not support this feature or require a different URL format.</p>
|
||||||
|
<span id="page-search-link">link</span><button class="copy" aria-label="Copy URL" id="page-search-copy"><img src="resource-files/copy.svg" alt="Copy URL"><span data-copied="Copied!">Copy</span></button>
|
||||||
|
<p>
|
||||||
|
<input type="checkbox" id="search-redirect" disabled>
|
||||||
|
<label for="search-redirect">Redirect to first result</label></p>
|
||||||
|
</div>
|
||||||
|
<p id="page-search-notify">Loading search index...</p>
|
||||||
|
<div id="result-section" style="display: none;">
|
||||||
|
<div id="result-container"></div>
|
||||||
|
<script type="text/javascript" src="script-files/search-page.js"></script>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="fi">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by javadoc (23) on Mon Mar 31 15:35:13 EEST 2025 -->
|
||||||
|
<title>Serialized Form</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="dc.created" content="2025-03-31">
|
||||||
|
<meta name="description" content="serialized forms">
|
||||||
|
<meta name="generator" content="javadoc/SerializedFormWriter">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/jquery-ui.min.css" title="Style">
|
||||||
|
<link rel="stylesheet" type="text/css" href="resource-files/stylesheet.css" title="Style">
|
||||||
|
<script type="text/javascript" src="script-files/script.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-3.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="script-files/jquery-ui.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="serialized-form-page">
|
||||||
|
<script type="text/javascript">const pathtoroot = "./";
|
||||||
|
loadScripts(document, 'script');</script>
|
||||||
|
<noscript>
|
||||||
|
<div>JavaScript is disabled on your browser.</div>
|
||||||
|
</noscript>
|
||||||
|
<header role="banner">
|
||||||
|
<nav role="navigation">
|
||||||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
<div class="top-nav" id="navbar-top">
|
||||||
|
<div class="nav-content">
|
||||||
|
<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div>
|
||||||
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
||||||
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
||||||
|
<li><a href="com.example.harjoitustyo/module-summary.html">Module</a></li>
|
||||||
|
<li><a href="overview-tree.html">Tree</a></li>
|
||||||
|
<li><a href="index-files/index-1.html">Index</a></li>
|
||||||
|
<li><a href="search.html">Search</a></li>
|
||||||
|
<li><a href="help-doc.html#serialized-form">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sub-nav">
|
||||||
|
<div class="nav-content">
|
||||||
|
<ol class="sub-nav-list"></ol>
|
||||||
|
<div class="nav-list-search">
|
||||||
|
<input type="text" id="search-input" disabled placeholder="Search" aria-label="Search in documentation" autocomplete="off">
|
||||||
|
<input type="reset" id="reset-search" disabled value="Reset">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||||
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
||||||
|
</header>
|
||||||
|
<div class="main-grid">
|
||||||
|
<main role="main">
|
||||||
|
<div class="header">
|
||||||
|
<h1 title="Serialized Form" class="title">Serialized Form</h1>
|
||||||
|
</div>
|
||||||
|
<ul class="block-list">
|
||||||
|
<li>
|
||||||
|
<section class="serialized-package-container">
|
||||||
|
<h2 title="Package">Package <a href="com.example.harjoitustyo/com/example/harjoitustyo/package-summary.html">com.example.harjoitustyo</a></h2>
|
||||||
|
<ul class="block-list">
|
||||||
|
<li>
|
||||||
|
<section class="serialized-class-details" id="com.example.harjoitustyo.Tehtava">
|
||||||
|
<h3>Class <a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.html" title="class in com.example.harjoitustyo">com.example.harjoitustyo.Tehtava</a></h3>
|
||||||
|
<div class="type-signature">class Tehtava extends <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> implements <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></div>
|
||||||
|
<ul class="block-list">
|
||||||
|
<li>
|
||||||
|
<section class="detail">
|
||||||
|
<h4>Serialized Fields</h4>
|
||||||
|
<ul class="block-list">
|
||||||
|
<li class="block-list">
|
||||||
|
<h5>deadline</h5>
|
||||||
|
<pre><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a> deadline</pre>
|
||||||
|
</li>
|
||||||
|
<li class="block-list">
|
||||||
|
<h5>id</h5>
|
||||||
|
<pre>int id</pre>
|
||||||
|
</li>
|
||||||
|
<li class="block-list">
|
||||||
|
<h5>kuvaus</h5>
|
||||||
|
<pre><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> kuvaus</pre>
|
||||||
|
</li>
|
||||||
|
<li class="block-list">
|
||||||
|
<h5>luontiPaiva</h5>
|
||||||
|
<pre><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a> luontiPaiva</pre>
|
||||||
|
</li>
|
||||||
|
<li class="block-list">
|
||||||
|
<h5>otsikko</h5>
|
||||||
|
<pre><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> otsikko</pre>
|
||||||
|
</li>
|
||||||
|
<li class="block-list">
|
||||||
|
<h5>tila</h5>
|
||||||
|
<pre><a href="com.example.harjoitustyo/com/example/harjoitustyo/Tehtava.Status.html" title="enum class in com.example.harjoitustyo">Tehtava.Status</a> tila</pre>
|
||||||
|
</li>
|
||||||
|
<li class="block-list">
|
||||||
|
<h5>valmistumisPaiva</h5>
|
||||||
|
<pre><a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/time/LocalDate.html" title="class or interface in java.time" class="external-link">LocalDate</a> valmistumisPaiva</pre>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
tagSearchIndex = [{"l":"Serialized Form","h":"","u":"serialized-form.html"}];updateSearchResults();
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"com.example.harjoitustyo","l":"Paaikkuna"},{"p":"com.example.harjoitustyo","l":"PaivamaaraTableCell"},{"p":"com.example.harjoitustyo","l":"Tehtava.Status"},{"p":"com.example.harjoitustyo","l":"Tehtava"},{"p":"com.example.harjoitustyo","l":"Tehtavat"}];updateSearchResults();
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2026 laurimaaninka
|
Copyright (c) 2025 Lauri Maaninka
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
||||||
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
10.3.2025 90min
|
||||||
|
Suunnitelin ohjelman käsittelemää olio-luokkaa, tein GitHub projektin, sekä ensimmäisen version Tehtava-luokasta.
|
||||||
|
Hahmottelin myös luokkaa, joka hoitaa tehtävien tallentamisen ja lukemisen tiedostosta.
|
||||||
|
|
||||||
|
11.3. 15min
|
||||||
|
Muokattu tehtävä luokkaa käyttämään LocalDatea Daten sijaan ja lisätty Serializable rajapinta
|
||||||
|
|
||||||
|
11.3 15min
|
||||||
|
Muokattu tehtävien lataamista tiedostosta, jotta Tehtava-luokan idCounter kenttä päivittyy oikeaksi.
|
||||||
|
|
||||||
|
12.3. 30min
|
||||||
|
Muokattu Tehtavat-luokkaa tarkoituksena luoda siitä instanssi ohjelmaa suorittaessa. Lisäksi lisätty toString metodi Tehtava luokkaan listviewiä ajatellen
|
||||||
|
|
||||||
|
12.3. 30min
|
||||||
|
Lisätty Tehtavat-luokkaan muokkaa, poista ja getKeskeneraiset metodit. Lisätty setteri Tehtava.deadline kentälle.
|
||||||
|
|
||||||
|
14.3. 2.30h
|
||||||
|
Käyttöliittymän väsääminen aloitettu vauhdilla.
|
||||||
|
Tehtava-luokan kenttä valmis vaihdettu enum Status tyypiksi
|
||||||
|
|
||||||
|
15.3. 2h
|
||||||
|
Käyttöliittymään tehtävän muokkaaminen, poistaminen ja uuden lisääminen. Status enumiin lisätty Vaiheessa -vaihtoehto
|
||||||
|
|
||||||
|
20.3. 1.30h
|
||||||
|
Tehtäävänäkymän suodattamisen rakentaminen ja lievä testaus
|
||||||
|
|
||||||
|
28.3. 1h
|
||||||
|
Lisää testausta ja JavaDoccien työstämistä. Sisältää yhden rivin korjauksia ohjelmaan sinne tänne.
|
||||||
|
|
||||||
|
31.3. 30min
|
||||||
|
Muokattu TableViewin Luontipäivä ja Deadline kenttien formaatti näyttämään paremmalta (Tehty custom TableCell luokka)
|
||||||
@@ -0,0 +1,94 @@
|
|||||||
|
package com.example.harjoitustyo;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
|
||||||
|
public class Tehtava implements Serializable {
|
||||||
|
private static int idCounter = 1;
|
||||||
|
|
||||||
|
private final int id;
|
||||||
|
private String otsikko;
|
||||||
|
private String kuvaus;
|
||||||
|
private final LocalDate luontiPaiva;
|
||||||
|
private LocalDate deadline;
|
||||||
|
private LocalDate valmistumisPaiva;
|
||||||
|
private boolean valmis;
|
||||||
|
|
||||||
|
public Tehtava(String otsikko, String kuvaus, LocalDate deadline) {
|
||||||
|
this.id = idCounter++;
|
||||||
|
this.otsikko = otsikko;
|
||||||
|
this.kuvaus = kuvaus;
|
||||||
|
this.luontiPaiva = LocalDate.now();
|
||||||
|
this.deadline = deadline;
|
||||||
|
this.valmis = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Asettaa luokan staattisen muuttujan tiettyyn arvoon
|
||||||
|
* @param idCounter kentän uusi arvo
|
||||||
|
*/
|
||||||
|
protected static void setIdCounter(int idCounter) {
|
||||||
|
Tehtava.idCounter = idCounter;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Asettaa tehtävän valmiiksi ja rekisteröi valmistumispäivän
|
||||||
|
*/
|
||||||
|
public void teeValmiiksi() {
|
||||||
|
this.valmis = true;
|
||||||
|
this.valmistumisPaiva = LocalDate.now();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void teeKeskeneraiseksi() {
|
||||||
|
this.valmis = true;
|
||||||
|
this.valmistumisPaiva = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ListViewiä varten toString() metodi
|
||||||
|
* @return tehtävän luontipäivä, otsikko, deadline
|
||||||
|
*/
|
||||||
|
public String toString() {
|
||||||
|
return this.getLuontiPaiva() + ", " + this.getOtsikko() + ", " + this.getDeadline();
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOtsikko() {
|
||||||
|
return otsikko;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getKuvaus() {
|
||||||
|
return kuvaus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public LocalDate getLuontiPaiva() {
|
||||||
|
return luontiPaiva;
|
||||||
|
}
|
||||||
|
|
||||||
|
public LocalDate getDeadline() {
|
||||||
|
return deadline;
|
||||||
|
}
|
||||||
|
|
||||||
|
public LocalDate getValmistumisPaiva() {
|
||||||
|
return valmistumisPaiva;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isValmis() {
|
||||||
|
return valmis;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOtsikko(String otsikko) {
|
||||||
|
this.otsikko = otsikko;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setKuvaus(String kuvaus) {
|
||||||
|
this.kuvaus = kuvaus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeadline(LocalDate deadline) {
|
||||||
|
this.deadline = deadline;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,316 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing,
|
||||||
|
# software distributed under the License is distributed on an
|
||||||
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
# KIND, either express or implied. See the License for the
|
||||||
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
# Maven Start Up Batch script
|
||||||
|
#
|
||||||
|
# Required ENV vars:
|
||||||
|
# ------------------
|
||||||
|
# JAVA_HOME - location of a JDK home dir
|
||||||
|
#
|
||||||
|
# Optional ENV vars
|
||||||
|
# -----------------
|
||||||
|
# M2_HOME - location of maven2's installed home dir
|
||||||
|
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
||||||
|
# e.g. to debug Maven itself, use
|
||||||
|
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||||
|
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if [ -z "$MAVEN_SKIP_RC" ] ; then
|
||||||
|
|
||||||
|
if [ -f /usr/local/etc/mavenrc ] ; then
|
||||||
|
. /usr/local/etc/mavenrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f /etc/mavenrc ] ; then
|
||||||
|
. /etc/mavenrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$HOME/.mavenrc" ] ; then
|
||||||
|
. "$HOME/.mavenrc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
# OS specific support. $var _must_ be set to either true or false.
|
||||||
|
cygwin=false;
|
||||||
|
darwin=false;
|
||||||
|
mingw=false
|
||||||
|
case "`uname`" in
|
||||||
|
CYGWIN*) cygwin=true ;;
|
||||||
|
MINGW*) mingw=true;;
|
||||||
|
Darwin*) darwin=true
|
||||||
|
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
|
||||||
|
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html
|
||||||
|
if [ -z "$JAVA_HOME" ]; then
|
||||||
|
if [ -x "/usr/libexec/java_home" ]; then
|
||||||
|
export JAVA_HOME="`/usr/libexec/java_home`"
|
||||||
|
else
|
||||||
|
export JAVA_HOME="/Library/Java/Home"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -z "$JAVA_HOME" ] ; then
|
||||||
|
if [ -r /etc/gentoo-release ] ; then
|
||||||
|
JAVA_HOME=`java-config --jre-home`
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$M2_HOME" ] ; then
|
||||||
|
## resolve links - $0 may be a link to maven's home
|
||||||
|
PRG="$0"
|
||||||
|
|
||||||
|
# need this for relative symlinks
|
||||||
|
while [ -h "$PRG" ] ; do
|
||||||
|
ls=`ls -ld "$PRG"`
|
||||||
|
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||||
|
if expr "$link" : '/.*' > /dev/null; then
|
||||||
|
PRG="$link"
|
||||||
|
else
|
||||||
|
PRG="`dirname "$PRG"`/$link"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
saveddir=`pwd`
|
||||||
|
|
||||||
|
M2_HOME=`dirname "$PRG"`/..
|
||||||
|
|
||||||
|
# make it fully qualified
|
||||||
|
M2_HOME=`cd "$M2_HOME" && pwd`
|
||||||
|
|
||||||
|
cd "$saveddir"
|
||||||
|
# echo Using m2 at $M2_HOME
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For Cygwin, ensure paths are in UNIX format before anything is touched
|
||||||
|
if $cygwin ; then
|
||||||
|
[ -n "$M2_HOME" ] &&
|
||||||
|
M2_HOME=`cygpath --unix "$M2_HOME"`
|
||||||
|
[ -n "$JAVA_HOME" ] &&
|
||||||
|
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
||||||
|
[ -n "$CLASSPATH" ] &&
|
||||||
|
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For Mingw, ensure paths are in UNIX format before anything is touched
|
||||||
|
if $mingw ; then
|
||||||
|
[ -n "$M2_HOME" ] &&
|
||||||
|
M2_HOME="`(cd "$M2_HOME"; pwd)`"
|
||||||
|
[ -n "$JAVA_HOME" ] &&
|
||||||
|
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$JAVA_HOME" ]; then
|
||||||
|
javaExecutable="`which javac`"
|
||||||
|
if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
|
||||||
|
# readlink(1) is not available as standard on Solaris 10.
|
||||||
|
readLink=`which readlink`
|
||||||
|
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
|
||||||
|
if $darwin ; then
|
||||||
|
javaHome="`dirname \"$javaExecutable\"`"
|
||||||
|
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
|
||||||
|
else
|
||||||
|
javaExecutable="`readlink -f \"$javaExecutable\"`"
|
||||||
|
fi
|
||||||
|
javaHome="`dirname \"$javaExecutable\"`"
|
||||||
|
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
|
||||||
|
JAVA_HOME="$javaHome"
|
||||||
|
export JAVA_HOME
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$JAVACMD" ] ; then
|
||||||
|
if [ -n "$JAVA_HOME" ] ; then
|
||||||
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||||
|
# IBM's JDK on AIX uses strange locations for the executables
|
||||||
|
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||||
|
else
|
||||||
|
JAVACMD="$JAVA_HOME/bin/java"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
JAVACMD="`\\unset -f command; \\command -v java`"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -x "$JAVACMD" ] ; then
|
||||||
|
echo "Error: JAVA_HOME is not defined correctly." >&2
|
||||||
|
echo " We cannot execute $JAVACMD" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$JAVA_HOME" ] ; then
|
||||||
|
echo "Warning: JAVA_HOME environment variable is not set."
|
||||||
|
fi
|
||||||
|
|
||||||
|
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
|
||||||
|
|
||||||
|
# traverses directory structure from process work directory to filesystem root
|
||||||
|
# first directory with .mvn subdirectory is considered project base directory
|
||||||
|
find_maven_basedir() {
|
||||||
|
|
||||||
|
if [ -z "$1" ]
|
||||||
|
then
|
||||||
|
echo "Path not specified to find_maven_basedir"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
basedir="$1"
|
||||||
|
wdir="$1"
|
||||||
|
while [ "$wdir" != '/' ] ; do
|
||||||
|
if [ -d "$wdir"/.mvn ] ; then
|
||||||
|
basedir=$wdir
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
# workaround for JBEAP-8937 (on Solaris 10/Sparc)
|
||||||
|
if [ -d "${wdir}" ]; then
|
||||||
|
wdir=`cd "$wdir/.."; pwd`
|
||||||
|
fi
|
||||||
|
# end of workaround
|
||||||
|
done
|
||||||
|
echo "${basedir}"
|
||||||
|
}
|
||||||
|
|
||||||
|
# concatenates all lines of a file
|
||||||
|
concat_lines() {
|
||||||
|
if [ -f "$1" ]; then
|
||||||
|
echo "$(tr -s '\n' ' ' < "$1")"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
BASE_DIR=`find_maven_basedir "$(pwd)"`
|
||||||
|
if [ -z "$BASE_DIR" ]; then
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
##########################################################################################
|
||||||
|
# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
|
||||||
|
# This allows using the maven wrapper in projects that prohibit checking in binary data.
|
||||||
|
##########################################################################################
|
||||||
|
if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Found .mvn/wrapper/maven-wrapper.jar"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
|
||||||
|
fi
|
||||||
|
if [ -n "$MVNW_REPOURL" ]; then
|
||||||
|
jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
|
||||||
|
else
|
||||||
|
jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
|
||||||
|
fi
|
||||||
|
while IFS="=" read key value; do
|
||||||
|
case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
|
||||||
|
esac
|
||||||
|
done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Downloading from: $jarUrl"
|
||||||
|
fi
|
||||||
|
wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
|
||||||
|
if $cygwin; then
|
||||||
|
wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v wget > /dev/null; then
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Found wget ... using wget"
|
||||||
|
fi
|
||||||
|
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
|
||||||
|
wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
|
||||||
|
else
|
||||||
|
wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
|
||||||
|
fi
|
||||||
|
elif command -v curl > /dev/null; then
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Found curl ... using curl"
|
||||||
|
fi
|
||||||
|
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
|
||||||
|
curl -o "$wrapperJarPath" "$jarUrl" -f
|
||||||
|
else
|
||||||
|
curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
|
||||||
|
fi
|
||||||
|
|
||||||
|
else
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Falling back to using Java to download"
|
||||||
|
fi
|
||||||
|
javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
|
||||||
|
# For Cygwin, switch paths to Windows format before running javac
|
||||||
|
if $cygwin; then
|
||||||
|
javaClass=`cygpath --path --windows "$javaClass"`
|
||||||
|
fi
|
||||||
|
if [ -e "$javaClass" ]; then
|
||||||
|
if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo " - Compiling MavenWrapperDownloader.java ..."
|
||||||
|
fi
|
||||||
|
# Compiling the Java class
|
||||||
|
("$JAVA_HOME/bin/javac" "$javaClass")
|
||||||
|
fi
|
||||||
|
if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
|
||||||
|
# Running the downloader
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo " - Running MavenWrapperDownloader.java ..."
|
||||||
|
fi
|
||||||
|
("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
##########################################################################################
|
||||||
|
# End of extension
|
||||||
|
##########################################################################################
|
||||||
|
|
||||||
|
export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo $MAVEN_PROJECTBASEDIR
|
||||||
|
fi
|
||||||
|
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
|
||||||
|
|
||||||
|
# For Cygwin, switch paths to Windows format before running java
|
||||||
|
if $cygwin; then
|
||||||
|
[ -n "$M2_HOME" ] &&
|
||||||
|
M2_HOME=`cygpath --path --windows "$M2_HOME"`
|
||||||
|
[ -n "$JAVA_HOME" ] &&
|
||||||
|
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
|
||||||
|
[ -n "$CLASSPATH" ] &&
|
||||||
|
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
|
||||||
|
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
|
||||||
|
MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Provide a "standardized" way to retrieve the CLI args that will
|
||||||
|
# work with both Windows and non-Windows executions.
|
||||||
|
MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
|
||||||
|
export MAVEN_CMD_LINE_ARGS
|
||||||
|
|
||||||
|
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||||
|
|
||||||
|
exec "$JAVACMD" \
|
||||||
|
$MAVEN_OPTS \
|
||||||
|
$MAVEN_DEBUG_OPTS \
|
||||||
|
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
|
||||||
|
"-Dmaven.home=${M2_HOME}" \
|
||||||
|
"-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
|
||||||
|
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
|
||||||
@@ -0,0 +1,188 @@
|
|||||||
|
@REM ----------------------------------------------------------------------------
|
||||||
|
@REM Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
@REM or more contributor license agreements. See the NOTICE file
|
||||||
|
@REM distributed with this work for additional information
|
||||||
|
@REM regarding copyright ownership. The ASF licenses this file
|
||||||
|
@REM to you under the Apache License, Version 2.0 (the
|
||||||
|
@REM "License"); you may not use this file except in compliance
|
||||||
|
@REM with the License. You may obtain a copy of the License at
|
||||||
|
@REM
|
||||||
|
@REM https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
@REM
|
||||||
|
@REM Unless required by applicable law or agreed to in writing,
|
||||||
|
@REM software distributed under the License is distributed on an
|
||||||
|
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
@REM KIND, either express or implied. See the License for the
|
||||||
|
@REM specific language governing permissions and limitations
|
||||||
|
@REM under the License.
|
||||||
|
@REM ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@REM ----------------------------------------------------------------------------
|
||||||
|
@REM Maven Start Up Batch script
|
||||||
|
@REM
|
||||||
|
@REM Required ENV vars:
|
||||||
|
@REM JAVA_HOME - location of a JDK home dir
|
||||||
|
@REM
|
||||||
|
@REM Optional ENV vars
|
||||||
|
@REM M2_HOME - location of maven2's installed home dir
|
||||||
|
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
|
||||||
|
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
|
||||||
|
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
||||||
|
@REM e.g. to debug Maven itself, use
|
||||||
|
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||||
|
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
||||||
|
@REM ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
|
||||||
|
@echo off
|
||||||
|
@REM set title of command window
|
||||||
|
title %0
|
||||||
|
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
|
||||||
|
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
|
||||||
|
|
||||||
|
@REM set %HOME% to equivalent of $HOME
|
||||||
|
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
|
||||||
|
|
||||||
|
@REM Execute a user defined script before this one
|
||||||
|
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
|
||||||
|
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
|
||||||
|
if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
|
||||||
|
if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
|
||||||
|
:skipRcPre
|
||||||
|
|
||||||
|
@setlocal
|
||||||
|
|
||||||
|
set ERROR_CODE=0
|
||||||
|
|
||||||
|
@REM To isolate internal variables from possible post scripts, we use another setlocal
|
||||||
|
@setlocal
|
||||||
|
|
||||||
|
@REM ==== START VALIDATION ====
|
||||||
|
if not "%JAVA_HOME%" == "" goto OkJHome
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo Error: JAVA_HOME not found in your environment. >&2
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
||||||
|
echo location of your Java installation. >&2
|
||||||
|
echo.
|
||||||
|
goto error
|
||||||
|
|
||||||
|
:OkJHome
|
||||||
|
if exist "%JAVA_HOME%\bin\java.exe" goto init
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo Error: JAVA_HOME is set to an invalid directory. >&2
|
||||||
|
echo JAVA_HOME = "%JAVA_HOME%" >&2
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
||||||
|
echo location of your Java installation. >&2
|
||||||
|
echo.
|
||||||
|
goto error
|
||||||
|
|
||||||
|
@REM ==== END VALIDATION ====
|
||||||
|
|
||||||
|
:init
|
||||||
|
|
||||||
|
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
|
||||||
|
@REM Fallback to current working directory if not found.
|
||||||
|
|
||||||
|
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
|
||||||
|
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
|
||||||
|
|
||||||
|
set EXEC_DIR=%CD%
|
||||||
|
set WDIR=%EXEC_DIR%
|
||||||
|
:findBaseDir
|
||||||
|
IF EXIST "%WDIR%"\.mvn goto baseDirFound
|
||||||
|
cd ..
|
||||||
|
IF "%WDIR%"=="%CD%" goto baseDirNotFound
|
||||||
|
set WDIR=%CD%
|
||||||
|
goto findBaseDir
|
||||||
|
|
||||||
|
:baseDirFound
|
||||||
|
set MAVEN_PROJECTBASEDIR=%WDIR%
|
||||||
|
cd "%EXEC_DIR%"
|
||||||
|
goto endDetectBaseDir
|
||||||
|
|
||||||
|
:baseDirNotFound
|
||||||
|
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
|
||||||
|
cd "%EXEC_DIR%"
|
||||||
|
|
||||||
|
:endDetectBaseDir
|
||||||
|
|
||||||
|
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
|
||||||
|
|
||||||
|
@setlocal EnableExtensions EnableDelayedExpansion
|
||||||
|
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
|
||||||
|
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
|
||||||
|
|
||||||
|
:endReadAdditionalConfig
|
||||||
|
|
||||||
|
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
|
||||||
|
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
|
||||||
|
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||||
|
|
||||||
|
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
|
||||||
|
|
||||||
|
FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
|
||||||
|
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
|
||||||
|
)
|
||||||
|
|
||||||
|
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
|
||||||
|
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
|
||||||
|
if exist %WRAPPER_JAR% (
|
||||||
|
if "%MVNW_VERBOSE%" == "true" (
|
||||||
|
echo Found %WRAPPER_JAR%
|
||||||
|
)
|
||||||
|
) else (
|
||||||
|
if not "%MVNW_REPOURL%" == "" (
|
||||||
|
SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
|
||||||
|
)
|
||||||
|
if "%MVNW_VERBOSE%" == "true" (
|
||||||
|
echo Couldn't find %WRAPPER_JAR%, downloading it ...
|
||||||
|
echo Downloading from: %DOWNLOAD_URL%
|
||||||
|
)
|
||||||
|
|
||||||
|
powershell -Command "&{"^
|
||||||
|
"$webclient = new-object System.Net.WebClient;"^
|
||||||
|
"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
|
||||||
|
"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
|
||||||
|
"}"^
|
||||||
|
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
|
||||||
|
"}"
|
||||||
|
if "%MVNW_VERBOSE%" == "true" (
|
||||||
|
echo Finished downloading %WRAPPER_JAR%
|
||||||
|
)
|
||||||
|
)
|
||||||
|
@REM End of extension
|
||||||
|
|
||||||
|
@REM Provide a "standardized" way to retrieve the CLI args that will
|
||||||
|
@REM work with both Windows and non-Windows executions.
|
||||||
|
set MAVEN_CMD_LINE_ARGS=%*
|
||||||
|
|
||||||
|
%MAVEN_JAVA_EXE% ^
|
||||||
|
%JVM_CONFIG_MAVEN_PROPS% ^
|
||||||
|
%MAVEN_OPTS% ^
|
||||||
|
%MAVEN_DEBUG_OPTS% ^
|
||||||
|
-classpath %WRAPPER_JAR% ^
|
||||||
|
"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
|
||||||
|
%WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
|
||||||
|
if ERRORLEVEL 1 goto error
|
||||||
|
goto end
|
||||||
|
|
||||||
|
:error
|
||||||
|
set ERROR_CODE=1
|
||||||
|
|
||||||
|
:end
|
||||||
|
@endlocal & set ERROR_CODE=%ERROR_CODE%
|
||||||
|
|
||||||
|
if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
|
||||||
|
@REM check for post script, once with legacy .bat ending and once with .cmd ending
|
||||||
|
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
|
||||||
|
if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
|
||||||
|
:skipRcPost
|
||||||
|
|
||||||
|
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
|
||||||
|
if "%MAVEN_BATCH_PAUSE%"=="on" pause
|
||||||
|
|
||||||
|
if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
|
||||||
|
|
||||||
|
cmd /C exit /B %ERROR_CODE%
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>com.example</groupId>
|
||||||
|
<artifactId>HarjoitusTyo</artifactId>
|
||||||
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
<name>HarjoitusTyo</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<junit.version>5.10.2</junit.version> </properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.openjfx</groupId>
|
||||||
|
<artifactId>javafx-controls</artifactId>
|
||||||
|
<version>17.0.6</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.openjfx</groupId>
|
||||||
|
<artifactId>javafx-fxml</artifactId>
|
||||||
|
<version>17.0.6</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.junit.jupiter</groupId>
|
||||||
|
<artifactId>junit-jupiter-api</artifactId>
|
||||||
|
<version>${junit.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.junit.jupiter</groupId>
|
||||||
|
<artifactId>junit-jupiter-engine</artifactId>
|
||||||
|
<version>${junit.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency> </dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.13.0</version>
|
||||||
|
<configuration>
|
||||||
|
<source>23</source>
|
||||||
|
<target>23</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.openjfx</groupId>
|
||||||
|
<artifactId>javafx-maven-plugin</artifactId>
|
||||||
|
<version>0.0.8</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<!-- Default configuration for running with: mvn clean javafx:run -->
|
||||||
|
<id>default-cli</id>
|
||||||
|
<configuration>
|
||||||
|
<mainClass>com.example.harjoitustyo/com.example.harjoitustyo.HelloApplication</mainClass>
|
||||||
|
<launcher>app</launcher>
|
||||||
|
<jlinkZipName>app</jlinkZipName>
|
||||||
|
<jlinkImageName>app</jlinkImageName>
|
||||||
|
<noManPages>true</noManPages>
|
||||||
|
<stripDebug>true</stripDebug>
|
||||||
|
<noHeaderFiles>true</noHeaderFiles>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,332 @@
|
|||||||
|
package com.example.harjoitustyo;
|
||||||
|
|
||||||
|
import javafx.application.Application;
|
||||||
|
import javafx.collections.FXCollections;
|
||||||
|
import javafx.collections.ObservableList;
|
||||||
|
import javafx.collections.transformation.FilteredList;
|
||||||
|
import javafx.geometry.Insets;
|
||||||
|
import javafx.geometry.Pos;
|
||||||
|
import javafx.scene.Scene;
|
||||||
|
import javafx.scene.control.*;
|
||||||
|
import javafx.scene.control.cell.PropertyValueFactory;
|
||||||
|
import javafx.scene.layout.*;
|
||||||
|
import javafx.scene.paint.Color;
|
||||||
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import java.time.format.DateTimeFormatter;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.Optional;
|
||||||
|
import java.util.function.Predicate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ohjelman käyttöliittymä
|
||||||
|
* Luokasta ei tarkoitus tehdä olioita
|
||||||
|
*/
|
||||||
|
public class Paaikkuna extends Application {
|
||||||
|
/**
|
||||||
|
* Ohjelman entrypoint
|
||||||
|
* @param args komentoriviargumentit, ei käytössä
|
||||||
|
*/
|
||||||
|
public static void main(String[] args) {
|
||||||
|
launch(args);
|
||||||
|
}
|
||||||
|
|
||||||
|
//Ohjelman globaaleja asioita
|
||||||
|
private Tehtavat tehtavat = new Tehtavat();
|
||||||
|
private DatePicker dpHaunAlkupvm;
|
||||||
|
private DatePicker dpHaunLoppupvm;
|
||||||
|
private TextField tfHakuteksti;
|
||||||
|
private ComboBox<Tehtava.Status> cbValittuStatus;
|
||||||
|
private TableView<Tehtava> tvTehtavat = new TableView<>();
|
||||||
|
private TextField tfOtsikko;
|
||||||
|
private TextArea taKuvaus;
|
||||||
|
private DatePicker dpDeadline;
|
||||||
|
private ComboBox<Tehtava.Status> cbStatus;
|
||||||
|
private TextField tfValmistumisPaiva;
|
||||||
|
|
||||||
|
//Tyylittelyvalintoja ohjelman käyttöön
|
||||||
|
private final Insets oletusPadding = new Insets(10);
|
||||||
|
private final ButtonType bttKylla = new ButtonType("Kyllä");
|
||||||
|
private final ButtonType bttEi = new ButtonType("Ei");
|
||||||
|
private final Border borderMusta = new Border(new BorderStroke(Color.BLACK, BorderStrokeStyle.SOLID, new CornerRadii(10), BorderWidths.DEFAULT));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Päivittää tvTehtavat valittujen suodatusvalintojen mukaisesti
|
||||||
|
*/
|
||||||
|
void paivitaTehtavanakyma() {
|
||||||
|
ObservableList<Tehtava> olTehtavat = FXCollections.observableList(tehtavat.get());
|
||||||
|
Tehtava.Status valittuStatus = cbValittuStatus.getValue();
|
||||||
|
String hakuteksti = tfHakuteksti.getText().toLowerCase();
|
||||||
|
LocalDate alkupvm = dpHaunAlkupvm.getValue();
|
||||||
|
LocalDate loppupvm = dpHaunLoppupvm.getValue();
|
||||||
|
|
||||||
|
Predicate<Tehtava> tehtavaFiltteri = new Predicate<Tehtava>() {
|
||||||
|
@Override
|
||||||
|
public boolean test(Tehtava tehtava) {
|
||||||
|
if (valittuStatus != null && valittuStatus != tehtava.getTila()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!tehtava.getOtsikko().toLowerCase().contains(hakuteksti) && !tehtava.getKuvaus().toLowerCase().contains(hakuteksti)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if ((alkupvm != null && tehtava.getDeadline().isBefore(alkupvm)) || (loppupvm != null && tehtava.getDeadline().isAfter(loppupvm))) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
FilteredList<Tehtava> flTehtavat = new FilteredList<>(olTehtavat, tehtavaFiltteri);
|
||||||
|
tvTehtavat.setItems(flTehtavat);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Asettaa oletusarvot GUI:n tietokenttiin
|
||||||
|
*/
|
||||||
|
void nollaaKentat() {
|
||||||
|
tfOtsikko.clear();
|
||||||
|
taKuvaus.clear();
|
||||||
|
dpDeadline.getEditor().clear();
|
||||||
|
cbStatus.getSelectionModel().select(Tehtava.Status.Luotu);
|
||||||
|
tfValmistumisPaiva.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Nollaa yläpalkin hakukentät
|
||||||
|
*/
|
||||||
|
void nollaaHakukentat() {
|
||||||
|
dpHaunAlkupvm.setValue(null);
|
||||||
|
dpHaunLoppupvm.setValue(null);
|
||||||
|
tfHakuteksti.clear();
|
||||||
|
cbValittuStatus.getSelectionModel().clearSelection();
|
||||||
|
paivitaTehtavanakyma();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Asettaa valitun tehtävän tiedot kenttiin
|
||||||
|
*/
|
||||||
|
void naytaTehtava() {
|
||||||
|
Tehtava valittu = tvTehtavat.getSelectionModel().getSelectedItem();
|
||||||
|
if (valittu == null) return;
|
||||||
|
tfOtsikko.setText(valittu.getOtsikko());
|
||||||
|
taKuvaus.setText(valittu.getKuvaus());
|
||||||
|
dpDeadline.setValue(valittu.getDeadline());
|
||||||
|
cbStatus.getSelectionModel().select(valittu.getTila());
|
||||||
|
if (valittu.getTila() == Tehtava.Status.Valmis) {
|
||||||
|
tfValmistumisPaiva.setText(valittu.getValmistumisPaiva().format(DateTimeFormatter.ofPattern("dd.MM.yyyy")));
|
||||||
|
} else {
|
||||||
|
tfValmistumisPaiva.setText("");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tallentaa kenttien tiedot valittuun tehtävään, käytetään tehtävän muutoksien tallentamiseen
|
||||||
|
*/
|
||||||
|
void tallennaTehtava() {
|
||||||
|
Tehtava valittu = tvTehtavat.getSelectionModel().getSelectedItem();
|
||||||
|
if (valittu == null) return;
|
||||||
|
|
||||||
|
valittu.setOtsikko(tfOtsikko.getText());
|
||||||
|
valittu.setKuvaus(taKuvaus.getText());
|
||||||
|
valittu.setDeadline(dpDeadline.getValue());
|
||||||
|
valittu.setTila(cbStatus.getSelectionModel().getSelectedItem());
|
||||||
|
tvTehtavat.refresh();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Poistaa valitun tehtävän
|
||||||
|
*/
|
||||||
|
void poistaTehtava() {
|
||||||
|
Tehtava valittu = tvTehtavat.getSelectionModel().getSelectedItem();
|
||||||
|
if (valittu == null) return;
|
||||||
|
|
||||||
|
Alert vahvistus = new Alert(Alert.AlertType.CONFIRMATION, "Jatketaanko?", bttKylla, bttEi);
|
||||||
|
vahvistus.setTitle("Poiston vahvistaminen");
|
||||||
|
vahvistus.setHeaderText("Olet poistamassa tehtävää\n" + valittu.getOtsikko());
|
||||||
|
Optional<ButtonType> vastaus = vahvistus.showAndWait();
|
||||||
|
if (vastaus.isPresent() && vastaus.get() == bttKylla) {
|
||||||
|
tehtavat.poista(valittu);
|
||||||
|
paivitaTehtavanakyma();
|
||||||
|
nollaaKentat();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Luo ikkunan, jossa käyttäjä voi luoda uuden tehtävän
|
||||||
|
*/
|
||||||
|
void lisaaTehtava() {
|
||||||
|
Stage stage = new Stage();
|
||||||
|
stage.setTitle("Tehtävän lisääminen");
|
||||||
|
stage.setResizable(false);
|
||||||
|
|
||||||
|
GridPane rt = new GridPane();
|
||||||
|
rt.setPadding(oletusPadding);
|
||||||
|
rt.setVgap(10);
|
||||||
|
rt.setHgap(10);
|
||||||
|
rt.setAlignment(Pos.CENTER);
|
||||||
|
|
||||||
|
TextField otsikko = new TextField();
|
||||||
|
rt.addRow(0, new Label("Anna otsikko"), otsikko);
|
||||||
|
|
||||||
|
TextArea kuvaus = new TextArea();
|
||||||
|
kuvaus.setPrefRowCount(2);
|
||||||
|
rt.addRow(1, new Label("Anna kuvaus"), kuvaus);
|
||||||
|
|
||||||
|
DatePicker deadline = new DatePicker(LocalDate.now().minusDays(1));
|
||||||
|
rt.addRow(2, new Label("Anna deadline"), deadline);
|
||||||
|
|
||||||
|
Button lisaaTehtava = new Button("Lisää tehtävä");
|
||||||
|
Label info = new Label();
|
||||||
|
info.setStyle("-fx-font-size: 15; -fx-font-weight: bold;");
|
||||||
|
lisaaTehtava.setMinWidth(80);
|
||||||
|
lisaaTehtava.setOnAction(e -> {
|
||||||
|
if (otsikko.getText().isEmpty()) {
|
||||||
|
info.setText("Lisää otsikko");
|
||||||
|
}
|
||||||
|
else if (deadline.getValue().isBefore(LocalDate.now())) {
|
||||||
|
info.setText("Deadline ei voi olla menneisyydessä");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
tehtavat.lisaa(new Tehtava(otsikko.getText(), kuvaus.getText(), deadline.getValue()));
|
||||||
|
stage.close();
|
||||||
|
paivitaTehtavanakyma();
|
||||||
|
nollaaHakukentat();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
rt.addRow(3, lisaaTehtava, info);
|
||||||
|
|
||||||
|
Scene sc = new Scene(rt);
|
||||||
|
stage.setScene(sc);
|
||||||
|
stage.show();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Piirtää ohjelman pääikkunan
|
||||||
|
* @param primaryStage ohjelman päästage
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void start(Stage primaryStage) {
|
||||||
|
//Ikkunamäärittelyt
|
||||||
|
primaryStage.setTitle("TODO");
|
||||||
|
primaryStage.setResizable(false);
|
||||||
|
primaryStage.setWidth(800);
|
||||||
|
primaryStage.setHeight(600);
|
||||||
|
primaryStage.setOnCloseRequest(e -> tehtavat.tallenna());
|
||||||
|
|
||||||
|
//Ikkunan asettelun pohja
|
||||||
|
BorderPane root = new BorderPane();
|
||||||
|
|
||||||
|
|
||||||
|
//Yläreunan suodatusvalinnat
|
||||||
|
HBox ylaPalkki = new HBox();
|
||||||
|
ylaPalkki.setAlignment(Pos.CENTER_RIGHT);
|
||||||
|
ylaPalkki.setPadding(oletusPadding);
|
||||||
|
ylaPalkki.setBorder(borderMusta);
|
||||||
|
ylaPalkki.setSpacing(5);
|
||||||
|
|
||||||
|
//Haku deadlinella
|
||||||
|
dpHaunAlkupvm = new DatePicker();
|
||||||
|
dpHaunAlkupvm.setMaxWidth(100);
|
||||||
|
dpHaunAlkupvm.valueProperty().addListener(e -> paivitaTehtavanakyma());
|
||||||
|
dpHaunLoppupvm = new DatePicker();
|
||||||
|
dpHaunLoppupvm.setMaxWidth(100);
|
||||||
|
dpHaunLoppupvm.valueProperty().addListener(e -> paivitaTehtavanakyma());
|
||||||
|
ylaPalkki.getChildren().addAll(new Label("Deadline välillä"), dpHaunAlkupvm, new Label("-"), dpHaunLoppupvm);
|
||||||
|
|
||||||
|
//Haku otsikosta ja kuvauksesta
|
||||||
|
tfHakuteksti = new TextField();
|
||||||
|
tfHakuteksti.textProperty().addListener(e-> paivitaTehtavanakyma());
|
||||||
|
ylaPalkki.getChildren().addAll(new Label("Haettava teksti:"), tfHakuteksti);
|
||||||
|
|
||||||
|
//Statuksella hakemista
|
||||||
|
cbValittuStatus = new ComboBox<>(FXCollections.observableList(Arrays.asList(Tehtava.Status.values())));
|
||||||
|
cbValittuStatus.setBackground(new Background(new BackgroundFill(Color.WHITE, new CornerRadii(5), null)));
|
||||||
|
cbValittuStatus.setBorder(new Border(new BorderStroke(Color.LIGHTGRAY, BorderStrokeStyle.SOLID, null, BorderWidths.DEFAULT)));
|
||||||
|
cbValittuStatus.getSelectionModel().selectedIndexProperty().addListener(e-> paivitaTehtavanakyma());
|
||||||
|
Button bResetValittuStatus = new Button("Nollaa");
|
||||||
|
bResetValittuStatus.setOnAction(e-> nollaaHakukentat());
|
||||||
|
ylaPalkki.getChildren().addAll(new Label("Status"), cbValittuStatus, bResetValittuStatus);
|
||||||
|
|
||||||
|
root.setTop(ylaPalkki);
|
||||||
|
|
||||||
|
|
||||||
|
//ListView keskelle
|
||||||
|
VBox tehtavaNakyma = new VBox();
|
||||||
|
TableColumn<Tehtava, LocalDate> tcLuontipaiva = new TableColumn<>("Luontipäivä");
|
||||||
|
tcLuontipaiva.setMinWidth(100);
|
||||||
|
tcLuontipaiva.setCellFactory(_ -> new PaivamaaraTableCell());
|
||||||
|
tcLuontipaiva.setCellValueFactory(new PropertyValueFactory<>("luontiPaiva"));
|
||||||
|
tcLuontipaiva.setResizable(false);
|
||||||
|
|
||||||
|
TableColumn<Tehtava, String> tcOtsikko = new TableColumn<>("Otsikko");
|
||||||
|
tcOtsikko.setMinWidth(449);
|
||||||
|
tcOtsikko.setCellValueFactory(new PropertyValueFactory<>("otsikko"));
|
||||||
|
tcOtsikko.setResizable(false);
|
||||||
|
|
||||||
|
TableColumn<Tehtava, LocalDate> tcDeadline = new TableColumn<>("Deadline");
|
||||||
|
tcDeadline.setMinWidth(100);
|
||||||
|
tcDeadline.setCellFactory(_ -> new PaivamaaraTableCell());
|
||||||
|
tcDeadline.setCellValueFactory(new PropertyValueFactory<>("deadline"));
|
||||||
|
tcDeadline.setResizable(false);
|
||||||
|
|
||||||
|
TableColumn<Tehtava, String> tcValmis = new TableColumn<>("Tehtävän tila");
|
||||||
|
tcValmis.setMinWidth(100);
|
||||||
|
tcValmis.setCellValueFactory(new PropertyValueFactory<>("tila"));
|
||||||
|
tcValmis.setResizable(false);
|
||||||
|
|
||||||
|
tvTehtavat.getColumns().addAll(tcLuontipaiva, tcOtsikko, tcDeadline, tcValmis);
|
||||||
|
tvTehtavat.getSelectionModel().selectedIndexProperty().addListener(e->naytaTehtava());
|
||||||
|
tvTehtavat.setPlaceholder(new Label("Ei tehtäviä\nKokeile lisätä uusia!"));
|
||||||
|
tehtavaNakyma.getChildren().add(tvTehtavat);
|
||||||
|
tehtavaNakyma.setPadding(oletusPadding);
|
||||||
|
root.setCenter(tehtavaNakyma);
|
||||||
|
paivitaTehtavanakyma();
|
||||||
|
|
||||||
|
|
||||||
|
//Alapuolen toiminnallisuus
|
||||||
|
int btnLeveys = 100;
|
||||||
|
GridPane gpAlapalkki = new GridPane();
|
||||||
|
gpAlapalkki.setHgap(28);
|
||||||
|
gpAlapalkki.setVgap(5);
|
||||||
|
|
||||||
|
Label lbOtsikko = new Label("Otsikko:");
|
||||||
|
tfOtsikko = new TextField();
|
||||||
|
tfOtsikko.setMinWidth(450);
|
||||||
|
Button btPoista = new Button("Poista");
|
||||||
|
btPoista.setMinWidth(btnLeveys);
|
||||||
|
btPoista.setOnAction(e->poistaTehtava());
|
||||||
|
gpAlapalkki.addRow(0, lbOtsikko, tfOtsikko, btPoista);
|
||||||
|
|
||||||
|
Label lbKuvaus = new Label("Kuvaus:");
|
||||||
|
taKuvaus = new TextArea();
|
||||||
|
taKuvaus.setMinWidth(450);
|
||||||
|
taKuvaus.setPrefRowCount(2);
|
||||||
|
Button btLisaa = new Button("Lisää uusi");
|
||||||
|
btLisaa.setMinWidth(btnLeveys);
|
||||||
|
btLisaa.setOnAction(e->lisaaTehtava());
|
||||||
|
gpAlapalkki.addRow(1, lbKuvaus, taKuvaus, btLisaa);
|
||||||
|
|
||||||
|
Label lbDeadline = new Label("Deadline");
|
||||||
|
HBox hbDeadlineJaTila = new HBox();
|
||||||
|
dpDeadline = new DatePicker();
|
||||||
|
cbStatus = new ComboBox<>(FXCollections.observableList(Arrays.asList(Tehtava.Status.values())));
|
||||||
|
tfValmistumisPaiva = new TextField();
|
||||||
|
tfValmistumisPaiva.setEditable(false);
|
||||||
|
hbDeadlineJaTila.getChildren().addAll(dpDeadline, new Label("Valmistuspäivä"), tfValmistumisPaiva, new Label("Status"), cbStatus);
|
||||||
|
hbDeadlineJaTila.setSpacing(5);
|
||||||
|
hbDeadlineJaTila.setAlignment(Pos.CENTER_LEFT);
|
||||||
|
Button btTallenna = new Button("Tallenna");
|
||||||
|
btTallenna.setMinWidth(btnLeveys);
|
||||||
|
btTallenna.setOnAction(e->tallennaTehtava());
|
||||||
|
gpAlapalkki.addRow(2, lbDeadline, hbDeadlineJaTila, btTallenna);
|
||||||
|
gpAlapalkki.setPadding(oletusPadding);
|
||||||
|
root.setBottom(gpAlapalkki);
|
||||||
|
|
||||||
|
|
||||||
|
Scene scene = new Scene(root);
|
||||||
|
primaryStage.setScene(scene);
|
||||||
|
primaryStage.show();
|
||||||
|
nollaaKentat();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
package com.example.harjoitustyo;
|
||||||
|
|
||||||
|
import javafx.scene.control.TableCell;
|
||||||
|
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import java.time.format.DateTimeFormatter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Kustomoitu TableCell, joka muokkaa sen sisältämän LocalDaten muotoon dd.MM.yyyy
|
||||||
|
*/
|
||||||
|
public class PaivamaaraTableCell extends TableCell<Tehtava, LocalDate> {
|
||||||
|
public PaivamaaraTableCell() {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void updateItem(LocalDate aika, boolean empty) {
|
||||||
|
super.updateItem(aika, empty);
|
||||||
|
if (empty || aika == null) return;
|
||||||
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd.MM.yyyy");
|
||||||
|
String muokattuAika = aika.format(formatter);
|
||||||
|
setText(muokattuAika);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,112 @@
|
|||||||
|
package com.example.harjoitustyo;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ohjelman perustietoluokka
|
||||||
|
*/
|
||||||
|
public class Tehtava implements Serializable {
|
||||||
|
/**
|
||||||
|
* Enum tehtävän tilan seuraamiseen
|
||||||
|
*/
|
||||||
|
public enum Status {
|
||||||
|
Luotu,
|
||||||
|
Vaiheessa,
|
||||||
|
Valmis
|
||||||
|
}
|
||||||
|
|
||||||
|
private static int idCounter = 1;
|
||||||
|
|
||||||
|
private final int id;
|
||||||
|
private String otsikko;
|
||||||
|
private String kuvaus;
|
||||||
|
private final LocalDate luontiPaiva;
|
||||||
|
private LocalDate deadline;
|
||||||
|
private LocalDate valmistumisPaiva;
|
||||||
|
private Status tila;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Luo uuden tehtävän
|
||||||
|
* @param otsikko Tehtävän otsikko
|
||||||
|
* @param kuvaus Tehtävän kuvaus
|
||||||
|
* @param deadline Tehtävän deadline
|
||||||
|
*/
|
||||||
|
public Tehtava(String otsikko, String kuvaus, LocalDate deadline) {
|
||||||
|
this.id = idCounter++;
|
||||||
|
this.otsikko = otsikko;
|
||||||
|
this.kuvaus = kuvaus;
|
||||||
|
this.luontiPaiva = LocalDate.now();
|
||||||
|
this.deadline = deadline;
|
||||||
|
this.tila = Status.Luotu;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Asettaa luokan staattisen muuttujan tiettyyn arvoon
|
||||||
|
* @param idCounter kentän uusi arvo
|
||||||
|
*/
|
||||||
|
protected static void setIdCounter(int idCounter) {
|
||||||
|
Tehtava.idCounter = idCounter;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Asettaa tehtävän tilan ja valmistumisPaiva kentän valmistumispäivään
|
||||||
|
* @param tila tehtävän uusi tila
|
||||||
|
*/
|
||||||
|
public void setTila(Status tila) {
|
||||||
|
switch (tila) {
|
||||||
|
case Luotu:
|
||||||
|
this.tila = Status.Luotu;
|
||||||
|
this.valmistumisPaiva = null;
|
||||||
|
break;
|
||||||
|
case Vaiheessa:
|
||||||
|
this.tila = Status.Vaiheessa;
|
||||||
|
this.valmistumisPaiva = null;
|
||||||
|
break;
|
||||||
|
case Valmis:
|
||||||
|
if (this.tila == Status.Valmis) return; //Jos on jo valmis, ei tehdä mitään
|
||||||
|
this.tila = Status.Valmis;
|
||||||
|
this.valmistumisPaiva = LocalDate.now();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOtsikko(String otsikko) {
|
||||||
|
this.otsikko = otsikko;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setKuvaus(String kuvaus) {
|
||||||
|
this.kuvaus = kuvaus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeadline(LocalDate deadline) {
|
||||||
|
this.deadline = deadline;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOtsikko() {
|
||||||
|
return otsikko;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getKuvaus() {
|
||||||
|
return kuvaus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public LocalDate getLuontiPaiva() {
|
||||||
|
return luontiPaiva;
|
||||||
|
}
|
||||||
|
|
||||||
|
public LocalDate getDeadline() {
|
||||||
|
return deadline;
|
||||||
|
}
|
||||||
|
|
||||||
|
public LocalDate getValmistumisPaiva() {
|
||||||
|
return valmistumisPaiva;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Status getTila() {
|
||||||
|
return tila;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
package com.example.harjoitustyo;
|
||||||
|
|
||||||
|
import java.io.*;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Luokka, joka hoitaa tehtävien lukemisen ja kirjoittamisen tiedostoon
|
||||||
|
*/
|
||||||
|
public class Tehtavat {
|
||||||
|
//Polku datatiedostoon
|
||||||
|
private final String tiedostoPolku = "tehtavat.dat";
|
||||||
|
|
||||||
|
//Tehtävälista
|
||||||
|
private ArrayList<Tehtava> tehtavat = new ArrayList<>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Luo Tehtavat olion, joka sisältää ohjelmassa käsiteltävät tehtävät
|
||||||
|
* Hakee automaattisesti tiedostosta tehtävät, mikäli niitä on.
|
||||||
|
*/
|
||||||
|
public Tehtavat() {
|
||||||
|
try (FileInputStream fis = new FileInputStream(tiedostoPolku);
|
||||||
|
ObjectInputStream ois = new ObjectInputStream(fis)) {
|
||||||
|
Object luettu = ois.readObject();
|
||||||
|
if (luettu instanceof ArrayList<?>) {
|
||||||
|
tehtavat = (ArrayList<Tehtava>) luettu;
|
||||||
|
System.out.println(tehtavat.size() + " tehtävää ladattu tiedostosta");
|
||||||
|
Tehtava.setIdCounter(getMaxId() + 1);
|
||||||
|
}
|
||||||
|
} catch (FileNotFoundException e) {
|
||||||
|
System.out.println("Tiedostoa ei löytynyt");
|
||||||
|
} catch (IOException | ClassNotFoundException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Palauttaa tehtävälistan
|
||||||
|
* @return tehtävälistan
|
||||||
|
*/
|
||||||
|
public ArrayList<Tehtava> get() {
|
||||||
|
return tehtavat;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lisää tehtävän listaan
|
||||||
|
* @param tehtava lisättävä tehtävä
|
||||||
|
*/
|
||||||
|
public void lisaa(Tehtava tehtava) {
|
||||||
|
tehtavat.add(tehtava);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Poistaa tehtävän
|
||||||
|
* @param tehtava poistettava tehtava
|
||||||
|
*/
|
||||||
|
public void poista(Tehtava tehtava) {
|
||||||
|
tehtavat.remove(tehtava);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tallentaa tehtävälistan luokkaan määriteltyyn tiedostoon
|
||||||
|
*/
|
||||||
|
public void tallenna() {
|
||||||
|
try (FileOutputStream fos = new FileOutputStream(tiedostoPolku);
|
||||||
|
ObjectOutputStream oos = new ObjectOutputStream(fos)) {
|
||||||
|
oos.writeObject(this.tehtavat);
|
||||||
|
System.out.println("Tehtävät tallennettu");
|
||||||
|
} catch (FileNotFoundException e) {
|
||||||
|
System.out.println("Tiedostoa ei löytynyt");
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Metodi tehtävien suurimman id:n etsimiseen
|
||||||
|
* @return max(Tehtava.getId())
|
||||||
|
*/
|
||||||
|
private int getMaxId() {
|
||||||
|
int max = 0;
|
||||||
|
for (Tehtava tehtava : tehtavat) {
|
||||||
|
if (tehtava.getId() > max) {
|
||||||
|
max = tehtava.getId();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return max;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
module com.example.harjoitustyo {
|
||||||
|
requires javafx.controls;
|
||||||
|
requires javafx.fxml;
|
||||||
|
|
||||||
|
|
||||||
|
opens com.example.harjoitustyo to javafx.fxml;
|
||||||
|
exports com.example.harjoitustyo;
|
||||||
|
}
|
||||||
Binary file not shown.
Reference in New Issue
Block a user