Questions tagged [components]

A component in the Unified Modeling Language "represents a modular part of a system, that encapsulates its content and whose manifestation is replaceable within its environment. A component defines its behavior in terms of provided and required interfaces". The best example of component can be found in ActionScript- Flash,Flex sdks. There you have UI components like buttons, labels, DataGrids, charts those are reusable, distributable etc.

11658 questions
3
votes
2 answers

Custom Swing component: questions on approach

I'm trying to build a new java swing component, I realise that I might be able to find one that does what I need on the web, but this is partly an exercise for me to learn ow to do this. I want to build a swing component that represents a Gantt…
phatmanace
  • 4,671
  • 3
  • 24
  • 29
3
votes
1 answer

Delphi get actual full height/Width off a component that has scrollbar

This Question is similar to how-to-find-the-actual-width-of-grid-component-with-scrollbar-in-delphi but i couldn't get the CalcDrawInfo(DrawInfo); to work with a StringGrid For example if you add a StringGrid and randomly set the RowCount and…
Dangas56
  • 849
  • 1
  • 8
  • 32
3
votes
1 answer

Delphi, How to install a component with the same name in two different package

I need to install two different component packages, the first one uses BDE connection and the second one uses FireDAC connection, both of them contain a component called "TKsAnalExpr", which is contained in a unit named "UAnalExpr". I installed one…
3
votes
2 answers

Painting component inside another component

I've got a task to display painted 'eyes' with menu buttons to change their colors, and background color. Next animate them. But currently I'm stuck at painting, sinc in my JFrame I've Created JPanel containing panels with drawn eyes and buttons.…
mike_hornbeck
  • 1,612
  • 3
  • 30
  • 51
3
votes
2 answers

How to display panels with component in frame

Why my JFrame 'frame' is diplaying empty window, when it should give me 3 menu buttons and my own painted JComponent below ? What am I missing here ? import java.awt.*; import javax.swing.*; public class Eyes extends JFrame { public static…
terence6
  • 31
  • 1
3
votes
1 answer

Has anyone started creating React Native API/plugins/modules?

I would like to port any of my apps over to react native from cordova/phonegap but being so new, react native is a bit limited and doesn't have all the functionality I would need. Anyone know of a camera plugin for react native? UPDATE: Not sure…
Dev01
  • 13,292
  • 19
  • 70
  • 124
3
votes
1 answer

How to override virtuemart user controller?

I have one component named com_vip(which was developed by me) and am using virtuemart too. Problem is that i have to modify site/components/com_virtuemart/controller/user.php file just because of my newly created component(com_vip). But i think it…
Umesh
  • 193
  • 1
  • 10
3
votes
1 answer

What is the recommended way of adding components downloaded from nuget to toolbox?

I have a C# Windows Forms project in which I use a component that I obtained through nuget. Now I was wondering what is the correct way of adding this component to the toolbox in the designer. Should I make a separate copy of the component on my hdd…
jahu
  • 5,427
  • 3
  • 37
  • 64
3
votes
1 answer

How to get a list of all components on the Form at Design-Time?

I need to get a list of all components on the Form at Design-Time (not controls, just components). The components must also be visible on the Form as a 24x24 image at Design-Time. I could use code like this procedure TForm2.GetComponentList(Memo1:…
DmitryB
  • 455
  • 1
  • 5
  • 18
3
votes
0 answers

InputType data type in xml layout

How the string representation of InputType in xml layout is converted to integer values in code? For example in xml layout this assignment android:inputType="number" will be converted to InputType.TYPE_CLASS_NUMBER I cannot find the conversion…
mehrdad seyrafi
  • 3,084
  • 2
  • 19
  • 16
3
votes
2 answers

Deriving from a component and implementing IDisposable properly

I have a Visual Studio 2008 C# .NET 2.0 CF project with an abstract class derived from Component. From that class, I derive several concrete classes (as in my example below). But, when I go to exit my Form, though the Form's Dispose() member is…
PaulH
  • 7,759
  • 8
  • 66
  • 143
3
votes
3 answers

Components in Django

I have a latest news block on a page. It's a piece of markup in a template and some logic fetching the last n news in a view. How can I make a reusable component of it (like some CMS have) which I can include in a template like this: {% component…
Vasily
  • 1,858
  • 1
  • 21
  • 34
3
votes
2 answers

Delphi Rad Studio - Can I stop components being recompiled each time I compile/build

It might have something to do with library and other paths, but every time I build/compile software in DRS which uses a bought component like TMS controls the TMS controls keep getting recompiled, too. How do I stop that?
3
votes
2 answers

Wicket and SVG - any components exist?

SVG DOM can be controlled with JavaScript, so it can be AJAX-enabled... I wonder if there are some SVG components for Wicket yet. And if Wicket can have pure xml/svg as the output format. Quick googling shows only a question at Code Ranch.
Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
3
votes
1 answer

Top level using port maps with records in VHDL

To be able to support scalability in my VHDL design I started using records as in- and outputs for my components. Currently I am at the point where I want to link my component to the outside using port maps in a top level architecture. The problem…
Robin Hermans
  • 1,579
  • 1
  • 24
  • 52