Archive for category CSS

ListCell Animation in ListView

After a long time I am back again with new stuffs. I have seen that JavaFX has got so many demand nowadays. Lots of people are requesting for something new something wow effect. In the same way one of my colleagues told me what if we have listview got some effects on scrolling the list. I got some dig around JavaFX Animation API and did some animation with ListCell but I thought it would be great if I share my works to you guys.

First We got to revamp what is the Listcell. ListCell are designed for making user to display text content in list format. But we can override these and make our own like displaying images,shapes and other controls as well.

ListCell inherits the character of Labeled so in default ListCell only displays the text content.If you want some control in your listcell other than label then there are some bunch of cellfactory in javafx.scene.control.cell package.

Every ListCell are being rendered according to the cellFactory implementation so you are free to implement your own cellFactory to make the listcell even more customizable. I had posted about TableCell customization which utilizes use of cellFactory (TableView Cell Modify)

Lets roll with the ListCell customization.
Read the rest of this entry »

Tags: , , ,

Pagination and style in JavaFX TableView

Hello geeks, I think most of you have already knew that JavaFX 2.2 contains the “Pagination” which is really awesome although it is not pretty hard to make our own. Lets first look over how the Pagination actually looks like.

 

1. LOOKS

Normal Pagination

Ok now that was just the normal Pagination you can modify and change as per your need . You can just style it using some CSS codes.
Read the rest of this entry »

Tags: , , ,

How to bind vertical scroll in multi tableview

Hi javafx folks,

Today I will show how to make your multi table view bind with a single ScrollBar. JavaFX is becoming more and more powerful and nowadays people are using this javafx for comaparing the data between tables and it’s pretty much helpful for scrolling the tables with a single Scrollbar.

To make this things happen ; Firstly I have dived to check if there is any api for making scroll binding in both tables but I didn’t find them. I then went to see if there is any manual scroll of the tableview finally i found them scrollTo(int) which is really helpful for the programmer to scroll the tableview manually.

Lets first see how we are going to make this happen.
Read the rest of this entry »

Tags: , , , , , , ,

Feather Edit v.1.0 released

This is the first version of the Feather Edit software which is totally made from JavaFX and CSS. It’s named as Feather because it’s very light in size . Here are some of the features of this software.

 

Feather Edit

 

 

Features

  1. Live Screenshots
  2. Effects on Image
  3. Saving state of your edit
  4. Different Format
  5. Light Size

You can check out this software from here: http://apps.ngopal.com.np/feather_edit/

To Download the app directly : http://apps.ngopal.com.np/feather_edit/download.php

Feedback Email : fe@apps.ngopal.com.np

Tags: , ,

Source Code : Draggable ListCell as FriendList Demo

Hello I’m back,

Ah…Today I finally got some time to think of uploading the source code of Draggable ListCell as FriendList Demo.

 

Here we go:

Source Code in GIT : javafx-autocomplete-field
 

Screenshots:

Friends List Demo

Click on above picture to see live example in browser

 

The full description about this blog is posted here: JavaFX Drag and Drop Cell in ListView

Hope you guys like it!

Thanks and have a good day folks 🙂

Tags: , , , , , ,