public class ScreenSpecificationsMacro extends Macro
| Constructor and Description |
|---|
ScreenSpecificationsMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
ScreenSpecificationsMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
ScreenSpecificationsMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
ScreenSpecificationsMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
short |
getApplicationMaximumRepaintTime()
Retrieves Positive integer indicating the desired maximum time in millisecondsrequired by the application to repaint the full screen once
|
double[] |
getDisplayEnvironmentSpatialPosition()
Retrieves Exactly four dimensionless floating point values indicating the rectangularcoordinate position of the screen within the overall bounding box thatencompasses all the screens.
|
short |
getNumberOfHorizontalPixels()
Retrieves Positive integer indicating the intended number of columns of theaddressable area of the screen in pixels.
|
short |
getNumberOfVerticalPixels()
Retrieves Positive integer indicating the intended number of rows of theaddressable area of the screen in pixels.
|
short |
getScreenMinimumColorBitDepth()
Retrieves Positive integer indicating the desired minimum total number of bits percolor channel used to present a pixel.
|
short |
getScreenMinimumGrayscaleBitDepth()
Retrieves Positive integer indicating the desired minimum number of grayscalebits per pixel of the screen.
|
void |
setApplicationMaximumRepaintTime(short shApplicationMaximumRepaintTime)
Sets Positive integer indicating the desired maximum time in millisecondsrequired by the application to repaint the full screen once
|
void |
setDisplayEnvironmentSpatialPosition(double[] dblArrDisplayEnvironmentSpatialPosition)
Sets Exactly four dimensionless floating point values indicating the rectangularcoordinate position of the screen within the overall bounding box thatencompasses all the screens.
|
void |
setNumberOfHorizontalPixels(short shNumberOfVerticalPixels)
Sets Positive integer indicating the intended number of columns of theaddressable area of the screen in pixels.
|
void |
setNumberOfVerticalPixels(short shNumberOfVerticalPixels)
Sets Positive integer indicating the intended number of rows of theaddressable area of the screen in pixels.
|
void |
setScreenMinimumColorBitDepth(short shScreenMinimumGrayscaleBitDepth)
Sets Positive integer indicating the desired minimum total number of bits percolor channel used to present a pixel.
|
void |
setScreenMinimumGrayscaleBitDepth(short shScreenMinimumGrayscaleBitDepth)
Sets Positive integer indicating the desired minimum number of grayscalebits per pixel of the screen.
|
boolean |
validate()
Validates all the attributes in ScreenSpecificationsMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in ScreenSpecificationsMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in ScreenSpecificationsMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic ScreenSpecificationsMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic ScreenSpecificationsMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic ScreenSpecificationsMacro(IItem objItem)
objItem - specifies instance of Item classpublic ScreenSpecificationsMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - collection of DataElementsInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - collection of DataElements in a sequenceInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public void setNumberOfVerticalPixels(short shNumberOfVerticalPixels)
shNumberOfVerticalPixels - short value of Number of Vertical Pixelspublic short getNumberOfVerticalPixels()
public void setNumberOfHorizontalPixels(short shNumberOfVerticalPixels)
shNumberOfVerticalPixels - short value of Number of Horizontal Pixelspublic short getNumberOfHorizontalPixels()
public void setDisplayEnvironmentSpatialPosition(double[] dblArrDisplayEnvironmentSpatialPosition)
dblArrDisplayEnvironmentSpatialPosition - Double value of Display Environment SpatialPositionpublic double[] getDisplayEnvironmentSpatialPosition()
public void setScreenMinimumGrayscaleBitDepth(short shScreenMinimumGrayscaleBitDepth)
shScreenMinimumGrayscaleBitDepth - short value of Screen Minimum GrayscaleBit Depthpublic short getScreenMinimumGrayscaleBitDepth()
public void setScreenMinimumColorBitDepth(short shScreenMinimumGrayscaleBitDepth)
shScreenMinimumColorBitDepth - short value of ScreenMinimumColorBitDepthpublic short getScreenMinimumColorBitDepth()
public void setApplicationMaximumRepaintTime(short shApplicationMaximumRepaintTime)
shApplicationMaximumRepaintTime - short value of ApplicationMaximumRepaintTimepublic short getApplicationMaximumRepaintTime()