private TextWithLabelElement text_parseText;
private int cursorPosition;
- /**
+ public int getCursorPosition() {
+ return cursorPosition;
+ }
+
+ public void setCursorPosition(int cursorPosition) {
+ this.cursorPosition = cursorPosition;
+ }
+
+ /**
* <p>
* Constructor for DateDetailSection.
* </p>
* When setting the entity through parsing we do not want to alter the parse field
* @param timePeriod
*/
- private void setEntityInternally(TimePeriod timePeriod){
+ protected void setEntityInternally(TimePeriod timePeriod){
Partial start = timePeriod.getStart();
partialElement_start.setPartial(start);
Partial end = timePeriod.getEnd();
firePropertyChangeEvent(new CdmPropertyChangeEvent(this, null));
}
- private void updateTitle(){
+ protected void updateTitle(){
String title = CdmUtils.Nz(getEntity().toString());
this.setText(title);
layout();