Adjacent Files

Project Info

. > library > src > main > java > me > jfenn > radiallayout > RadialLayoutView.java

isFirstDrawn

Type: private boolean

true once the view has been drawn - will invalidate continuously until then as an alternative to a ViewTreeObserver

getPaint

Type: public Paint

Returned Value: the Paint used to draw images of the items in the view

getShadowPaint

Type: public Paint

Returned Value: the Paint used to draw the shadows of items in the view

setShadowColor

Type: public void

Sets the color of the shadow of all items in the view

Parameter Name Description
shadowColor a color int

setCenterItem

Type: public void

Set the item to be displayed in the center of the view.

Parameter Name Description
item the item to be displayed in the center of the view

setOnCenterClickListener

Type: public void

Listen for the center item being pressed.

setOnItemClickListener

Type: public void

Listen for any other item being pressed.

getItems

Type: public List<BaseRadialItem>

Get all the items being displayed in the view.

Returned Value: a list of the items being displayed in the view

setItems

Type: public Builder

This method returns a builder to help set up the necessary parameters for calculating item positions.

Parameter Name Description
items the new list of items to display

Returned Value: a builder to help set up the necessary parameters for calculating item positions

updateItems

Type: public Builder

This method returns a builder to help set up the necessary parameters for calculating new item positions.

Parameter Name Description
items the modified list of items to display

Returned Value: a builder to help set up the necessary parameters for calculating item positions

This site may do shady things with cookies and stuff because it's evil. Please don't read my privacy policy. close