bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
44,384
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
44,385
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
44,386
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
44,387
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
44,388
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
44,389
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
44,390
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
44,391
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++...
44,392
public boolean saveWorkflow(String name, WorkflowDescriptor descriptor, WorkflowGraph graph, boolean replace) throws FactoryException { Object obj = layouts.get(name); if(obj instanceof Layout) { Layout layout = (Layout)obj; try { WorkflowConfig config = (WorkflowConfig)workflows.get(n...
public boolean saveWorkflow(String name, WorkflowDescriptor descriptor, WorkflowGraph graph, boolean replace) throws FactoryException { Object obj = layouts.get(name); if(obj instanceof Layout) { Layout layout = (Layout)obj; try { WorkflowConfig config = (WorkflowConfig)workflows.get(n...
44,393
public boolean saveWorkflow(String name, WorkflowDescriptor descriptor, WorkflowGraph graph, boolean replace) throws Exception { String layoutBuffer = ""; String workflowBuffer; Object obj = layouts.get(name); if(obj instanceof Layout) { Layout layout = (Layout)obj; try { HTT...
public boolean saveWorkflow(String name, WorkflowDescriptor descriptor, WorkflowGraph graph, boolean replace) throws Exception { String layoutBuffer = ""; String workflowBuffer; Object obj = layouts.get(name); if(obj instanceof Layout) { Layout layout = (Layout)obj; try { HTT...
44,394
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex...
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex...
44,395
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex...
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex...
44,396
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex...
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex...
44,397
public List getSecurityPermissions(long id) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); ...
public List getSecurityPermissions(long id) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); ...
44,398
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio...
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); ConditionsDescriptor conditions = null; ...
44,399
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio...
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio...
44,400
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio...
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio...
44,401
public void incrementDeliveryCount() { deliveryCount++; }
public void incrementDeliveryCount() { deliveryCount++; }
44,402
public void pushLayer(Box master) { Layer layer = null; if (rootLayer == null) { layer = new Layer(master); rootLayer = layer; } else { Layer parent = this.layer; while (! parent.isStackingContext()) { parent = parent.getParent(...
public void pushLayer(Box master) { Layer layer = null; if (rootLayer == null) { layer = new Layer(master); rootLayer = layer; } else { Layer parent = this.layer; while (! parent.isStackingContext()) { parent = parent.getParent(...
44,403
public boolean selfTest() { if (valid == null) { boolean result = super.selfTest(); // do symmetry tests if (result) { result = testKat(KAT_KEY, KAT_CT); } valid = new Boolean(result); } return valid.booleanValue(); }
public boolean selfTest() { if (valid == null) { boolean result = super.selfTest(); // do symmetry tests if (result) { result = testKat(KAT_KEY, KAT_CT); } valid = Boolean.valueOf(result); } return valid.booleanValue(); }
44,404
protected void removeUpdate(DefaultDocumentEvent event) { super.removeUpdate(event); int p0 = event.getOffset(); int len = event.getLength(); int p1 = len + p0; // check if we must collapse some elements int i1 = rootElement.getElementIndex(p0); int i2 = rootElement.getElementIndex(p1); if (i...
protected void removeUpdate(DefaultDocumentEvent event) { super.removeUpdate(event); int p0 = event.getOffset(); int len = event.getLength(); int p1 = len + p0; // check if we must collapse some elements int i1 = rootElement.getElementIndex(p0); int i2 = rootElement.getElementIndex(p1); if (i...
44,405
public void tearDown() throws Exception { ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployTopic("testTopic"); ServerManagement.undeployQueue("SomeName"); ServerManagement.undeployTopic("SomeName"); //ServerManagement.deInit(); //destinationManager = null; ...
public void tearDown() throws Exception { ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployTopic("testTopic"); ServerManagement.undeployQueue("SomeName"); ServerManagement.undeployTopic("SomeName"); //ServerManagement.deInit(); //destinationManager = null; ...
44,406
public void startRepaintLoop() { //Uu.sleep(2000); while (true) { //Uu.sleep(1000); // wait for a repaint event ReflowEvent evt = root.queue.waitForNextRepaintEvent(); if (evt == null) { // we're being shutdown return; ...
public void startRepaintLoop() { //Uu.sleep(2000); while (true) { //Uu.sleep(1000); // wait for a repaint event ReflowEvent evt = root.queue.waitForNextRepaintEvent(); if (evt == null) { // we're being shutdown return; ...
44,407
protected void setUp() throws Exception { rs = (MessageSupport)MessageFactory.createJBossMessage(0, false, 0, 0, (byte)4, null, null, 0, JBossMessage.TYPE, null, null, null, null, null, null...
protected void setUp() throws Exception { rs = (MessageSupport)MessageFactory.createJBossMessage(0, false, 0, 0, (byte)4, null, null, 0, JBossMessage.TYPE, null, null, null, null, null, null...
44,408
public DataBuffer createDataBuffer() { // Maybe this value should be precalculated in the constructor? int highestOffset = 0; for (int b=0; b<numBands; b++) { highestOffset = Math.max(highestOffset, bandOffsets[b]); } int size = pixelStride*(width-1) + scanlineStride*(height-1) + highestOffset +...
public DataBuffer createDataBuffer() { // Maybe this value should be precalculated in the constructor? int highestOffset = 0; for (int b = 0; b < numBands; b++) { highestOffset = Math.max(highestOffset, bandOffsets[b]); } int size = pixelStride*(width-1) + scanlineStride*(height-1) + highestOffs...
44,409
public DataBuffer createDataBuffer() { // Maybe this value should be precalculated in the constructor? int highestOffset = 0; for (int b=0; b<numBands; b++) { highestOffset = Math.max(highestOffset, bandOffsets[b]); } int size = pixelStride*(width-1) + scanlineStride*(height-1) + highestOffset +...
public DataBuffer createDataBuffer() { // Maybe this value should be precalculated in the constructor? int highestOffset = 0; for (int b=0; b<numBands; b++) { highestOffset = Math.max(highestOffset, bandOffsets[b]); } int size = pixelStride*(width-1) + scanlineStride*(height-1) + highestOffset +...
44,410
public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b=0; b<numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return n...
public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } retu...
44,411
public final int[] getBandOffsets() { return bandOffsets; }
public final int[] getBandOffsets() { return bandOffsets; }
44,412
public final int[] getBankIndices() { return bankIndices; }
public final int[] getBankIndices() { return bankIndices; }
44,413
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,414
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,415
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,416
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,417
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,418
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,419
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,420
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,421
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,422
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,423
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,424
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,425
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,426
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,427
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,428
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
44,429
public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands]; for (int b=0; b<numBands; b++) { iArray[b] = data.getElem(bankIndices[b], offset+bandOffsets[b]); } return iArray; }
public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands]; for (int b=0; b<numBands; b++) { iArray[b] = data.getElem(bankIndices[b], offset+bandOffsets[b]); } return iArray; }
44,430
public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands]; for (int b=0; b<numBands; b++) { iArray[b] = data.getElem(bankIndices[b], offset+bandOffsets[b]); } return iArray; }
public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands]; for (int b=0; b<numBands; b++) { iArray[b] = data.getElem(bankIndices[b], offset+bandOffsets[b]); } return iArray; }
44,431
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y=0; y<h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<numB...
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y=0; y<h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<numB...
44,432
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y=0; y<h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<numB...
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y = 0; y < h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<...
44,433
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y=0; y<h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<numB...
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y=0; y<h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<numB...
44,434
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y=0; y<h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<numB...
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y=0; y<h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<numB...
44,435
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y=0; y<h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<numB...
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; if (iArray == null) iArray = new int[numBands*w*h]; int outOffset = 0; for (y=0; y<h; y++) { int lineOffset = offset; for (x=0; x<w; x++) { for (int b=0; b<numB...
44,436
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w*numBands; int dataSize = rowSize*h; DataBuffer transferB...
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w*numBands; int dataSize = rowSize*h; DataBuffer transferB...
44,437
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w*numBands; int dataSize = rowSize*h; DataBuffer transferB...
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w*numBands; int dataSize = rowSize*h; DataBuffer transferB...
44,438
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w*numBands; int dataSize = rowSize*h; DataBuffer transferB...
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w*numBands; int dataSize = rowSize*h; DataBuffer transferB...
44,439
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w*numBands; int dataSize = rowSize*h; DataBuffer transferB...
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { if (!tightPixelPacking) { super.setDataElements(x, y, w, h, obj, data); return; } // using set speedup, we can copy whole rows int rowSize = w*numBands; int dataSize = rowSize*h; DataBuffer transferB...
44,440
public void setPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; for (int b=0; b<numBands; b++) data.setElem(bankIndices[b], offset+bandOffsets[b], iArray[b]); }
public void setPixel(int x, int y, int[] iArray, DataBuffer data) { int offset = pixelStride*x + scanlineStride*y; for (int b=0; b<numBands; b++) data.setElem(bankIndices[b], offset+bandOffsets[b], iArray[b]); }
44,441
public SampleModel(int dataType, int w, int h, int numBands) { if ((w <= 0) || (h <= 0)) throw new IllegalArgumentException((w <= 0 ? " width<=0" : " width is ok") +(h <= 0 ? " height<=0" : " height is ok")); // FIXME: How can an int be greater than Integer.MAX_VALUE? ...
public SampleModel(int dataType, int w, int h, int numBands) { if ((w <= 0) || (h <= 0)) throw new IllegalArgumentException((w <= 0 ? " width<=0" : " width is ok") +(h <= 0 ? " height<=0" : " height is ok")); // FIXME: How can an int be greater than Integer.MAX_VALUE? ...
44,442
public SampleModel(int dataType, int w, int h, int numBands) { if ((w <= 0) || (h <= 0)) throw new IllegalArgumentException((w <= 0 ? " width<=0" : " width is ok") +(h <= 0 ? " height<=0" : " height is ok")); // FIXME: How can an int be greater than Integer.MAX_VALUE? ...
if (numBands <= 0) throw new IllegalArgumentException("Requires numBands > 0."); public SampleModel(int dataType, int w, int h, int numBands)if (numBands <= 0) throw new IllegalArgumentException("Requires numBands > 0."); { if ((w <= 0) || (h <= 0))if (numBands <= 0) throw new IllegalArgumentException("Requires numBan...
44,443
public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { if (iArray == null) iArray = new int[numBands]; for (int b=0; b<numBands; b++) iArray[b] = getSample(x, y, b, data); return iArray; }
public int[] getPixel(int x, int y, int[] iArray, DataBuffer data) { if (iArray == null) iArray = new int[numBands]; for (int b=0; b<numBands; b++) iArray[b] = getSample(x, y, b, data); return iArray; }
44,444
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int size = w*h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w*h*numBands]; for (int yy=y; yy<(y+h); yy++) { for (int xx=x; xx<(x+w); xx++) { pixel = getPixel(xx, yy, pixel, dat...
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int size = w*h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w*h*numBands]; for (int yy=y; yy<(y+h); yy++) { for (int xx=x; xx<(x+w); xx++) { pixel = getPixel(xx, yy, pixel, dat...
44,445
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int size = w*h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w*h*numBands]; for (int yy=y; yy<(y+h); yy++) { for (int xx=x; xx<(x+w); xx++) { pixel = getPixel(xx, yy, pixel, dat...
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int size = w*h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w*h*numBands]; for (int yy=y; yy<(y+h); yy++) { for (int xx=x; xx<(x+w); xx++) { pixel = getPixel(xx, yy, pixel, dat...
44,446
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int size = w*h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w*h*numBands]; for (int yy=y; yy<(y+h); yy++) { for (int xx=x; xx<(x+w); xx++) { pixel = getPixel(xx, yy, pixel, dat...
public int[] getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int size = w*h; int outOffset = 0; int[] pixel = null; if (iArray == null) iArray = new int[w*h*numBands]; for (int yy=y; yy<(y+h); yy++) { for (int xx=x; xx<(x+w); xx++) { pixel = getPixel(xx, yy, pixel, dat...
44,447
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { int size = w*h; int numDataElements = getNumDataElements(); int dataSize = numDataElements*size; Object pixelData; switch (getTransferType()) { case DataBuffer.TYPE_BYTE: pixelData = new byte[numDat...
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { int size = w*h; int numDataElements = getNumDataElements(); int dataSize = numDataElements*size; Object pixelData; switch (getTransferType()) { case DataBuffer.TYPE_BYTE: pixelData = new byte[numDat...
44,448
public void setPixel(int x, int y, int[] iArray, DataBuffer data) { for (int b=0; b<numBands; b++) setSample(x, y, b, iArray[b], data); }
public void setPixel(int x, int y, int[] iArray, DataBuffer data) { for (int b=0; b<numBands; b++) setSample(x, y, b, iArray[b], data); }
44,449
public void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); } ca...
public final void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); } ...
44,450
public void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { // ...
public final void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { ...
44,451
public int getIndex();
public int getIndex();
44,452
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(graph.getModel().isEdge(cell)) ...
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(graph.getModel().isEdge(cell)) ...
44,453
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(graph.getModel().isEdge(cell)) ...
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(graph.getModel().isEdge(cell)) ...
44,454
public File getArchiveFileInCache(File cache, String organisation, String module, String revision, String artifact, String type, String ext) { return new File(cache, getArchivePathInCache(organisation, module, revision, artifact, type, ext)); }
public File getArchiveFileInCache(File cache, String organisation, String module, String revision, String artifact, String type, String ext) { return new File(cache, getArchivePathInCache(organisation, module, revision, artifact, type, ext)); }
44,455
public static String getReportFileName(ModuleId mid, String conf) { return mid.getOrganisation() + "-" + mid.getName() + "-" + conf+".xml"; }
public static String getReportFileName(ModuleId mid, String conf) { return mid.getOrganisation() + "-" + mid.getName() + "-" + conf+".xml"; }
44,456
public DependencyResolver getResolver(String resolverName) { if (_dictatorResolver != null) { return _dictatorResolver; } DependencyResolver resolver = (DependencyResolver)_resolversMap.get(resolverName); if (resolver == null) { Message.error("unknown resolver "+res...
public DependencyResolver getResolver(ModuleId moduleId) { if (_dictatorResolver != null) { return _dictatorResolver; } DependencyResolver resolver = (DependencyResolver)_resolversMap.get(resolverName); if (resolver == null) { Message.error("unknown resolver "+resol...
44,457
public DependencyResolver getResolver(String resolverName) { if (_dictatorResolver != null) { return _dictatorResolver; } DependencyResolver resolver = (DependencyResolver)_resolversMap.get(resolverName); if (resolver == null) { Message.error("unknown resolver "+res...
public DependencyResolver getResolver(String resolverName) { if (_dictatorResolver != null) { return _dictatorResolver; } DependencyResolver resolver = (DependencyResolver)_resolversMap.get(resolverName); if (resolver == null) { Message.error("unknown resolver "+res...
44,458
protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st...
protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st...
44,459
protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st...
protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st...
44,460
public static Border getBorder(Context c, Box box) { //TODO: can I skip this? //Uu.p("box on: " + box); //Uu.p("is inline element = " + box.isInlineElement()); //Uu.p("text content = " + (box.content instanceof TextContent)); if (isBlockOrInlineElementBox(box)) { // if...
public static Border getBorder(Context c, Box box) { //TODO: can I skip this?//Uu.p("box on: " + box); //Uu.p("is inline element = " + box.isInlineElement()); //Uu.p("text content = " + (box.content instanceof TextContent)); if (isBlockOrInlineElementBox(box)) {// if (box.isInlineElement() || !(box.content instanc...
44,461
public static Border getBorder(Context c, Box box) { //TODO: can I skip this? //Uu.p("box on: " + box); //Uu.p("is inline element = " + box.isInlineElement()); //Uu.p("text content = " + (box.content instanceof TextContent)); if (isBlockOrInlineElementBox(box)) { // if...
public static Border getBorder(Context c, Box box) {//TODO: can I skip this? //Uu.p("box on: " + box);//Uu.p("is inline element = " + box.isInlineElement());//Uu.p("text content = " + (box.content instanceof TextContent));if (isBlockOrInlineElementBox(box)) {// if (box.isInlineElement() || !(box.content instanceof Text...
44,462
public static Border getBorder(Context c, Box box) { //TODO: can I skip this? //Uu.p("box on: " + box); //Uu.p("is inline element = " + box.isInlineElement()); //Uu.p("text content = " + (box.content instanceof TextContent)); if (isBlockOrInlineElementBox(box)) { // if...
public static Border getBorder(Context c, Box box) {//TODO: can I skip this? //Uu.p("box on: " + box);//Uu.p("is inline element = " + box.isInlineElement());//Uu.p("text content = " + (box.content instanceof TextContent));if (isBlockOrInlineElementBox(box)) {// if (box.isInlineElement() || !(box.content instanceof Text...
44,463
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
44,464
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
44,465
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
44,466
public void addDocumentListener( DocumentListener listener ) { this.documentListeners.put( listener, listener ); }
public void addDocumentListener( DocumentListener listener ) { this.documentListeners.put( listener, listener ); }
44,467
public void addNotify() { super.addNotify(); Container p = getParent(); if ( p instanceof JViewport ) { Container vp = p.getParent(); if ( vp instanceof JScrollPane ) { setEnclosingScrollPane( (JScrollPane)vp ); } } }
public void addNotify() { super.addNotify(); Container p = getParent(); if (p instanceof JViewport) { Container vp = p.getParent(); if ( vp instanceof JScrollPane ) { setEnclosingScrollPane( (JScrollPane)vp ); } } }
44,468
public void addNotify() { super.addNotify(); Container p = getParent(); if ( p instanceof JViewport ) { Container vp = p.getParent(); if ( vp instanceof JScrollPane ) { setEnclosingScrollPane( (JScrollPane)vp ); } } }
public void addNotify() { super.addNotify(); Container p = getParent(); if ( p instanceof JViewport ) { Container vp = p.getParent(); if ( vp instanceof JScrollPane ) { setEnclosingScrollPane( (JScrollPane)vp ); } } }
44,469
public void componentHidden( ComponentEvent e ) { }
public void componentHidden( ComponentEvent e ) { }
44,470
public void componentMoved( ComponentEvent e ) { }
public void componentMoved( ComponentEvent e ) { }
44,471
public void componentResized( ComponentEvent e ) { calcLayout(); }
public void componentResized(ComponentEvent e) { calcLayout(); }
44,472
public void componentShown( ComponentEvent e ) { }
public void componentShown( ComponentEvent e ) { }
44,473
protected void doRender( Context c ) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if ( !( g instanceof PrinterGraphics ) ) { g.setColor( getBackground() ); g.fillRect( 0, 0, getWidth(), getHeight() ); ...
protected void doRender(Context c) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if ( !( g instanceof PrinterGraphics ) ) { g.setColor( getBackground() ); g.fillRect( 0, 0, getWidth(), getHeight() ); ...
44,474
protected void doRender( Context c ) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if ( !( g instanceof PrinterGraphics ) ) { g.setColor( getBackground() ); g.fillRect( 0, 0, getWidth(), getHeight() ); ...
protected void doRender( Context c ) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if ( !( g instanceof PrinterGraphics ) ) { g.setColor( getBackground() ); g.fillRect( 0, 0, getWidth(), getHeight() ); ...
44,475
protected void doRender( Context c ) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if ( !( g instanceof PrinterGraphics ) ) { g.setColor( getBackground() ); g.fillRect( 0, 0, getWidth(), getHeight() ); ...
protected void doRender( Context c ) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if ( !( g instanceof PrinterGraphics ) ) { g.setColor( getBackground() ); g.fillRect( 0, 0, getWidth(), getHeight() ); ...
44,476
public Box findBox( int x, int y ) { return findBox( this.body_box, x, y ); }
public Box findBox( int x, int y ) { return findBox( this.body_box, x, y ); }
44,477
public int findBoxX( int x, int y ) { return findBoxX( this.body_box, x, y ); }
public int findBoxX( int x, int y ) { return findBoxX( this.body_box, x, y ); }
44,478
public Box findElementBox( int x, int y ) { return findElementBox( this.body_box, x, y ); }
public Box findElementBox( int x, int y ) { return findElementBox( this.body_box, x, y ); }
44,479
protected void fireDocumentLoaded() { Iterator it = this.documentListeners.keySet().iterator(); while ( it.hasNext() ) { DocumentListener list = (DocumentListener)it.next(); list.documentLoaded(); } }
protected void fireDocumentLoaded() { Iterator it = this.documentListeners.keySet().iterator(); while ( it.hasNext() ) { DocumentListener list = (DocumentListener)it.next(); list.documentLoaded(); } }
44,480
public String getDocumentTitle() { return getContext().getNamespaceHandler().getDocumentTitle( doc ); }
public String getDocumentTitle() { return getContext().getNamespaceHandler().getDocumentTitle(doc); }
44,481
public Rectangle getFixedRectangle() { if ( enclosingScrollPane != null ) { return enclosingScrollPane.getViewportBorderBounds(); } else { Dimension dim = getSize(); return new Rectangle( 0, 0, dim.width, dim.height ); } }
public Rectangle getFixedRectangle() { if (enclosingScrollPane != null) { return enclosingScrollPane.getViewportBorderBounds(); } else { Dimension dim = getSize(); return new Rectangle( 0, 0, dim.width, dim.height ); } }
44,482
public Rectangle getFixedRectangle() { if ( enclosingScrollPane != null ) { return enclosingScrollPane.getViewportBorderBounds(); } else { Dimension dim = getSize(); return new Rectangle( 0, 0, dim.width, dim.height ); } }
public Rectangle getFixedRectangle() { if ( enclosingScrollPane != null ) { return enclosingScrollPane.getViewportBorderBounds(); } else { Dimension dim = getSize(); return new Rectangle(0, 0, dim.width, dim.height); } }
44,483