Oberflächen
  Vorlesungen     Download     DBS     Sprachen     File Formats     Impressum     Datenschutz  
C#- GUI-Programme mit Quellcode
Java-Programme mit Quellcode
C#
WPF
HTML
Java FX
Java (Swing)
Winforms
Visual Studio (MFC)
ArcView
QGis
ArcView .net
IDW
Allgemein:
Startseite
Vorlesungen
Labore
Sinnvolle Programme
Lineare Regression
GUI-Entwurfsarbeit
Single-Format
Design Pattern-Termine
Observer1
Bsp2
Json-Array
Json-Dialogelemente
Webtechnologien

CSS-Snippet

setzen von CSS

sccene:
scene.getStylesheets().add("UIBsp.css");

ChoicBox:
ComboBox:
ListView:
Spinner:
TabView:
listview.setStyle("-fx-font: 22px \"Serif\";"); CSS-ID:
bnOk.setId("buttonok");


.button{
-fx-text-fill:blue;
}

#buttonok {
-fx-font-size:28;
-fx-text-fill:red ;
}




CSS-Selectoren

-fx-font-size:22;
-fx-text-fill: blue ;
-fx-background-color: yellow;
-fx-column-halignment:center;
-fx-background-color:red;
-fx-opacity:1;
-fx-padding:10;
-fx-background-insets: 0, 6, 7, 8;
-fx-background-radius:10;
-fx-font-weight:bold;




Beispiele

.root {
-fx-font-size:22;
}.tab-label {
-fx-text-fill: blue ;
-fx-font-size:22;
}

.menu, .menu-item {
-fx-text-fill: blue ;
-fx-font-size:22;
}

.button{
-fx-background-color: yellow;
}

.choicebox {
-fx-text-fill: blue ;
-fx-font-size:22;
}

.flowpane{
-fx-background-color: red;
-fx-column-halignment:center;
}


.tab-label {
-fx-text-fill: blue ;
-fx-font-size:22;
}

3D-Button:
.button{
-fx-padding: 8 15 15 15;
-fx-background-insets: 10,10 10 12 10, 10 10 13 10. 10 10 14 10;
-fx-background-radius:10;
-fx-font-weight:bold;
-fx-font-size:22;
}


ContextMenu
Dialog mit Alert