|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
planetj.property.PropertyGroup
planetj.property.DefaultPropertyGroup
planetj.dataengine.display.DetailDisplayPropertyGroup
Nested Class Summary | |
class |
DetailDisplayPropertyGroup.TargetWindow
Object representing the target window. |
Field Summary | |
static java.lang.String |
BUTTON_JUSTIFY
Justification for detail buttons |
static java.lang.String |
BUTTON_LOCATION_BOTTOM
|
static java.lang.String |
BUTTON_LOCATION_TOP
|
static java.lang.String |
BUTTON_LOCATIONS
Where to include the buttons (note by default buttons are included both above and below details). |
static java.lang.String |
CANCEL
Allow Cancel on details screen |
static java.lang.String |
COLUMN_COUNT
Number of columns to display when showing Row details. |
static java.lang.String |
COPY_TARGET_WINDOW
Which HTML window should be used for displaying a copy screen |
static java.lang.String |
COPY_URI
Page to call for copy details. |
static java.lang.String |
DEFAULT_BUTTON_JUSTIFY
|
static java.util.List |
DEFAULT_BUTTON_LOCATIONS
|
static boolean |
DEFAULT_CANCEL
|
static int |
DEFAULT_COLUMN_COUNT
Default number of columns to display. |
static boolean |
DEFAULT_DELETE
|
static java.lang.String |
DEFAULT_DELETE_TEXT
|
static boolean |
DEFAULT_INSERT
Default whether to allow inserts on details screen |
static boolean |
DEFAULT_INSERT_AND_COPY
Default insert and copy |
static boolean |
DEFAULT_INSERT_AND_NEW
Default insert and new |
static java.lang.String |
DEFAULT_INSERT_TEXT
|
static java.lang.String |
DEFAULT_LABEL_JUSTIFY
|
static int |
DEFAULT_MAX_INPUT_WIDTH
Default max input width. |
static int |
DEFAULT_MAX_INPUT_WIDTH_SUM
Default max sum of input widths on a given row. |
static boolean |
DEFAULT_NEXT_AND_PREVIOUS
Default insert and new |
static java.lang.String |
DEFAULT_NEXT_TEXT
|
static java.lang.String |
DEFAULT_PREVIOUS_TEXT
|
static int |
DEFAULT_TABLE_WIDTH
Default table width, where 0 indicates that the width attribute will be ommited from table definitions |
static boolean |
DEFAULT_UPDATE_AND_NEXT_PREVIOUS
Default insert and new |
static java.lang.String |
DEFAULT_UPDATE_TEXT
|
static java.lang.String |
DELETE
Allow delete on details screen |
static java.lang.String |
DELETE_TEXT
Text for the insert button |
static java.lang.String |
DETAILS_DISPLAY
Name of this property group |
static java.lang.String |
DETAILS_TARGET_WINDOW
Which HTML window should be used for displaying the detials |
static java.lang.String |
EDIT_TARGET_WINDOW
Which HTML window should be used for displaying an edit screen |
static java.lang.String |
EDIT_URI
Page to call for edit details. |
static java.lang.String |
GRID
Display grid |
static java.lang.String |
INCLUDE_COLON_AFTER_LABEL
Include colon ':' after labels |
static java.lang.String |
INSERT
Allow inserts on details screen |
static java.lang.String |
INSERT_AND_COPY
Display the insert and copy button |
static java.lang.String |
INSERT_AND_NEW
Display the insert and new |
static java.lang.String |
INSERT_TARGET_WINDOW
Which HTML window should be used for displaying an insert screen |
static java.lang.String |
INSERT_TEXT
Text for the insert button |
static java.lang.String |
INSERT_URI
Page to call for insert details. |
static java.lang.String |
JSP_ADD_BUTTONS
Page to call for buttons during insert |
static java.lang.String |
JSP_EDIT_BUTTONS
Page to call for buttons during edit |
static java.lang.String |
JSP_VIEW_BUTTONS
Page to call for buttons during detail viewing |
static java.lang.String |
LABEL_JUSTIFY
Label justification. |
static java.lang.String |
LABEL_JUSTIFY_LEFT
|
static java.lang.String |
LABEL_JUSTIFY_TOP
|
static java.lang.String |
MAX_INPUT_WIDTH
Maximum width of an input field on the screen. |
static java.lang.String |
MAX_INPUT_WIDTH_SUM
Maximum sum of the width of all input fields on a row. |
static java.lang.String |
NEXT_AND_PREVIOUS
Display the next & previouis buttons on updates & views |
static java.lang.String |
NEXT_TEXT
Text for the insert button |
static java.lang.String |
PREVIOUS_TEXT
Text for the insert button |
static java.lang.String |
PRINT_URI
Page to call for printer-friendly view. |
static java.lang.String |
TABLE_WIDTH
Table width to use. |
static short |
TARGET_WINDOW_PROPERTY
|
static java.lang.String |
UPDATE_AND_NEXT_PREVIOUS
Display the Update and Next & Update and Previouis buttons on updates |
static java.lang.String |
UPDATE_TEXT
Text for the insert button |
static java.lang.String |
VIEW_TARGET_WINDOW
Which HTML window should be used for displaying the detials |
static java.lang.String |
VIEW_URI
Page to call for view details. |
Fields inherited from class planetj.property.PropertyGroup |
ALL, ALL_FALSE, ALL_TRUE, BOOLEAN_PROPERTY, DATE_PROPERTY, DOUBLE_PROPERTY, FLOAT_PROPERTY, INTEGER_PROPERTY, JAVA_CLASS_PROPERTY, LIST_PROPERTY, MAP_PROPERTY, NONE, ROW_COLLECTION_KEY, STRING_PROPERTY |
Constructor Summary | |
DetailDisplayPropertyGroup()
DisplayPropertyGroup constructor comment. |
|
DetailDisplayPropertyGroup(int initialCapacity)
DisplayPropertyGroup constructor comment. |
|
DetailDisplayPropertyGroup(java.lang.String pName)
DisplayPropertyGroup constructor comment. |
Method Summary | |
protected java.lang.Object |
createValue(java.lang.String pName,
java.lang.String pValue)
Creates an Object for a String of text. |
java.lang.String |
getAddButtons()
Convenience method to get the add buttons section. |
java.util.List |
getAllPropertyNames()
Gets a List containing the names of all the supported properties. |
java.lang.String |
getButtonJustify()
Gets the justification of the buttons |
java.util.List |
getButtonLocations()
Gets the justification of the Fields label. |
boolean |
getCancel()
Get whether or not to include the cancel button when viewing details. |
int |
getColumnCount()
Gets the number of columns to show on Row details. |
DetailDisplayPropertyGroup.TargetWindow |
getCopyTargetWindow()
Gets the TargetWindow object representing the target window to display the copy screen in. |
static java.lang.String |
getDefaultLayoutPropertiesString()
Gets a default String for this property group. |
boolean |
getDelete()
Get whether or not to include the delete button when viewing details. |
java.lang.String |
getDeleteText()
Gets the custom button label if one was specified in the properties. |
java.lang.String |
getEditButtons()
Convenience method to get the edit buttons section. |
DetailDisplayPropertyGroup.TargetWindow |
getEditTargetWindow()
Gets the TargetWindow object representing the target window to display the edit screen in. |
boolean |
getInsert()
Get whether or not to include the insert button when viewing details. |
boolean |
getInsertAndCopy()
Gets the number of columns to show on Row details. |
boolean |
getInsertAndNew()
Gets the number of columns to show on Row details. |
DetailDisplayPropertyGroup.TargetWindow |
getInsertTargetWindow()
Gets the TargetWindow object representing the target window to display the edit screen in. |
java.lang.String |
getInsertText()
Gets the custom button label if one was specified in the properties. |
java.lang.String |
getLabelJustify()
Gets the justification of the Fields label. |
int |
getMaxInputWidth()
Gets the max sum of all input widths for a given Row on details. |
int |
getMaxInputWidthSum()
Gets the max sum of all input widths for a given Row on details. |
boolean |
getNextAndPrevious()
Gets wheter to show previous and next buttons on view and updates. |
java.lang.String |
getNextText()
Gets the custom button label if one was specified in the properties. |
java.lang.String |
getPreviousText()
Gets the custom button label if one was specified in the properties. |
int |
getTableWidth()
Gets the number of columns to show on Row details. |
protected DetailDisplayPropertyGroup.TargetWindow |
getTargetWindowValue(java.lang.String name)
Gets the value of the specified property as a TargetWindow object |
boolean |
getUpdateNextPrevious()
Gets wheter to show Update and Next & Update and Previous on update screens. |
java.lang.String |
getUpdateText()
Gets the custom button label if one was specified in the properties. |
java.lang.String |
getViewButtons()
Convenience method to get the view buttons section. |
DetailDisplayPropertyGroup.TargetWindow |
getViewTargetWindow()
Gets the TargetWindow object representing the target window to display the edit screen in. |
boolean |
isDisplayGrid()
Check to see if a grid should be included. |
boolean |
isIncludeColonAfterLabel()
Check to see if colon should be included after the Field's label. |
boolean |
isLabelLeftJustify()
Check to see if label should be to the left of the Field. |
boolean |
isLabelTopJustify()
Check to see if label should be to the top of the Field. |
boolean |
isShowButtons(java.lang.String location)
Check to see if detail buttons should be shown for the given location. |
protected short |
propertyType(java.lang.String propertyName)
Gets the type of property for a specified property name. |
Methods inherited from class planetj.property.DefaultPropertyGroup |
getDefaultPropertiesString, getRequiredPropertyNames |
Methods inherited from class java.util.HashMap |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static final java.lang.String COLUMN_COUNT
public static final int DEFAULT_COLUMN_COUNT
public static final java.lang.String MAX_INPUT_WIDTH
public static final int DEFAULT_MAX_INPUT_WIDTH
public static final java.lang.String MAX_INPUT_WIDTH_SUM
public static final int DEFAULT_MAX_INPUT_WIDTH_SUM
public static final java.lang.String TABLE_WIDTH
public static final int DEFAULT_TABLE_WIDTH
public static final java.lang.String COPY_URI
public static final java.lang.String EDIT_URI
public static final java.lang.String INSERT_URI
public static final java.lang.String VIEW_URI
public static final java.lang.String PRINT_URI
public static final java.lang.String JSP_ADD_BUTTONS
public static final java.lang.String JSP_EDIT_BUTTONS
public static final java.lang.String JSP_VIEW_BUTTONS
public static final java.lang.String BUTTON_JUSTIFY
public static final java.lang.String DEFAULT_BUTTON_JUSTIFY
public static final java.lang.String LABEL_JUSTIFY
public static final java.lang.String LABEL_JUSTIFY_LEFT
public static final java.lang.String LABEL_JUSTIFY_TOP
public static final java.lang.String DEFAULT_LABEL_JUSTIFY
public static final java.lang.String INSERT_TEXT
public static final java.lang.String DEFAULT_INSERT_TEXT
public static final java.lang.String UPDATE_TEXT
public static final java.lang.String DEFAULT_UPDATE_TEXT
public static final java.lang.String DELETE_TEXT
public static final java.lang.String DEFAULT_DELETE_TEXT
public static final java.lang.String NEXT_TEXT
public static final java.lang.String DEFAULT_NEXT_TEXT
public static final java.lang.String PREVIOUS_TEXT
public static final java.lang.String DEFAULT_PREVIOUS_TEXT
public static final java.lang.String CANCEL
public static final boolean DEFAULT_CANCEL
public static final java.lang.String DELETE
public static final boolean DEFAULT_DELETE
public static final java.lang.String INSERT
public static final boolean DEFAULT_INSERT
public static final java.lang.String INSERT_AND_COPY
public static final boolean DEFAULT_INSERT_AND_COPY
public static final java.lang.String INSERT_AND_NEW
public static final boolean DEFAULT_INSERT_AND_NEW
public static final java.lang.String NEXT_AND_PREVIOUS
public static final boolean DEFAULT_NEXT_AND_PREVIOUS
public static final java.lang.String UPDATE_AND_NEXT_PREVIOUS
public static final boolean DEFAULT_UPDATE_AND_NEXT_PREVIOUS
public static final java.lang.String INCLUDE_COLON_AFTER_LABEL
public static final java.lang.String GRID
public static final java.lang.String BUTTON_LOCATIONS
public static final java.lang.String BUTTON_LOCATION_TOP
public static final java.lang.String BUTTON_LOCATION_BOTTOM
public static final java.util.List DEFAULT_BUTTON_LOCATIONS
public static final java.lang.String DETAILS_DISPLAY
public static final java.lang.String EDIT_TARGET_WINDOW
public static final java.lang.String INSERT_TARGET_WINDOW
public static final java.lang.String COPY_TARGET_WINDOW
public static final java.lang.String VIEW_TARGET_WINDOW
public static final java.lang.String DETAILS_TARGET_WINDOW
public static final short TARGET_WINDOW_PROPERTY
Constructor Detail |
public DetailDisplayPropertyGroup()
public DetailDisplayPropertyGroup(int initialCapacity)
initialCapacity
- intpublic DetailDisplayPropertyGroup(java.lang.String pName)
pName
- java.lang.StringMethod Detail |
protected java.lang.Object createValue(java.lang.String pName, java.lang.String pValue) throws CMException
createValue
in class PropertyGroup
CMException
public java.lang.String getAddButtons()
public java.util.List getAllPropertyNames()
getAllPropertyNames
in class DefaultPropertyGroup
public java.lang.String getButtonJustify()
public java.util.List getButtonLocations()
public boolean getCancel()
public int getColumnCount()
public int getTableWidth()
public DetailDisplayPropertyGroup.TargetWindow getCopyTargetWindow()
public static java.lang.String getDefaultLayoutPropertiesString()
public boolean getDelete()
public java.lang.String getEditButtons()
public DetailDisplayPropertyGroup.TargetWindow getEditTargetWindow()
public boolean getInsert()
public boolean getInsertAndCopy()
public boolean getInsertAndNew()
public boolean getNextAndPrevious()
public boolean getUpdateNextPrevious()
public DetailDisplayPropertyGroup.TargetWindow getInsertTargetWindow()
public java.lang.String getLabelJustify()
public java.lang.String getDeleteText()
public java.lang.String getUpdateText()
public java.lang.String getNextText()
public java.lang.String getPreviousText()
public java.lang.String getInsertText()
public boolean isDisplayGrid()
public int getMaxInputWidth()
public int getMaxInputWidthSum()
protected DetailDisplayPropertyGroup.TargetWindow getTargetWindowValue(java.lang.String name)
public java.lang.String getViewButtons()
public DetailDisplayPropertyGroup.TargetWindow getViewTargetWindow()
public boolean isIncludeColonAfterLabel()
public boolean isLabelLeftJustify()
public boolean isLabelTopJustify()
public boolean isShowButtons(java.lang.String location)
protected short propertyType(java.lang.String propertyName)
propertyType
in class DefaultPropertyGroup
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |