Java Code Examples for ims.framework.controls.DynamicGridColumnCollection.newColumn()

The following are Jave code examples for showing how to use newColumn() of the ims.framework.controls.DynamicGridColumnCollection class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: AvoinApotti   File: Logic.java   Source Code and License Vote up 6 votes
private void initDynGridComments()
{
	form.lyrSuitable().tabPageComments().dyngrdComments().clear();
	DynamicGridColumnCollection columns = form.lyrSuitable().tabPageComments().dyngrdComments().getColumns();
	DynamicGridColumn newColumn = columns.newColumn("Authoring Date/Time",COLUMN_ADTE,true);
	newColumn.setWidth(COLUMN_ADTEWIDTH);
		
	newColumn = columns.newColumn("Authoring HCP",COLUMN_AHCP,true);
	newColumn.setWidth(COLUMN_AHCPWIDTH);
			
	newColumn = columns.newColumn("Comments",COLUMN_COMMENTS,true);
	newColumn.setWidth(COLUMN_COMMENTSWIDTH);
	newColumn.setCanGrow(true);
	
	form.lyrSuitable().tabPageComments().dyngrdComments().setSelectable(true);
}
 
Example 2
Project: AvoinApotti   File: Logic.java   Source Code and License Vote up 6 votes
private void initGridComments()
{
	form.dyngrdComments().clear();
	DynamicGridColumnCollection columns = form.dyngrdComments().getColumns();
	DynamicGridColumn newColumn = columns.newColumn("Authoring Date/Time", COLUMN_ADTE, true);
	newColumn.setWidth(COLUMN_ADTEWIDTH);

	newColumn = columns.newColumn("Authoring HCP", COLUMN_AHCP, true);
	newColumn.setWidth(COLUMN_AHCPWIDTH);

	newColumn = columns.newColumn("Comments", COLUMN_COMMENTS, true);
	newColumn.setWidth(COLUMN_COMMENTSWIDTH);
	newColumn.setCanGrow(true);

	form.dyngrdComments().setSelectable(true);
}
 
Example 3
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 6 votes
private void initDynGridComments()
{
	form.lyrSuitable().tabPageComments().dyngrdComments().clear();
	DynamicGridColumnCollection columns = form.lyrSuitable().tabPageComments().dyngrdComments().getColumns();
	DynamicGridColumn newColumn = columns.newColumn("Authoring Date/Time",COLUMN_ADTE,true);
	newColumn.setWidth(COLUMN_ADTEWIDTH);
		
	newColumn = columns.newColumn("Authoring HCP",COLUMN_AHCP,true);
	newColumn.setWidth(COLUMN_AHCPWIDTH);
			
	newColumn = columns.newColumn("Comments",COLUMN_COMMENTS,true);
	newColumn.setWidth(COLUMN_COMMENTSWIDTH);
	newColumn.setCanGrow(true);
	
	form.lyrSuitable().tabPageComments().dyngrdComments().setSelectable(true);
}
 
Example 4
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 6 votes
private void initGridComments()
{
	form.dyngrdComments().clear();
	DynamicGridColumnCollection columns = form.dyngrdComments().getColumns();
	DynamicGridColumn newColumn = columns.newColumn("Authoring Date/Time", COLUMN_ADTE, true);
	newColumn.setWidth(COLUMN_ADTEWIDTH);

	newColumn = columns.newColumn("Authoring HCP", COLUMN_AHCP, true);
	newColumn.setWidth(COLUMN_AHCPWIDTH);

	newColumn = columns.newColumn("Comments", COLUMN_COMMENTS, true);
	newColumn.setWidth(COLUMN_COMMENTSWIDTH);
	newColumn.setCanGrow(true);

	form.dyngrdComments().setSelectable(true);
}
 
Example 5
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 6 votes
private void initDynGridComments()
{
	form.lyrSuitable().tabPageComments().dyngrdComments().clear();
	DynamicGridColumnCollection columns = form.lyrSuitable().tabPageComments().dyngrdComments().getColumns();
	DynamicGridColumn newColumn = columns.newColumn("Authoring Date/Time",COLUMN_ADTE,true);
	newColumn.setWidth(COLUMN_ADTEWIDTH);
		
	newColumn = columns.newColumn("Authoring HCP",COLUMN_AHCP,true);
	newColumn.setWidth(COLUMN_AHCPWIDTH);
			
	newColumn = columns.newColumn("Comments",COLUMN_COMMENTS,true);
	newColumn.setWidth(COLUMN_COMMENTSWIDTH);
	newColumn.setCanGrow(true);
	
	form.lyrSuitable().tabPageComments().dyngrdComments().setSelectable(true);
}
 
Example 6
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 6 votes
private void initGridComments()
{
	form.dyngrdComments().clear();
	DynamicGridColumnCollection columns = form.dyngrdComments().getColumns();
	DynamicGridColumn newColumn = columns.newColumn("Authoring Date/Time", COLUMN_ADTE, true);
	newColumn.setWidth(COLUMN_ADTEWIDTH);

	newColumn = columns.newColumn("Authoring HCP", COLUMN_AHCP, true);
	newColumn.setWidth(COLUMN_AHCPWIDTH);

	newColumn = columns.newColumn("Comments", COLUMN_COMMENTS, true);
	newColumn.setWidth(COLUMN_COMMENTSWIDTH);
	newColumn.setCanGrow(true);

	form.dyngrdComments().setSelectable(true);
}
 
Example 7
Project: openmaxims-linux   File: Logic.java   Source Code and License Vote up 6 votes
private void initDynGridComments()
{
	form.lyrSuitable().tabPageComments().dyngrdComments().clear();
	DynamicGridColumnCollection columns = form.lyrSuitable().tabPageComments().dyngrdComments().getColumns();
	DynamicGridColumn newColumn = columns.newColumn("Authoring Date/Time",COLUMN_ADTE,true);
	newColumn.setWidth(COLUMN_ADTEWIDTH);
		
	newColumn = columns.newColumn("Authoring HCP",COLUMN_AHCP,true);
	newColumn.setWidth(COLUMN_AHCPWIDTH);
			
	newColumn = columns.newColumn("Comments",COLUMN_COMMENTS,true);
	newColumn.setWidth(COLUMN_COMMENTSWIDTH);
	newColumn.setCanGrow(true);
	
	form.lyrSuitable().tabPageComments().dyngrdComments().setSelectable(true);
}
 
Example 8
Project: openmaxims-linux   File: Logic.java   Source Code and License Vote up 6 votes
private void initGridComments()
{
	form.dyngrdComments().clear();
	DynamicGridColumnCollection columns = form.dyngrdComments().getColumns();
	DynamicGridColumn newColumn = columns.newColumn("Authoring Date/Time", COLUMN_ADTE, true);
	newColumn.setWidth(COLUMN_ADTEWIDTH);

	newColumn = columns.newColumn("Authoring HCP", COLUMN_AHCP, true);
	newColumn.setWidth(COLUMN_AHCPWIDTH);

	newColumn = columns.newColumn("Comments", COLUMN_COMMENTS, true);
	newColumn.setWidth(COLUMN_COMMENTSWIDTH);
	newColumn.setCanGrow(true);

	form.dyngrdComments().setSelectable(true);
}
 
Example 9
Project: AvoinApotti   File: Logic.java   Source Code and License Vote up 5 votes
private void initDynGrid()
{
	form.dyngrdActions().clear();
	boolean isCcoSpecific = ConfigFlag.GEN.CARE_PLAN_FUNCTIONALITY_TYPE.getValue().equals("CCO");
	
	boolean onlyActive = form.cbFilter().getValue().equals("0");
	
	DynamicGridColumnCollection columns = form.dyngrdActions().getColumns();
	DynamicGridColumn newColumn = null;
	if (!isCcoSpecific)
	{
		newColumn = columns.newColumn("Selected", SELECTED_COLUMN_INDENTIFIER);
		newColumn.setWidth(SELECTED_COLUMN_WIDTH);
	}
	newColumn = columns.newColumn("Care Plan Actions", ACTION_COLUMN_INDENTIFIER);
	newColumn.setWidth(ACTION_COLUMN_WIDTHS[isCcoSpecific?(onlyActive?2:3):(onlyActive?0:1)]);
	newColumn = columns.newColumn("Start Date",STARTD_COLUMN_INDENTIFIER);
	newColumn.setWidth(STARTD_COLUMN_WIDTH);
	newColumn = columns.newColumn("By",STARTB_COLUMN_INDENTIFIER);
	newColumn.setWidth(STARTB_COLUMN_WIDTH[isCcoSpecific || !onlyActive?1:0]);
	
	if (!onlyActive)
	{
		newColumn = columns.newColumn("Stop Date",STOPD_COLUMN_INDENTIFIER);
		newColumn.setWidth(STOPD_COLUMN_WIDTH);
		
		newColumn = columns.newColumn("By",STOPB_COLUMN_INDENTIFIER);
		newColumn.setWidth(STOPB_COLUMN_WIDTH[isCcoSpecific?1:0]);
		
	}
	
	if (isCcoSpecific)
	{
		newColumn = columns.newColumn("Additional Info", NOTES_COLUMN_INDENTIFIER);
		newColumn.setWidth(NOTES_COLUMN_WIDTH);
	}
	
}
 
Example 10
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
private void initDynGrid()
{
	form.dyngrdActions().clear();
	boolean isCcoSpecific = ConfigFlag.GEN.CARE_PLAN_FUNCTIONALITY_TYPE.getValue().equals("CCO");
	
	boolean onlyActive = form.cbFilter().getValue().equals("0");
	
	DynamicGridColumnCollection columns = form.dyngrdActions().getColumns();
	DynamicGridColumn newColumn = null;
	if (!isCcoSpecific)
	{
		newColumn = columns.newColumn("Selected", SELECTED_COLUMN_INDENTIFIER);
		newColumn.setWidth(SELECTED_COLUMN_WIDTH);
	}
	newColumn = columns.newColumn("Care Plan Actions", ACTION_COLUMN_INDENTIFIER);
	newColumn.setWidth(ACTION_COLUMN_WIDTHS[isCcoSpecific?(onlyActive?2:3):(onlyActive?0:1)]);
	newColumn = columns.newColumn("Start Date",STARTD_COLUMN_INDENTIFIER);
	newColumn.setWidth(STARTD_COLUMN_WIDTH);
	newColumn = columns.newColumn("By",STARTB_COLUMN_INDENTIFIER);
	newColumn.setWidth(STARTB_COLUMN_WIDTH[isCcoSpecific || !onlyActive?1:0]);
	
	if (!onlyActive)
	{
		newColumn = columns.newColumn("Stop Date",STOPD_COLUMN_INDENTIFIER);
		newColumn.setWidth(STOPD_COLUMN_WIDTH);
		
		newColumn = columns.newColumn("By",STOPB_COLUMN_INDENTIFIER);
		newColumn.setWidth(STOPB_COLUMN_WIDTH[isCcoSpecific?1:0]);
		
	}
	
	if (isCcoSpecific)
	{
		newColumn = columns.newColumn("Additional Info", NOTES_COLUMN_INDENTIFIER);
		newColumn.setWidth(NOTES_COLUMN_WIDTH);
	}
	
}
 
Example 11
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
private void initDynGrid()
{
	form.dyngrdActions().clear();
	boolean isCcoSpecific = ConfigFlag.GEN.CARE_PLAN_FUNCTIONALITY_TYPE.getValue().equals("CCO");
	
	boolean onlyActive = form.cbFilter().getValue().equals("0");
	
	DynamicGridColumnCollection columns = form.dyngrdActions().getColumns();
	DynamicGridColumn newColumn = null;
	if (!isCcoSpecific)
	{
		newColumn = columns.newColumn("Selected", SELECTED_COLUMN_INDENTIFIER);
		newColumn.setWidth(SELECTED_COLUMN_WIDTH);
	}
	newColumn = columns.newColumn("Care Plan Actions", ACTION_COLUMN_INDENTIFIER);
	newColumn.setWidth(ACTION_COLUMN_WIDTHS[isCcoSpecific?(onlyActive?2:3):(onlyActive?0:1)]);
	newColumn = columns.newColumn("Start Date",STARTD_COLUMN_INDENTIFIER);
	newColumn.setWidth(STARTD_COLUMN_WIDTH);
	newColumn = columns.newColumn("By",STARTB_COLUMN_INDENTIFIER);
	newColumn.setWidth(STARTB_COLUMN_WIDTH[isCcoSpecific || !onlyActive?1:0]);
	
	if (!onlyActive)
	{
		newColumn = columns.newColumn("Stop Date",STOPD_COLUMN_INDENTIFIER);
		newColumn.setWidth(STOPD_COLUMN_WIDTH);
		
		newColumn = columns.newColumn("By",STOPB_COLUMN_INDENTIFIER);
		newColumn.setWidth(STOPB_COLUMN_WIDTH[isCcoSpecific?1:0]);
		
	}
	
	if (isCcoSpecific)
	{
		newColumn = columns.newColumn("Additional Info", NOTES_COLUMN_INDENTIFIER);
		newColumn.setWidth(NOTES_COLUMN_WIDTH);
	}
	
}
 
Example 12
Project: openmaxims-linux   File: Logic.java   Source Code and License Vote up 5 votes
private void initDynGrid()
{
	form.dyngrdActions().clear();
	boolean isCcoSpecific = ConfigFlag.GEN.CARE_PLAN_FUNCTIONALITY_TYPE.getValue().equals("CCO");
	
	boolean onlyActive = form.cbFilter().getValue().equals("0");
	
	DynamicGridColumnCollection columns = form.dyngrdActions().getColumns();
	DynamicGridColumn newColumn = null;
	if (!isCcoSpecific)
	{
		newColumn = columns.newColumn("Selected", SELECTED_COLUMN_INDENTIFIER);
		newColumn.setWidth(SELECTED_COLUMN_WIDTH);
	}
	newColumn = columns.newColumn("Care Plan Actions", ACTION_COLUMN_INDENTIFIER);
	newColumn.setWidth(ACTION_COLUMN_WIDTHS[isCcoSpecific?(onlyActive?2:3):(onlyActive?0:1)]);
	newColumn = columns.newColumn("Start Date",STARTD_COLUMN_INDENTIFIER);
	newColumn.setWidth(STARTD_COLUMN_WIDTH);
	newColumn = columns.newColumn("By",STARTB_COLUMN_INDENTIFIER);
	newColumn.setWidth(STARTB_COLUMN_WIDTH[isCcoSpecific || !onlyActive?1:0]);
	
	if (!onlyActive)
	{
		newColumn = columns.newColumn("Stop Date",STOPD_COLUMN_INDENTIFIER);
		newColumn.setWidth(STOPD_COLUMN_WIDTH);
		
		newColumn = columns.newColumn("By",STOPB_COLUMN_INDENTIFIER);
		newColumn.setWidth(STOPB_COLUMN_WIDTH[isCcoSpecific?1:0]);
		
	}
	
	if (isCcoSpecific)
	{
		newColumn = columns.newColumn("Additional Info", NOTES_COLUMN_INDENTIFIER);
		newColumn.setWidth(NOTES_COLUMN_WIDTH);
	}
	
}