public class BarStyle extends Object implements com.aspose.ms.System.IDisposable
Change the visual style of the bar for the item in the project view.
Modifier and Type | Class and Description |
---|---|
static class |
BarStyle.TaskToBarTextConverter
Task's data to bar text converter.
|
Constructor and Description |
---|
BarStyle()
Creates default bar style.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
Color |
getBarColor()
Gets a color of the bar style.
|
int |
getBarShape()
Gets bar shape (
BarShape ) of the bar style. |
BarStyle.TaskToBarTextConverter |
getBarTextConverter()
Gets text converter (
TaskToBarTextConverter ) to getInternal text for the bar to render. |
int |
getEndShape()
Gets shape (
Shape ) at the end of the bar. |
Color |
getEndShapeColor()
Gets a color of the shape at the end of the bar.
|
int |
getItemType()
Gets item type (
BarItemType ) of the bar style. |
int |
getStartShape()
Gets shape (
Shape ) at the beginning of the bar. |
Color |
getStartShapeColor()
Gets a color of the shape at the beginning of the bar.
|
TextStyle |
getTextStyle()
Gets text style (
TextStyle ) of the text to render on the right of the bar. |
void |
setBarColor(Color value)
Sets a color of the bar style.
|
void |
setBarShape(int value)
Sets bar shape (
BarShape ) of the bar style. |
void |
setBarTextConverter(BarStyle.TaskToBarTextConverter value)
Sets text converter (
TaskToBarTextConverter ) to getInternal text for the bar to render. |
void |
setEndShape(int value)
Sets shape (
Shape ) at the end of the bar. |
void |
setEndShapeColor(Color value)
Sets a color of the shape at the beginning of the bar.
|
void |
setItemType(int value)
Sets item type (
BarItemType ) of the bar style. |
void |
setStartShape(int value)
Sets shape (
Shape ) at the beginning of the bar. |
void |
setStartShapeColor(Color value)
Sets a color of the shape at the beginning of the bar.
|
void |
setTextStyle(TextStyle value)
Sets text style (
TextStyle ) of the text to render on the right of the bar. |
public void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose
in interface com.aspose.ms.System.IDisposable
public Color getBarColor()
public void setBarColor(Color value)
value
- a color of the bar style.public int getBarShape()
Gets bar shape (BarShape
) of the bar style.
public void setBarShape(int value)
BarShape
) of the bar style.value
- bar shape of the bar style.public BarStyle.TaskToBarTextConverter getBarTextConverter()
Gets text converter (TaskToBarTextConverter
) to getInternal text for the bar to render.
TaskToBarTextConverter
) to getInternal text for the bar to render.public void setBarTextConverter(BarStyle.TaskToBarTextConverter value)
TaskToBarTextConverter
) to getInternal text for the bar to render.value
- text converter (TaskToBarTextConverter
) to getInternal text for the bar to render.public int getEndShape()
Gets shape (Shape
) at the end of the bar.
public void setEndShape(int value)
Shape
) at the end of the bar.value
- shape at the end of the bar.public Color getEndShapeColor()
public void setEndShapeColor(Color value)
value
- a color of the shape at the beginning of the bar.public int getItemType()
Gets item type (BarItemType
) of the bar style.
public void setItemType(int value)
BarItemType
) of the bar style.value
- item type of the bar style.public int getStartShape()
Gets shape (Shape
) at the beginning of the bar.
public void setStartShape(int value)
Shape
) at the beginning of the bar.value
- shape at the beginning of the bar.public Color getStartShapeColor()
public void setStartShapeColor(Color value)
value
- a color of the shape at the beginning of the bar.public TextStyle getTextStyle()
Gets text style (TextStyle
) of the text to render on the right of the bar.
public void setTextStyle(TextStyle value)
TextStyle
) of the text to render on the right of the bar.value
- text style of the text to render on the right of the bar.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.