org.rcfaces.core.component.capability
Interface IHorizontalTextPositionCapability

All Known Subinterfaces:
IImageButtonFamilly, ITextPositionCapability
All Known Implementing Classes:
CheckButtonComponent, DateChooserComponent, HelpButtonComponent, ImageButtonComponent, ImageCheckButtonComponent, ImageComboComponent, ImagePagerButtonComponent, ImageRadioButtonComponent, ImageResetButtonComponent, ImageSubmitButtonComponent, ItemsListComponent, ItemsToolFolderComponent, RadioButtonComponent, TextEditorImageButtonComponent, ToolItemComponent

public interface IHorizontalTextPositionCapability

A string value specifying the position of the text in the component :

Author:
Fred

Field Summary
static int CENTER_POSITION
           
static int DEFAULT_POSITION
           
static int LEFT_POSITION
           
static int RIGHT_POSITION
           
static int UNKNOWN_POSITION
           
 
Method Summary
 int getTextPosition()
          Returns an int value specifying the position of the text in the component.
 void setTextPosition(int position)
          Sets an int value specifying the position of the text in the component.
 

Field Detail

RIGHT_POSITION

static final int RIGHT_POSITION
See Also:
Constant Field Values

LEFT_POSITION

static final int LEFT_POSITION
See Also:
Constant Field Values

CENTER_POSITION

static final int CENTER_POSITION
See Also:
Constant Field Values

DEFAULT_POSITION

static final int DEFAULT_POSITION
See Also:
Constant Field Values

UNKNOWN_POSITION

static final int UNKNOWN_POSITION
See Also:
Constant Field Values
Method Detail

getTextPosition

int getTextPosition()
Returns an int value specifying the position of the text in the component.

Returns:
0x08:right|0x10:left

setTextPosition

void setTextPosition(int position)
Sets an int value specifying the position of the text in the component.

Parameters:
position - 0x00:right|0x10:left


Copyright © 2006-2011 Vedana. All Rights Reserved.