«
前
|
次
»
リビジョン 4d4b7994
| src/com/torutk/jarmanifest/JarManifestViewController.java | ||
|---|---|---|
|
import java.util.jar.JarFile;
|
||
|
import java.util.logging.Logger;
|
||
|
import static java.util.stream.Collectors.toList;
|
||
|
import javafx.animation.FadeTransition;
|
||
|
import javafx.event.ActionEvent;
|
||
|
import javafx.fxml.FXML;
|
||
|
import javafx.fxml.Initializable;
|
||
| ... | ... | |
|
import javafx.scene.control.TextField;
|
||
|
import javafx.stage.FileChooser;
|
||
|
import javafx.stage.Stage;
|
||
|
import javafx.util.Duration;
|
||
|
|
||
|
/**
|
||
|
* JARマニフェスト表示画面のコントローラクラス。
|
||
| ... | ... | |
|
@FXML
|
||
|
private void handleButtonAction(ActionEvent event) {
|
||
|
selectJarFile();
|
||
|
setViewEffect();
|
||
|
}
|
||
|
|
||
|
private void setViewEffect() {
|
||
|
FadeTransition fader = new FadeTransition(Duration.millis(1500), table);
|
||
|
fader.setFromValue(0.0);
|
||
|
fader.setToValue(1.0);
|
||
|
fader.play();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
JARファイル指定後マニフェスト一覧を表示する際、フェード効果を入れた。 refs #15