Package com.orchestranetworks.ui
Class UITableCellStyleHandler
- java.lang.Object
- com.orchestranetworks.ui.UITableCellStyleHandler
 
 - public final class UITableCellStyleHandler extends Object This class is used to define table cell styles for a UI bean editor.- It can be accessed from - UIResponseContext.getTableCellStyleHandler().- Since:
- 5.2.0
 
-   Nested Class SummaryNested Classes Modifier and Type Class Description static classUITableCellStyleHandler.BackgroundRepeat
 -   Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackgroundColor()Returns the background color set for the cell.StringgetBackgroundImage()Returns the background image set for the cell.StringgetBackgroundPosition()Returns the background position set for the cell.UITableCellStyleHandler.BackgroundRepeatgetBackgroundRepeat()Returns the background repeat set for the cell.booleanisEmpty()Returnstrueif a least one property (color/image/position) has been set,falseotherwise.booleansetBackgroundColor (String htmlBackgroundColor)Sets a background color for the cell.voidsetBackgroundImage (String imageURL, UITableCellStyleHandler.BackgroundRepeat backgroundRepeat)Sets a background image for the cell.voidsetBackgroundImage (String imageURL, UITableCellStyleHandler.BackgroundRepeat backgroundRepeat, String backgroundPosition)Sets a background image for the cell.
 
-   
-   Method Detail- isEmpty- public boolean isEmpty() Returns- trueif a least one property (color/image/position) has been set,- falseotherwise.
 - setBackgroundColor- public boolean setBackgroundColor(String htmlBackgroundColor) Sets a background color for the cell.- Parameters:
- htmlBackgroundColor- accepts HTML hexadecimal RGB colors, for example, light orange could be expressed as #FFDD99, FFDD99, #FD9 or FD9.
- Returns:
- trueif- htmlBackgroundColoris well formed, otherwise returns- false.
 
 - setBackgroundImage- public void setBackgroundImage(String imageURL, UITableCellStyleHandler.BackgroundRepeat backgroundRepeat) Sets a background image for the cell.- Parameters:
- imageURL- the URL of the background image.
- backgroundRepeat- the repeat mode of the background image.
 
 - setBackgroundImage- public void setBackgroundImage(String imageURL, UITableCellStyleHandler.BackgroundRepeat backgroundRepeat, String backgroundPosition) Sets a background image for the cell.- Parameters:
- imageURL- the URL of the background image.
- backgroundRepeat- the repeat mode of the background image.
- backgroundPosition- the CSS position of the background image ("left center" or "50% 50%" or "0px 10px" ...).
 
 - getBackgroundColor- public String getBackgroundColor() Returns the background color set for the cell.
 - getBackgroundImage- public String getBackgroundImage() Returns the background image set for the cell.
 - getBackgroundRepeat- public UITableCellStyleHandler.BackgroundRepeat getBackgroundRepeat() Returns the background repeat set for the cell.
 - getBackgroundPosition- public String getBackgroundPosition() Returns the background position set for the cell.
 
 
-